Repository: cxf
Updated Branches:
  refs/heads/master 183a2a402 -> 9c5d9f77a


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/9c5d9f77
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9c5d9f77
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9c5d9f77

Branch: refs/heads/master
Commit: 9c5d9f77aac1de3789d3b7f08ca528174429dbba
Parents: 183a2a4
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:09:39 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/9c5d9f77/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;
     }

Reply via email to