You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Nicolas Poirot (JIRA)" <ji...@apache.org> on 2011/05/03 11:57:03 UTC
[jira] [Commented] (CXF-3484) Password set to null in
UsernameTokenValidator
[ https://issues.apache.org/jira/browse/CXF-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028131#comment-13028131 ]
Nicolas Poirot commented on CXF-3484:
-------------------------------------
My mistake, it is a problem into wss4j-src-1.6.0
> Password set to null in UsernameTokenValidator
> ----------------------------------------------
>
> Key: CXF-3484
> URL: https://issues.apache.org/jira/browse/CXF-3484
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 2.4
> Environment: Linux, jetty 6.10
> Reporter: Nicolas Poirot
> Priority: Minor
> Labels: UserNameToken, security
>
> When trying to do basic authentication in Soap header with UserNameToken, token is well read from XML, but badly passed to password callback.
> Line 165 of org.apache.ws.security.validate.UsernameTokenValidator :
> WSPasswordCallback pwCb =
> new WSPasswordCallback(user, null, pwType, WSPasswordCallback.USERNAME_TOKEN, data);
> The password is set to null, while it has been correcty read just before.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira