Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-398

Can't create a UsernameToken without a password

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.6
    • 1.6.7
    • WSS4J Handlers
    • None

    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.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            g051051 Dan Price
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: