cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1151133 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
Date Tue, 26 Jul 2011 15:20:01 GMT
Author: coheigea
Date: Tue Jul 26 15:20:00 2011
New Revision: 1151133

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

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java?rev=1151133&r1=1151132&r2=1151133&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
Tue Jul 26 15:20:00 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