Add KeyName as KeyIdentifier. This closes #175
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/99412463 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/99412463 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/99412463 Branch: refs/heads/3.0.x-fixes Commit: 99412463dcd661eaba9bd84f4bb28865855e67aa Parents: 1628431 Author: Hugo Trippaers <[email protected]> Authored: Sat Oct 8 23:28:16 2016 +0200 Committer: Colm O hEigeartaigh <[email protected]> Committed: Mon Oct 10 17:14:37 2016 +0100 ---------------------------------------------------------------------- .../java/org/apache/cxf/rs/security/xml/XmlSecOutInterceptor.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/99412463/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/XmlSecOutInterceptor.java ---------------------------------------------------------------------- diff --git a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/XmlSecOutInterceptor.java b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/XmlSecOutInterceptor.java index 16ac06f..1df8591 100644 --- a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/XmlSecOutInterceptor.java +++ b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/XmlSecOutInterceptor.java @@ -457,6 +457,8 @@ public class XmlSecOutInterceptor extends AbstractPhaseInterceptor<Message> { return SecurityTokenConstants.KeyIdentifier_SkiKeyIdentifier; } else if ("KeyValue".equals(keyIdentifier)) { return SecurityTokenConstants.KeyIdentifier_KeyValue; + } else if ("KeyName".equals(keyIdentifier)) { + return SecurityTokenConstants.KeyIdentifier_KeyName; } return SecurityTokenConstants.KeyIdentifier_X509KeyIdentifier; }
