cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1072060 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
Date Fri, 18 Feb 2011 16:57:05 GMT
Author: coheigea
Date: Fri Feb 18 16:57:04 2011
New Revision: 1072060

URL: http://svn.apache.org/viewvc?rev=1072060&view=rev
Log:
Minor change...

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=1072060&r1=1072059&r2=1072060&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
Fri Feb 18 16:57:04 2011
@@ -1019,26 +1019,13 @@ public abstract class AbstractBindingBui
                     Element el = (Element)list.item(x);
                     
                     if (!found.contains(el)) {
-                        // Generate an ID for the element and use this ID or else
-                        // WSS4J will only ever sign/encrypt the first matching
-                        // element with the same name and namespace as that in the
-                        // WSEncryptionPart
                         final String id = this.addWsuIdToElement(el);
                         
-                        WSEncryptionPart part = new WSEncryptionPart(
-                                id, 
-                                encryptionModifier);
+                        WSEncryptionPart part = 
+                            new WSEncryptionPart(id, encryptionModifier);
                         part.setElement(el);
                         part.setXpath(expression);
                         
-                        /**
-                        String wsuId = el.getAttributeNS(WSConstants.WSU_NS, "Id");
-                        
-                        if (!StringUtils.isEmpty(wsuId)) {
-                            encryptedElem.setEncId(wsuId);
-                        }
-                        **/
-                        
                         result.add(part);
                     }
                 }



Mime
View raw message