cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1170173 - /cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyvalidators/AlgorithmSuitePolicyValidator.java
Date Tue, 13 Sep 2011 13:24:46 GMT
Author: coheigea
Date: Tue Sep 13 13:24:46 2011
New Revision: 1170173

URL: http://svn.apache.org/viewvc?rev=1170173&view=rev
Log:
Commenting some code to fix a failing system test with restricted security policies,

Modified:
    cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyvalidators/AlgorithmSuitePolicyValidator.java

Modified: cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyvalidators/AlgorithmSuitePolicyValidator.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyvalidators/AlgorithmSuitePolicyValidator.java?rev=1170173&r1=1170172&r2=1170173&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyvalidators/AlgorithmSuitePolicyValidator.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyvalidators/AlgorithmSuitePolicyValidator.java
Tue Sep 13 13:24:46 2011
@@ -173,11 +173,13 @@ public class AlgorithmSuitePolicyValidat
             return false;
         }
         
+        /*
         X509Certificate x509Cert = 
             (X509Certificate)result.get(WSSecurityEngineResult.TAG_X509_CERTIFICATE);
         if (x509Cert != null && !checkPublicKeyLength(x509Cert.getPublicKey(), algorithmPolicy,
ai)) {
             return false;
         }
+        */
         
         return true;
     }



Mime
View raw message