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 SSLConfiguratorsslConfiguratorprivate SSLContextsslContextprivate booleanwrap
-
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 ServerSocketcreateServerSocket()ServerSocketcreateServerSocket(int port)ServerSocketcreateServerSocket(int port, int backlog)ServerSocketcreateServerSocket(int port, int backlog, InetAddress ifAddress)String[]getDefaultCipherSuites()String[]getSupportedCipherSuites()private ServerSocketwrap(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:
createServerSocketin classAbstractDelegatingSSLServerSocketFactory- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port) throws IOException
- Overrides:
createServerSocketin classAbstractDelegatingSSLServerSocketFactory- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog) throws IOException
- Overrides:
createServerSocketin classAbstractDelegatingSSLServerSocketFactory- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
- Overrides:
createServerSocketin classAbstractDelegatingSSLServerSocketFactory- Throws:
IOException
-
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
- Overrides:
getDefaultCipherSuitesin classAbstractDelegatingSSLServerSocketFactory
-
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Overrides:
getSupportedCipherSuitesin classAbstractDelegatingSSLServerSocketFactory
-
wrap
private ServerSocket wrap(ServerSocket original) throws IOException
- Throws:
IOException
-
-