Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CXF-8997] AbstractSTSToken and TransportBinding Tests use TLSv1 on IBM #1785

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down
Loading