Top Description Fields Constructors Methods
ch.qos.logback.core.net.ssl

public Class SSLConfigurableServerSocket

extends Object
implements SSLConfigurable
Class Inheritance
All Implemented Interfaces
ch.qos.logback.core.net.ssl.SSLConfigurable
Imports
javax.net.ssl.SSLServerSocket

An SSLConfigurable wrapper for an SSLServerSocket.
Authors
Carl Harris, Bruno Harbulot

Field Summary

Modifier and TypeField and Description
private final SSLServerSocket

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String[]
getDefaultCipherSuites()

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.getDefaultCipherSuites.

Gets the set of cipher suites that the SSL component enables by default.
public String[]
getDefaultProtocols()

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.getDefaultProtocols.

Gets the set of protocols that the SSL component enables by default.
public String[]
getSupportedCipherSuites()

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.getSupportedCipherSuites.

Gets the set of cipher suites that the SSL component supports.
public String[]
getSupportedProtocols()

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.getSupportedProtocols.

Gets the set of protocols that the SSL component supports.
public void
setEnabledCipherSuites(String[]
the cipher suites to enable
suites
)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setEnabledCipherSuites.

Sets the enabled cipher suites on the SSL component.
public void
setEnabledProtocols(String[]
the protocols to enable
protocols
)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setEnabledProtocols.

Sets the enabled protocols on the SSL component.
public void
public void
setNeedClientAuth(boolean
the flag state to set
state
)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setNeedClientAuth.

Sets a flag indicating whether the SSL component should require client authentication.
public void
setWantClientAuth(boolean
the flag state to set
state
)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setWantClientAuth.

Sets a flag indicating whether the SSL component should request client authentication.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

delegateback to summary
private final SSLServerSocket delegate

Constructor Detail

SSLConfigurableServerSocketback to summary
public SSLConfigurableServerSocket(SSLServerSocket delegate)

Method Detail

getDefaultCipherSuitesback to summary
public String[] getDefaultCipherSuites()

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.getDefaultCipherSuites.

Doc from ch.qos.logback.core.net.ssl.SSLConfigurable.getDefaultCipherSuites.

Gets the set of cipher suites that the SSL component enables by default.

Returns:String[]

cipher suites (generally a subset of the set returned by getSupportedCipherSuites()); the return value may be an empty array but must never be null

getDefaultProtocolsback to summary
public String[] getDefaultProtocols()

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.getDefaultProtocols.

Doc from ch.qos.logback.core.net.ssl.SSLConfigurable.getDefaultProtocols.

Gets the set of protocols that the SSL component enables by default.

Returns:String[]

protocols (generally a subset of the set returned by getSupportedProtocols()); the return value may be an empty array but must never be null.

getSupportedCipherSuitesback to summary
public String[] getSupportedCipherSuites()

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.getSupportedCipherSuites.

Doc from ch.qos.logback.core.net.ssl.SSLConfigurable.getSupportedCipherSuites.

Gets the set of cipher suites that the SSL component supports.

Returns:String[]

supported cipher suites; the return value may be an empty array but must never be null

getSupportedProtocolsback to summary
public String[] getSupportedProtocols()

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.getSupportedProtocols.

Doc from ch.qos.logback.core.net.ssl.SSLConfigurable.getSupportedProtocols.

Gets the set of protocols that the SSL component supports.

Returns:String[]

protocols supported protocols; the return value may be an empty array but must never be null.

setEnabledCipherSuitesback to summary
public void setEnabledCipherSuites(String[] suites)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setEnabledCipherSuites.

Doc from ch.qos.logback.core.net.ssl.SSLConfigurable.setEnabledCipherSuites.

Sets the enabled cipher suites on the SSL component.

Parameters
suites:String[]

the cipher suites to enable

setEnabledProtocolsback to summary
public void setEnabledProtocols(String[] protocols)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setEnabledProtocols.

Doc from ch.qos.logback.core.net.ssl.SSLConfigurable.setEnabledProtocols.

Sets the enabled protocols on the SSL component.

Parameters
protocols:String[]

the protocols to enable

setHostnameVerificationback to summary
public void setHostnameVerification(boolean verifyHostname)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setHostnameVerification.

Annotations
@Override
setNeedClientAuthback to summary
public void setNeedClientAuth(boolean state)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setNeedClientAuth.

Doc from ch.qos.logback.core.net.ssl.SSLConfigurable.setNeedClientAuth.

Sets a flag indicating whether the SSL component should require client authentication.

Parameters
state:boolean

the flag state to set

setWantClientAuthback to summary
public void setWantClientAuth(boolean state)

Implements ch.qos.logback.core.net.ssl.SSLConfigurable.setWantClientAuth.

Doc from ch.qos.logback.core.net.ssl.SSLConfigurable.setWantClientAuth.

Sets a flag indicating whether the SSL component should request client authentication.

Parameters
state:boolean

the flag state to set