public class QpidSslRMIServerSocketFactory extends SslRMIServerSocketFactory
Constructor and Description |
---|
QpidSslRMIServerSocketFactory(SSLContext sslContext,
List<String> tlsProtocolWhiteList,
List<String> tlsProtocolBlackList,
List<String> tlsCipherSuiteWhiteList,
List<String> tlsCipherSuiteBlackList,
Action<Integer> action)
SslRMIServerSocketFactory which creates the ServerSocket using the
supplied SSLContext rather than the system default context normally
used by the superclass, allowing us to use a configuration-specified
key store.
|
Modifier and Type | Method and Description |
---|---|
ServerSocket |
createServerSocket(int port) |
boolean |
equals(Object object)
One QpidSslRMIServerSocketFactory is equal to
another if their (non-null) SSLContext are equal.
|
int |
hashCode() |
getEnabledCipherSuites, getEnabledProtocols, getNeedClientAuth
public QpidSslRMIServerSocketFactory(SSLContext sslContext, List<String> tlsProtocolWhiteList, List<String> tlsProtocolBlackList, List<String> tlsCipherSuiteWhiteList, List<String> tlsCipherSuiteBlackList, Action<Integer> action) throws NullPointerException
sslContext
- previously created sslContext using the desired key store.tlsProtocolWhiteList
- if provided only TLS protocols matching the regular expressions in this list will be enabledtlsProtocolBlackList
- if provided none of the TLS protocols matching the regular expressions in this list will be enabledtlsCipherSuiteWhiteList
- if provided only TLS cipher suites matching the regular expressions in this list will be enabledtlsCipherSuiteBlackList
- if provided none of the TLS cipher suites matching the regular expressions in this list will be enabledaction
- NullPointerException
- if the provided SSLContext
is null.public ServerSocket createServerSocket(int port) throws IOException
createServerSocket
in interface RMIServerSocketFactory
createServerSocket
in class SslRMIServerSocketFactory
IOException
public boolean equals(Object object)
equals
in class SslRMIServerSocketFactory
public int hashCode()
hashCode
in class SslRMIServerSocketFactory
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.