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

Incorrect cast in WSHandler getString

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 2.1.4
    • Component/s: WSS4J Core
    • Labels:
      None

      Description

      When using SIG_PROP_REF_ID you get a ClassCastException because it will try to cast the Crypto instance to a String.
      This happens in line 1382 og WSHandler.

      For me this means that WSSecSignatureSAML will also fail because it fails when the variable userCrypto is null.

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              bjorn.hilstad Bjørn Hilstad
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: