opensubscriber
   Find in this group all groups
 
Unknown more information…

w : wss4j-dev@ws.apache.org 10 August 2009 • 6:13PM -0400

svn commit: r802717 - /webservices/wss4j/trunk/src/org/apache/ws/security/handler/WSS4JHandler.java
by coheigea

REPLY TO AUTHOR
 
REPLY TO GROUP




Author: coheigea
Date: Mon Aug 10 10:13:07 2009
New Revision: 802717

URL: http://svn.apache.org/viewvc?rev=802717&view=rev
Log:
[WSS-205] - Changed all calls in WSS4JHandler from setProperty(..., null) to removeProperty

Modified:
    webservices/wss4j/trunk/src/org/apache/ws/security/handler/WSS4JHandler.java

Modified: webservices/wss4j/trunk/src/org/apache/ws/security/handler/WSS4JHandler.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/handler/WSS4JHandler.java?rev=802717&r1=802716&r2=802717&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/handler/WSS4JHandler.java (original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/handler/WSS4JHandler.java Mon Aug 10 10:13:07 2009
@@ -211,7 +211,7 @@
         reqData.setUsername((String) getOption(WSHandlerConstants.USER));
         if (reqData.getUsername() == null || reqData.getUsername().equals("")) {
             reqData.setUsername((String) mc.getProperty(WSHandlerConstants.USER));
-            mc.setProperty(WSHandlerConstants.USER, null);
+            mc.removeProperty(WSHandlerConstants.USER);
         }

         /*
@@ -312,7 +312,7 @@
                 }
                 throw new JAXRPCException("Couldn't set content on SOAPPart" + se.getMessage(), se);
             }
-            mc.setProperty(WSHandlerConstants.SND_SECURITY, null);
+            mc.removeProperty(WSHandlerConstants.SND_SECURITY);
         }
         if (doDebug) {
             log.debug("WSS4JHandler: exit invoke()");



---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.a...
For additional commands, e-mail: wss4j-dev-help@ws.a...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.