diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/AbstractSTSTokenTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/AbstractSTSTokenTest.java index 74666f23d77..fe7be5863cd 100644 --- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/AbstractSTSTokenTest.java +++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/AbstractSTSTokenTest.java @@ -161,11 +161,6 @@ public boolean verify(String hostname, javax.net.ssl.SSLSession sslSession) { SSLContext sc = SSLUtils.getSSLContext(TLSClientParametersUtils.getTLSClientParameters()); HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory()); - - // Needed to prevent test failure using IBM JDK - if ("IBM Corporation".equals(System.getProperty("java.vendor"))) { - System.setProperty("https.protocols", "TLSv1"); - } } static void validateSecurityToken(SecurityToken token) { diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java index d6c29e1e54f..26c89f20489 100644 --- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java +++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java @@ -302,11 +302,6 @@ public void testUnknownAddress() throws Exception { @org.junit.Test public void testSAML2Dispatch() throws Exception { - // Needed to prevent test failure using IBM JDK - if ("IBM Corporation".equals(System.getProperty("java.vendor"))) { - System.setProperty("https.protocols", "TLSv1"); - } - createBus(getClass().getResource("cxf-client.xml").toString()); URL wsdl = TransportBindingTest.class.getResource("DoubleIt.wsdl"); @@ -342,11 +337,6 @@ public void testSAML2Dispatch() throws Exception { @org.junit.Test public void testSAML2DispatchLocation() throws Exception { - // Needed to prevent test failure using IBM JDK - if ("IBM Corporation".equals(System.getProperty("java.vendor"))) { - System.setProperty("https.protocols", "TLSv1"); - } - createBus(getClass().getResource("cxf-client.xml").toString()); URL wsdl = TransportBindingTest.class.getResource("DoubleIt.wsdl");