cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1341507 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
Date Tue, 22 May 2012 14:59:26 GMT
Author: coheigea
Date: Tue May 22 14:59:25 2012
New Revision: 1341507

URL: http://svn.apache.org/viewvc?rev=1341507&view=rev
Log:
Also store the IssuerName in the IssuedToken policy

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java?rev=1341507&r1=1341506&r2=1341507&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
Tue May 22 14:59:25 2012
@@ -91,6 +91,9 @@ public class IssuedTokenBuilder implemen
                     processAlternative(iterator.next(), issuedToken);
                     break; // since there should be only one alternative ..
                 }                
+            } else if (SPConstants.ISSUER_NAME.equals(ln)) {
+                String issuerName = child.getNodeValue();
+                issuedToken.setIssuerName(issuerName);
             }
             
             child = DOMUtils.getNextElement(child);



Mime
View raw message