mirror of
https://github.com/apache/activemq.git
synced 2025-02-18 16:10:45 +00:00
https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl change enabledCipherSuites only if they're set
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1146657 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a26f03fea2
commit
48fa20a7bd
@ -74,7 +74,9 @@ public class NIOSSLTransport extends NIOTransport {
|
||||
// initialize engine
|
||||
sslEngine = sslContext.createSSLEngine();
|
||||
sslEngine.setUseClientMode(false);
|
||||
if (enabledCipherSuites != null) {
|
||||
sslEngine.setEnabledCipherSuites(enabledCipherSuites);
|
||||
}
|
||||
sslEngine.setNeedClientAuth(needClientAuth);
|
||||
sslEngine.setWantClientAuth(wantClientAuth);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user