Colm O hEigeartaigh created CXF-4978:
----------------------------------------
Summary: Only encrypt an issued token if we have a matching key
Key: CXF-4978
URL: https://issues.apache.org/jira/browse/CXF-4978
Project: CXF
Issue Type: Improvement
Components: STS
Affects Versions: 2.7.4
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
Priority: Minor
Fix For: 2.7.5
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira