cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1341518 - /cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
Date Tue, 22 May 2012 15:14:34 GMT
Author: coheigea
Date: Tue May 22 15:14:33 2012
New Revision: 1341518

URL: http://svn.apache.org/viewvc?rev=1341518&view=rev
Log:
Merged revisions 1341507 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1341507 | coheigea | 2012-05-22 15:59:25 +0100 (Tue, 22 May 2012) | 2 lines

  Also store the IssuerName in the IssuedToken policy

........

Modified:
    cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java

Modified: cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java?rev=1341518&r1=1341517&r2=1341518&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
(original)
+++ cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
Tue May 22 15:14:33 2012
@@ -87,6 +87,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