ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1750971 - /webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/WSHandler.java
Date Fri, 01 Jul 2016 15:56:14 GMT
Author: coheigea
Date: Fri Jul  1 15:56:14 2016
New Revision: 1750971

URL: http://svn.apache.org/viewvc?rev=1750971&view=rev
Log:
WSS-582 - Don't cache Crypto key references in WSHandler

Modified:
    webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/WSHandler.java

Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/WSHandler.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/WSHandler.java?rev=1750971&r1=1750970&r2=1750971&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/WSHandler.java
(original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/WSHandler.java
Fri Jul  1 15:56:14 2016
@@ -943,8 +943,8 @@ public abstract class WSHandler {
                                                        getPasswordEncryptor(requestData));
                     cryptos.put(refId, crypto);
                 } else if (obj instanceof Crypto) {
+                    // No need to cache this as it's already loaded
                     crypto = (Crypto)obj;
-                    cryptos.put(refId, crypto);
                 }
             }
             if (crypto == null) {



Mime
View raw message