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

Only encrypt an issued token if we have a matching key

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.4
    • 2.7.5
    • STS
    • None
    • Unknown

    Description

      When the "encryptIssuedToken" boolean is set on the TokenIssueOperation in the STS, an exception is thrown if a public key is not found to encrypt the token. It first checks for a token per service (via the AppliesTo address), and then falls back to the generic setting on the STS.

      This improvement only encrypts the token if a matching key can be found. In other words, so long as the STS is not configured with a generic encryption name.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: