Package ch.qos.logback.core.net.ssl
Class SSLConfigurableServerSocket
java.lang.Object
ch.qos.logback.core.net.ssl.SSLConfigurableServerSocket
- All Implemented Interfaces:
SSLConfigurable
An
SSLConfigurable wrapper for an SSLServerSocket.- Author:
- Carl Harris, Bruno Harbulot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Gets the set of cipher suites that the SSL component enables by default.String[]Gets the set of protocols that the SSL component enables by default.String[]Gets the set of cipher suites that the SSL component supports.String[]Gets the set of protocols that the SSL component supports.voidsetEnabledCipherSuites(String[] suites) Sets the enabled cipher suites on the SSL component.voidsetEnabledProtocols(String[] protocols) Sets the enabled protocols on the SSL component.voidsetHostnameVerification(boolean verifyHostname) voidsetNeedClientAuth(boolean state) Sets a flag indicating whether the SSL component should require client authentication.voidsetWantClientAuth(boolean state) Sets a flag indicating whether the SSL component should request client authentication.
-
Constructor Details
-
SSLConfigurableServerSocket
-
-
Method Details
-
getDefaultProtocols
Description copied from interface:SSLConfigurableGets the set of protocols that the SSL component enables by default.- Specified by:
getDefaultProtocolsin interfaceSSLConfigurable- Returns:
- protocols (generally a subset of the set returned by
SSLConfigurable.getSupportedProtocols()); the return value may be an empty array but must never benull.
-
getSupportedProtocols
Description copied from interface:SSLConfigurableGets the set of protocols that the SSL component supports.- Specified by:
getSupportedProtocolsin interfaceSSLConfigurable- Returns:
- protocols supported protocols; the return value may be an empty array
but must never be
null.
-
setEnabledProtocols
Description copied from interface:SSLConfigurableSets the enabled protocols on the SSL component.- Specified by:
setEnabledProtocolsin interfaceSSLConfigurable- Parameters:
protocols- the protocols to enable
-
getDefaultCipherSuites
Description copied from interface:SSLConfigurableGets the set of cipher suites that the SSL component enables by default.- Specified by:
getDefaultCipherSuitesin interfaceSSLConfigurable- Returns:
- cipher suites (generally a subset of the set returned by
SSLConfigurable.getSupportedCipherSuites()); the return value may be an empty array but must never benull
-
getSupportedCipherSuites
Description copied from interface:SSLConfigurableGets the set of cipher suites that the SSL component supports.- Specified by:
getSupportedCipherSuitesin interfaceSSLConfigurable- Returns:
- supported cipher suites; the return value may be an empty array but
must never be
null
-
setEnabledCipherSuites
Description copied from interface:SSLConfigurableSets the enabled cipher suites on the SSL component.- Specified by:
setEnabledCipherSuitesin interfaceSSLConfigurable- Parameters:
suites- the cipher suites to enable
-
setNeedClientAuth
Description copied from interface:SSLConfigurableSets a flag indicating whether the SSL component should require client authentication.- Specified by:
setNeedClientAuthin interfaceSSLConfigurable- Parameters:
state- the flag state to set
-
setWantClientAuth
Description copied from interface:SSLConfigurableSets a flag indicating whether the SSL component should request client authentication.- Specified by:
setWantClientAuthin interfaceSSLConfigurable- Parameters:
state- the flag state to set
-
setHostnameVerification
- Specified by:
setHostnameVerificationin interfaceSSLConfigurable
-