ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (WSS-113) Bug in WSHandler#getPassword
Date Mon, 03 Oct 2011 09:04:42 GMT

     [ https://issues.apache.org/jira/browse/WSS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Colm O hEigeartaigh closed WSS-113.
-----------------------------------

    
> Bug in WSHandler#getPassword
> ----------------------------
>
>                 Key: WSS-113
>                 URL: https://issues.apache.org/jira/browse/WSS-113
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Colm O hEigeartaigh
>            Assignee: Fred Dushin
>            Priority: Minor
>             Fix For: 1.5.4
>
>         Attachments: wss4j_get_password.patch
>
>
> WSHandler#getPassword tries to get a password by:
> a) Trying to construct a password callback
> b) Trying to get a password callback object from the Message Context
> c) Trying to get the password directly from the Message Context, i.e. delegating this
to a subclass of WSHandler
> There are some problems with how the current code handles option (c). In particular,
the action to be performed, as well as the username, are not preserved in the WSPasswordCallback
object that gets returned. This in turn leads to problems with the UsernameTokenAction, which
obtains the username from the WSPasswordCallback.
> See attached for a patch for this problem. In addition, I added some fairly extensive
unit testing of the getPassword method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message