cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1151129 - /cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
Date Tue, 26 Jul 2011 15:13:24 GMT
Author: coheigea
Date: Tue Jul 26 15:13:21 2011
New Revision: 1151129

URL: http://svn.apache.org/viewvc?rev=1151129&view=rev
Log:
Import the BinarySecurity element to prevent signature validation failure.

Modified:
    cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java

Modified: cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java?rev=1151129&r1=1151128&r2=1151129&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
Tue Jul 26 15:13:21 2011
@@ -571,8 +571,9 @@ public abstract class AbstractBindingBui
                 }
             } else if (token instanceof KerberosToken) {
                 BinarySecurity binarySecurity = addKerberosToken((KerberosToken)token);
-                addSupportingElement(cloneElement(binarySecurity.getElement()));
-                ret.put(token, binarySecurity);
+                Element clone = cloneElement(binarySecurity.getElement());
+                addSupportingElement(clone);
+                ret.put(token, new BinarySecurity(clone));
             }
         }
         return ret;



Mime
View raw message