cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ulhasbh...@apache.org
Subject svn commit: r568725 - /incubator/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
Date Wed, 22 Aug 2007 18:41:23 GMT
Author: ulhasbhole
Date: Wed Aug 22 11:41:22 2007
New Revision: 568725

URL: http://svn.apache.org/viewvc?rev=568725&view=rev
Log:
* Applying patch on behalf of colm for JIRA issue https://issues.apache.org/jira/browse/CXF-825
related to WSS4J out interceptor.


Modified:
    incubator/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java

Modified: incubator/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java?rev=568725&r1=568724&r2=568725&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
(original)
+++ incubator/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
Wed Aug 22 11:41:22 2007
@@ -117,8 +117,8 @@
              * username is available and then get a passowrd.
              */
             if ((doAction & (WSConstants.SIGN | WSConstants.UT | WSConstants.UT_SIGN))
!= 0
-                    && reqData.getUsername() == null
-                    || reqData.getUsername().equals("")) {
+                    && (reqData.getUsername() == null
+                    || reqData.getUsername().equals(""))) {
                 /*
                  * We need a username - if none throw an SoapFault. For
                  * encryption there is a specific parameter to get a username.



Mime
View raw message