You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by co...@apache.org on 2009/08/10 12:22:17 UTC
svn commit: r802721 -
/webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/handler/WSS4JHandler.java
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: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org