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

Only encrypt an issued token if we have a matching key

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.4
    • Fix Version/s: 2.7.5
    • Component/s: STS
    • Labels:
      None
    • Estimated Complexity:
      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development