Package ch.qos.logback.core.net.ssl
Class SSLConfigurableSocket
- java.lang.Object
-
- ch.qos.logback.core.net.ssl.SSLConfigurableSocket
-
- All Implemented Interfaces:
SSLConfigurable
@Deprecated(since="2022-01-27") public class SSLConfigurableSocket extends java.lang.Object implements SSLConfigurable
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.AnSSLConfigurable
wrapper for anSSLSocket
.
-
-
Constructor Summary
Constructors Constructor Description SSLConfigurableSocket(javax.net.ssl.SSLSocket delegate)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String[]
getDefaultCipherSuites()
Deprecated.Gets the set of cipher suites that the SSL component enables by default.java.lang.String[]
getDefaultProtocols()
Deprecated.Gets the set of protocols that the SSL component enables by default.java.lang.String[]
getSupportedCipherSuites()
Deprecated.Gets the set of cipher suites that the SSL component supports.java.lang.String[]
getSupportedProtocols()
Deprecated.Gets the set of protocols that the SSL component supports.void
setEnabledCipherSuites(java.lang.String[] suites)
Deprecated.Sets the enabled cipher suites on the SSL component.void
setEnabledProtocols(java.lang.String[] protocols)
Deprecated.Sets the enabled protocols on the SSL component.void
setHostnameVerification(boolean hostnameVerification)
Deprecated.void
setNeedClientAuth(boolean state)
Deprecated.Sets a flag indicating whether the SSL component should require client authentication.void
setWantClientAuth(boolean state)
Deprecated.Sets a flag indicating whether the SSL component should request client authentication.
-
-
-
Method Detail
-
getDefaultProtocols
public java.lang.String[] getDefaultProtocols()
Deprecated.Description copied from interface:SSLConfigurable
Gets the set of protocols that the SSL component enables by default.- Specified by:
getDefaultProtocols
in 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
public java.lang.String[] getSupportedProtocols()
Deprecated.Description copied from interface:SSLConfigurable
Gets the set of protocols that the SSL component supports.- Specified by:
getSupportedProtocols
in interfaceSSLConfigurable
- Returns:
- protocols supported protocols; the return value may be
an empty array but must never be
null
.
-
setEnabledProtocols
public void setEnabledProtocols(java.lang.String[] protocols)
Deprecated.Description copied from interface:SSLConfigurable
Sets the enabled protocols on the SSL component.- Specified by:
setEnabledProtocols
in interfaceSSLConfigurable
-
getDefaultCipherSuites
public java.lang.String[] getDefaultCipherSuites()
Deprecated.Description copied from interface:SSLConfigurable
Gets the set of cipher suites that the SSL component enables by default.- Specified by:
getDefaultCipherSuites
in 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
public java.lang.String[] getSupportedCipherSuites()
Deprecated.Description copied from interface:SSLConfigurable
Gets the set of cipher suites that the SSL component supports.- Specified by:
getSupportedCipherSuites
in interfaceSSLConfigurable
- Returns:
- supported cipher suites; the return value may be
an empty array but must never be
null
-
setEnabledCipherSuites
public void setEnabledCipherSuites(java.lang.String[] suites)
Deprecated.Description copied from interface:SSLConfigurable
Sets the enabled cipher suites on the SSL component.- Specified by:
setEnabledCipherSuites
in interfaceSSLConfigurable
- Parameters:
suites
- the cipher suites to enable
-
setNeedClientAuth
public void setNeedClientAuth(boolean state)
Deprecated.Description copied from interface:SSLConfigurable
Sets a flag indicating whether the SSL component should require client authentication.- Specified by:
setNeedClientAuth
in interfaceSSLConfigurable
- Parameters:
state
- the flag state to set
-
setWantClientAuth
public void setWantClientAuth(boolean state)
Deprecated.Description copied from interface:SSLConfigurable
Sets a flag indicating whether the SSL component should request client authentication.- Specified by:
setWantClientAuth
in interfaceSSLConfigurable
- Parameters:
state
- the flag state to set
-
setHostnameVerification
public void setHostnameVerification(boolean hostnameVerification)
Deprecated.- Specified by:
setHostnameVerification
in interfaceSSLConfigurable
-
-