Package org.wildfly.security.ssl
Class ConfiguredSSLServerSocketFactory
- java.lang.Object
-
- javax.net.ServerSocketFactory
-
- javax.net.ssl.SSLServerSocketFactory
-
- org.wildfly.security.ssl.AbstractDelegatingSSLServerSocketFactory
-
- org.wildfly.security.ssl.ConfiguredSSLServerSocketFactory
-
final class ConfiguredSSLServerSocketFactory extends AbstractDelegatingSSLServerSocketFactory
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private SSLConfigurator
sslConfigurator
private SSLContext
sslContext
private boolean
wrap
-
Constructor Summary
Constructors Constructor Description ConfiguredSSLServerSocketFactory(SSLServerSocketFactory delegate, SSLContext sslContext, SSLConfigurator sslConfigurator, boolean wrap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerSocket
createServerSocket()
ServerSocket
createServerSocket(int port)
ServerSocket
createServerSocket(int port, int backlog)
ServerSocket
createServerSocket(int port, int backlog, InetAddress ifAddress)
String[]
getDefaultCipherSuites()
String[]
getSupportedCipherSuites()
private ServerSocket
wrap(ServerSocket original)
-
Methods inherited from class javax.net.ssl.SSLServerSocketFactory
getDefault
-
-
-
-
Field Detail
-
sslContext
private final SSLContext sslContext
-
sslConfigurator
private final SSLConfigurator sslConfigurator
-
wrap
private final boolean wrap
-
-
Constructor Detail
-
ConfiguredSSLServerSocketFactory
ConfiguredSSLServerSocketFactory(SSLServerSocketFactory delegate, SSLContext sslContext, SSLConfigurator sslConfigurator, boolean wrap)
-
-
Method Detail
-
createServerSocket
public ServerSocket createServerSocket() throws IOException
- Overrides:
createServerSocket
in classAbstractDelegatingSSLServerSocketFactory
- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port) throws IOException
- Overrides:
createServerSocket
in classAbstractDelegatingSSLServerSocketFactory
- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog) throws IOException
- Overrides:
createServerSocket
in classAbstractDelegatingSSLServerSocketFactory
- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
- Overrides:
createServerSocket
in classAbstractDelegatingSSLServerSocketFactory
- Throws:
IOException
-
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
- Overrides:
getDefaultCipherSuites
in classAbstractDelegatingSSLServerSocketFactory
-
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Overrides:
getSupportedCipherSuites
in classAbstractDelegatingSSLServerSocketFactory
-
wrap
private ServerSocket wrap(ServerSocket original) throws IOException
- Throws:
IOException
-
-