You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Dan Price (JIRA)" <ji...@apache.org> on 2012/07/19 14:28:35 UTC

[jira] [Updated] (WSS-398) Can't create a UsernameToken without a password

     [ 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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org