Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.6.0
-
None
-
None
-
VS 2010
Description
Error
Caused by: org.apache.ws.security.WSSecurityException: An invalid security token was provided (Bad UsernameToken Values)
at org.apache.ws.security.message.token.UsernameToken.<init>(UsernameToken.java:182)
at org.apache.ws.security.processor.UsernameTokenProcessor.handleUsernameToken(UsernameTokenProcessor.java:96)
This is generated in WSS4j . "allowNamespaceQualifiedPasswordTypes" property in WSSConfig object that is handover to "UsernameToken" class ; is false. But for the username token that is generated from WCF client, that property must be true. Therefore i hope it must be handle at rampart level