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

Secure Conversation Renew is missing Instance creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.4, 2.1.1
    • 2.0.5, 2.1.2
    • None
    • None

    Description

      Secure Conversation Renew is not working from a .NET client because <ws:Instance> is missing in the SecurityContextToken.

      Reading into the standard here -> http://docs.oasis-open.org/ws-sx/ws-secureconversation/v1.4/os/ws-secureconversation-1.4-spec-os.html
      says the following:
      "The initial issuance need not contain a wsc:Instance element, however, all subsequent issuances with different keys MUST have a wsc:Instance element with a unique value."

      Also a reference seems to be required in the SecurityTokenRefernce according to this:
      "If a specific key instance needs to be referenced, then the global attribute wsc:Instance is included in the <wsse:Reference> sub-element (only when using <wsc:Identifier> references)"

      The attached patch works for us

      Attachments

        1. wss4j-sct-with-instance.patch
          3 kB
          Freddy Exposito

        Activity

          People

            coheigea Colm O hEigeartaigh
            freddy.exposito Freddy Exposito
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: