This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.5.x-fixes by this push:
     new 4662f93128 [CXF-8997] AbstractSTSTokenTest and TransportBindingTests 
no longer need to set https protocol to TLSv1 on IBM Java (#1785)
4662f93128 is described below

commit 4662f93128bdbe89c09346ae55718873036b216a
Author: Jamie Goodyear <[email protected]>
AuthorDate: Wed Apr 3 15:27:51 2024 -0230

    [CXF-8997] AbstractSTSTokenTest and TransportBindingTests no longer need to 
set https protocol to TLSv1 on IBM Java (#1785)
    
    (cherry picked from commit 93a29d70ff1b4803237bdc04cedd41459e4e7b66)
---
 .../apache/cxf/systest/sts/stsclient/AbstractSTSTokenTest.java |  5 -----
 .../apache/cxf/systest/sts/transport/TransportBindingTest.java | 10 ----------
 2 files changed, 15 deletions(-)

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 74666f23d7..fe7be5863c 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 abstract class AbstractSTSTokenTest extends 
AbstractClientServerTestBase
 
         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 ec2acdcf73..19e5392b4b 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 class TransportBindingTest extends 
AbstractBusClientServerTestBase {
     @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 class TransportBindingTest extends 
AbstractBusClientServerTestBase {
     @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");

Reply via email to