cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1244470 - /cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/TransportBindingBuilder.java
Date Wed, 15 Feb 2012 13:03:38 GMT
Author: coheigea
Date: Wed Feb 15 13:03:37 2012
New Revision: 1244470

URL: http://svn.apache.org/viewvc?rev=1244470&view=rev
Log:
Don't insist on an AlgorithmSuite for WS-SP 1.1

Modified:
    cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/TransportBindingBuilder.java

Modified: cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/TransportBindingBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/TransportBindingBuilder.java?rev=1244470&r1=1244469&r2=1244470&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/TransportBindingBuilder.java
(original)
+++ cxf/branches/2.5.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/TransportBindingBuilder.java
Wed Feb 15 13:03:37 2012
@@ -112,7 +112,7 @@ public class TransportBindingBuilder imp
                 "sp:TransportBinding/wsp:Policy/sp:TransportToken must have a value"
             );
         }
-        if (!foundAlgorithmSuite) {
+        if (!foundAlgorithmSuite && consts != SP11Constants.INSTANCE) {
             throw new IllegalArgumentException(
                 "sp:TransportBinding/wsp:Policy/sp:AlgorithmSuite must have a value"
             );



Mime
View raw message