Repository: cxf Updated Branches: refs/heads/3.1.x-fixes f8a384f5a -> 2f530abd7
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/2f530abd Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/2f530abd Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/2f530abd Branch: refs/heads/3.1.x-fixes Commit: 2f530abd78774410b37d2ff07a69358795007f4d Parents: f8a384f Author: Hugo Trippaers <h...@trippaers.nl> Authored: Sat Oct 8 23:28:16 2016 +0200 Committer: Colm O hEigeartaigh <cohei...@apache.org> Committed: Mon Oct 10 17:11:12 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/2f530abd/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 7b7d982..1f5193d 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 @@ -434,6 +434,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; }