axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r449665 - /webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/builder/SymmetricBindingBuilder.java
Date Mon, 25 Sep 2006 12:20:33 GMT
Author: ruchithf
Date: Mon Sep 25 05:20:32 2006
New Revision: 449665

URL: http://svn.apache.org/viewvc?view=rev&rev=449665
Log:
Makesure we don't ecncrypt twice

Modified:
    webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/builder/SymmetricBindingBuilder.java

Modified: webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/builder/SymmetricBindingBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/builder/SymmetricBindingBuilder.java?view=diff&rev=449665&r1=449664&r2=449665
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/builder/SymmetricBindingBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/builder/SymmetricBindingBuilder.java
Mon Sep 25 05:20:32 2006
@@ -404,8 +404,6 @@
                 
                 refList = dkEncr.encryptForExternalRef(null, encrParts);
                 
-                refList = dkEncr.encryptForExternalRef(null, 
-                        encrParts);
                 RampartUtil.insertSiblingAfter(rmd, 
                                                 encrDKTokenElem, 
                                                 refList);
@@ -430,8 +428,6 @@
                 //Encrypt, get hold of the ref list and add it
                 refList = encr.encryptForExternalRef(null, encrParts);
 
-                //Encrypt, get hold of the ref list and add it
-                refList = encr.encryptForExternalRef(null, encrParts);
                 RampartUtil.insertSiblingAfter(rmd,
                                                 encrTokElem,
                                                 refList);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message