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

NullPointerException while validating cert for SAML HOK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.0.2
    • STS
    • None
    • Unknown

    Description

      Hi,

      I'm working with CXF-STS and I just tried to get a SAML HOK. From the client part i've set the key type to public and I've set ws-security.sts.token.usecert property to true.

      From the server side, it occurs a NPE in the WSS4J class : Cryptobase.class@l.323. I've changed the DefaultSubjectProvider call at line 173 in order to give an empty collection instead of null.

      Is it a bug or am I missing something?

      Since I've changed, I'm able to retrieve my SAML Token.

      Best regards,

      Bounkong Khamphousone

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            tiboun bounkong khamphousone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: