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

NullPointerException while validating cert for SAML HOK

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.2
    • Component/s: STS
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: