This is an automated email from the ASF dual-hosted git repository.
orudyy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/master by this push:
new 1cc83b3 QPID-8259: [Broker-J] Fix tests failing on IBM JDK due to
jetty default cipher suites excludes excluding valid IBM JDK cipher suites
1cc83b3 is described below
commit 1cc83b38dc2bdb295ffbf7eb4d832cfae68dfdb2
Author: Alex Rudyy <[email protected]>
AuthorDate: Wed Dec 19 15:01:33 2018 +0000
QPID-8259: [Broker-J] Fix tests failing on IBM JDK due to jetty default
cipher suites excludes excluding valid IBM JDK cipher suites
---
.../security/auth/manager/oauth2/OAuth2MockEndpointHolder.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git
a/broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/oauth2/OAuth2MockEndpointHolder.java
b/broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/oauth2/OAuth2MockEndpointHolder.java
index 2706fe9..4c4aa0a 100644
---
a/broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/oauth2/OAuth2MockEndpointHolder.java
+++
b/broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/oauth2/OAuth2MockEndpointHolder.java
@@ -84,6 +84,15 @@ class OAuth2MockEndpointHolder
};
sslContextFactory.setKeyStorePassword(KEYSTORE_PASSWORD);
sslContextFactory.setKeyStoreResource(Resource.newClassPathResource(KEYSTORE_RESOURCE));
+
+ // override default jetty excludes as valid IBM JDK are excluded
+ // causing SSL handshake failure (due to default exclude '^SSL_.*$')
+ sslContextFactory.setExcludeCipherSuites("^.*_(MD5|SHA|SHA1)$",
+ "^TLS_RSA_.*$",
+ "^SSL_RSA_.*$",
+ "^.*_NULL_.*$",
+ "^.*_anon_.*$");
+
_connector = new ServerConnector(_server, sslContextFactory);
_connector.setPort(0);
_connector.setReuseAddress(true);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]