You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2013/10/17 11:30:44 UTC
svn commit: r1533021 - in /cxf/trunk:
services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/
systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/secconv/
systests/ws-security/src/test/java/org/apac...
Author: coheigea
Date: Thu Oct 17 09:30:43 2013
New Revision: 1533021
URL: http://svn.apache.org/r1533021
Log:
Removed unnecessary configuratioj
Modified:
cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java
cxf/trunk/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/secconv/SecureConversationTest.java
cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssc/WSSCTest.java
Modified: cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java?rev=1533021&r1=1533020&r2=1533021&view=diff
==============================================================================
--- cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java (original)
+++ cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java Thu Oct 17 09:30:43 2013
@@ -30,7 +30,6 @@ import org.apache.cxf.systest.sts.common
import org.apache.cxf.systest.sts.common.TokenTestUtils;
import org.apache.cxf.systest.sts.deployment.STSServer;
import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
-import org.apache.cxf.ws.security.SecurityConstants;
import org.example.contract.doubleit.DoubleItPortType;
import org.junit.BeforeClass;
@@ -219,14 +218,6 @@ public class SymmetricBindingTest extend
}
SecurityTestUtil.enableStreaming(symmetricSaml2Port);
- // and for the Bootstrap request-response...
- ((BindingProvider)symmetricSaml2Port).getRequestContext().put(
- SecurityConstants.ENABLE_STREAMING_SECURITY + ".sct", "true"
- );
- ((BindingProvider)symmetricSaml2Port).getResponseContext().put(
- SecurityConstants.ENABLE_STREAMING_SECURITY + ".sct", "true"
- );
-
doubleIt(symmetricSaml2Port, 25);
((java.io.Closeable)symmetricSaml2Port).close();
Modified: cxf/trunk/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/secconv/SecureConversationTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/secconv/SecureConversationTest.java?rev=1533021&r1=1533020&r2=1533021&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/secconv/SecureConversationTest.java (original)
+++ cxf/trunk/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/secconv/SecureConversationTest.java Thu Oct 17 09:30:43 2013
@@ -22,14 +22,12 @@ package org.apache.cxf.systest.wssec.exa
import java.net.URL;
import javax.xml.namespace.QName;
-import javax.xml.ws.BindingProvider;
import javax.xml.ws.Service;
import org.apache.cxf.Bus;
import org.apache.cxf.bus.spring.SpringBusFactory;
import org.apache.cxf.systest.wssec.examples.common.SecurityTestUtil;
import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
-import org.apache.cxf.ws.security.SecurityConstants;
import org.example.contract.doubleit.DoubleItPortType;
import org.junit.BeforeClass;
@@ -87,15 +85,6 @@ public class SecureConversationTest exte
// Streaming
SecurityTestUtil.enableStreaming(samlPort);
-
- // and for the Bootstrap request-response...
- ((BindingProvider)samlPort).getRequestContext().put(
- SecurityConstants.ENABLE_STREAMING_SECURITY + ".sct", "true"
- );
- ((BindingProvider)samlPort).getResponseContext().put(
- SecurityConstants.ENABLE_STREAMING_SECURITY + ".sct", "true"
- );
-
samlPort.doubleIt(25);
((java.io.Closeable)samlPort).close();
Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssc/WSSCTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssc/WSSCTest.java?rev=1533021&r1=1533020&r2=1533021&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssc/WSSCTest.java (original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssc/WSSCTest.java Thu Oct 17 09:30:43 2013
@@ -249,13 +249,6 @@ public class WSSCTest extends AbstractBu
((BindingProvider)port).getResponseContext().put(
SecurityConstants.ENABLE_STREAMING_SECURITY, "true"
);
- // and for the Bootstrap request-response...
- ((BindingProvider)port).getRequestContext().put(
- SecurityConstants.ENABLE_STREAMING_SECURITY + ".sct", "true"
- );
- ((BindingProvider)port).getResponseContext().put(
- SecurityConstants.ENABLE_STREAMING_SECURITY + ".sct", "true"
- );
}
wssec.wssc.PingRequest params = new wssec.wssc.PingRequest();