Hugo Trippaers created CXF-7080:
-----------------------------------
Summary: XmlSecOutInterceptor doesn't recognise KeyName as a
KeyIdentifier
Key: CXF-7080
URL: https://issues.apache.org/jira/browse/CXF-7080
Project: CXF
Issue Type: Bug
Components: JAX-RS Security
Affects Versions: 3.2.0, 3.1.8
Reporter: Hugo Trippaers
The KeyIdentifier type KeyName is a known element in the KeyInfo structure
(https://www.w3.org/TR/xmldsig-core/#sec-KeyName) however the interceptor
XmlSecOutInterceptor doesn't recognise it.
This causes the interceptor to assume the keyidentifier is X509KeyIdentifier,
which in turn causes the undesired behaviour of the message being signed and
sent with a keyidentifier that is not parsed by the endpoint. (Who expects a
KeyName).
A small fix is to add KeyName as a valid KeyIdentifier allowing lower level
libraries (santuario) to indicate that this KeyIdentifier type is not supported
(yet, working on that as well)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)