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

Dan Price updated WSS-398:
--------------------------

    Description: 
"WSHandler: application provided null or empty password" message when trying to 
send a UsernameToken with passwordType == PasswordNone.

Seems to be happening because WSHandler doesn't rcognize this as possible, even 
though password is optional.

This is a regression of sorts, as this same problem was fixed in previous 
versions.  The UsernameToken.setPassword method has a check to allow this, but 
the getPasswordCB method is checking before this and claiming it's an error.

  was:WSHandler: application provided null or empty password message when 
trying to send a UsernameToken with passwordType == PasswordNone.  Seems to be 
happening because WSHandler doesn't rcognize this as possible, even though 
password is optional.  This is a regression of sorts, as this same problem was 
fixed in previous versions.  The UsernameToken.setPassword method has a check 
to allow this, but the getPasswordCB method is checking before this and 
claiming it's an error.

    
> Can't create a UsernameToken without a password
> -----------------------------------------------
>
>                 Key: WSS-398
>                 URL: https://issues.apache.org/jira/browse/WSS-398
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Handlers
>    Affects Versions: 1.6.6
>            Reporter: Dan Price
>            Assignee: Colm O hEigeartaigh
>
> "WSHandler: application provided null or empty password" message when trying 
> to send a UsernameToken with passwordType == PasswordNone.
> Seems to be happening because WSHandler doesn't rcognize this as possible, 
> even though password is optional.
> This is a regression of sorts, as this same problem was fixed in previous 
> versions.  The UsernameToken.setPassword method has a check to allow this, 
> but the getPasswordCB method is checking before this and claiming it's an 
> error.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to