Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7677

With CXF 3.2.1, using UsernameToken, cannot receive password in callback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 3.2.1
    • None
    • WS-* Components
    • None
    • Java 8.

      CXF 3.2.1

      wss4j-2.1.jar

      xmlsec-2.1.0.jar

    • Unknown

    Description

      I am attaching my SOAP request.

      It has SOAP Header with usernametoken which also has username and password in plain text.

      I wrote a CallbackHandler to receive this username and password on server.

      I used to get the username and password in cxf 2.7.6 in my callbackhandler. Whereas in cxf 3.2.1 I am no longer getting password. Its coming in as null. I did follow the new classes (WSPasswordCallback) and changed the package etc.

      Attachments

        1. soap-request.xml
          6 kB
          Sumeet Mahajan

        Activity

          People

            coheigea Colm O hEigeartaigh
            sumeet80 Sumeet Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: