Author: coheigea
Date: Mon Aug 10 10:22:17 2009
New Revision: 802721

URL: http://svn.apache.org/viewvc?rev=802721&view=rev
Log:
[WSS-205] - Backmerging to 1_5_x-fixes.

Modified:
    
webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/handler/WSS4JHandler.java

Modified: 
webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/handler/WSS4JHandler.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/handler/WSS4JHandler.java?rev=802721&r1=802720&r2=802721&view=diff
==============================================================================
--- 
webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/handler/WSS4JHandler.java
 (original)
+++ 
webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/handler/WSS4JHandler.java
 Mon Aug 10 10:22:17 2009
@@ -210,7 +210,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);
         }
 
         /*
@@ -311,7 +311,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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to