ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gi...@apache.org
Subject svn commit: r1337941 - /webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DerivedKeyTokenInputHandler.java
Date Sun, 13 May 2012 17:18:56 GMT
Author: giger
Date: Sun May 13 17:18:55 2012
New Revision: 1337941

URL: http://svn.apache.org/viewvc?rev=1337941&view=rev
Log:
use required key instead of JCEName for SecretKey

Modified:
    webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DerivedKeyTokenInputHandler.java

Modified: webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DerivedKeyTokenInputHandler.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DerivedKeyTokenInputHandler.java?rev=1337941&r1=1337940&r2=1337941&view=diff
==============================================================================
--- webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DerivedKeyTokenInputHandler.java
(original)
+++ webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DerivedKeyTokenInputHandler.java
Sun May 13 17:18:55 2012
@@ -150,7 +150,7 @@ public class DerivedKeyTokenInputHandler
                         algorithmSuiteSecurityEvent.setKeyLength(keyBytes.length * 8);
                         ((WSSecurityContext) inputProcessorChain.getSecurityContext()).registerSecurityEvent(algorithmSuiteSecurityEvent);
 
-                        String algo = JCEAlgorithmMapper.translateURItoJCEID(algorithmURI);
+                        String algo = JCEAlgorithmMapper.getJCERequiredKeyFromURI(algorithmURI);
                         return new SecretKeySpec(keyBytes, algo);
                     }
 



Mime
View raw message