You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by gi...@apache.org on 2012/09/17 22:34:10 UTC

svn commit: r1386820 - /webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/impl/processor/input/WSSEncryptedKeyInputHandler.java

Author: giger
Date: Mon Sep 17 20:34:10 2012
New Revision: 1386820

URL: http://svn.apache.org/viewvc?rev=1386820&view=rev
Log:
fix for santuarion r1386786.

Modified:
    webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/impl/processor/input/WSSEncryptedKeyInputHandler.java

Modified: webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/impl/processor/input/WSSEncryptedKeyInputHandler.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/impl/processor/input/WSSEncryptedKeyInputHandler.java?rev=1386820&r1=1386819&r2=1386820&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/impl/processor/input/WSSEncryptedKeyInputHandler.java (original)
+++ webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/impl/processor/input/WSSEncryptedKeyInputHandler.java Mon Sep 17 20:34:10 2012
@@ -83,11 +83,10 @@ public class WSSEncryptedKeyInputHandler
         } else {
             String encryptionMethod = encryptionMethodType.getAlgorithm();
             if (!WSSConstants.NS_XENC_RSA15.equals(encryptionMethod)
-                && !WSSConstants.NS_XENC_RSAOAEP.equals(encryptionMethod)) {
+                && !WSSConstants.NS_XENC_RSAOAEPMGF1P.equals(encryptionMethod)) {
                 securityContext.handleBSPRule(BSPRule.R5621);
             }
         }
-        
     }
 
     /*