public interface SslConnector extends Connector
LifeCycle.Listener
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_KEYSTORE
Deprecated.
|
static String |
DEFAULT_KEYSTORE_ALGORITHM
Deprecated.
|
static String |
DEFAULT_TRUSTSTORE_ALGORITHM
Deprecated.
|
static String |
KEYPASSWORD_PROPERTY
Deprecated.
|
static String |
PASSWORD_PROPERTY
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getExcludeCipherSuites()
Deprecated.
|
String[] |
getIncludeCipherSuites()
Deprecated.
|
String |
getKeystore()
Deprecated.
|
String |
getKeystoreType()
Deprecated.
|
boolean |
getNeedClientAuth()
Deprecated.
|
String |
getProtocol()
Deprecated.
|
String |
getProvider()
Deprecated.
|
String |
getSecureRandomAlgorithm()
Deprecated.
|
SSLContext |
getSslContext()
Deprecated.
|
SslContextFactory |
getSslContextFactory() |
String |
getSslKeyManagerFactoryAlgorithm()
Deprecated.
|
String |
getSslTrustManagerFactoryAlgorithm()
Deprecated.
|
String |
getTruststore()
Deprecated.
|
String |
getTruststoreType()
Deprecated.
|
boolean |
getWantClientAuth()
Deprecated.
|
boolean |
isAllowRenegotiate()
Deprecated.
|
void |
setAllowRenegotiate(boolean allowRenegotiate)
Deprecated.
|
void |
setExcludeCipherSuites(String[] cipherSuites)
Deprecated.
|
void |
setIncludeCipherSuites(String[] cipherSuites)
Deprecated.
|
void |
setKeyPassword(String password)
Deprecated.
|
void |
setKeystore(String keystore)
Deprecated.
|
void |
setKeystoreType(String keystoreType)
Deprecated.
|
void |
setNeedClientAuth(boolean needClientAuth)
Deprecated.
|
void |
setPassword(String password)
Deprecated.
|
void |
setProtocol(String protocol)
Deprecated.
|
void |
setProvider(String provider)
Deprecated.
|
void |
setSecureRandomAlgorithm(String algorithm)
Deprecated.
|
void |
setSslContext(SSLContext sslContext)
Deprecated.
|
void |
setSslKeyManagerFactoryAlgorithm(String algorithm)
Deprecated.
|
void |
setSslTrustManagerFactoryAlgorithm(String algorithm)
Deprecated.
|
void |
setTrustPassword(String password)
Deprecated.
|
void |
setTruststore(String truststore)
Deprecated.
|
void |
setTruststoreType(String truststoreType)
Deprecated.
|
void |
setWantClientAuth(boolean wantClientAuth)
Deprecated.
|
close, customize, getConfidentialPort, getConfidentialScheme, getConnection, getConnections, getConnectionsDurationMax, getConnectionsDurationMean, getConnectionsDurationStdDev, getConnectionsDurationTotal, getConnectionsOpen, getConnectionsOpenMax, getConnectionsRequestsMax, getConnectionsRequestsMean, getConnectionsRequestsStdDev, getHost, getIntegralPort, getIntegralScheme, getLocalPort, getLowResourceMaxIdleTime, getMaxIdleTime, getName, getPort, getRequestBuffers, getRequestBufferSize, getRequestHeaderSize, getRequests, getResolveNames, getResponseBuffers, getResponseBufferSize, getResponseHeaderSize, getServer, getStatsOn, getStatsOnMs, isConfidential, isIntegral, isLowResources, open, persist, setHost, setLowResourceMaxIdleTime, setMaxIdleTime, setPort, setRequestBufferSize, setRequestHeaderSize, setResponseBufferSize, setResponseHeaderSize, setServer, setStatsOn, statsReset
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
@Deprecated static final String DEFAULT_KEYSTORE_ALGORITHM
@Deprecated static final String DEFAULT_TRUSTSTORE_ALGORITHM
@Deprecated static final String DEFAULT_KEYSTORE
@Deprecated static final String KEYPASSWORD_PROPERTY
@Deprecated static final String PASSWORD_PROPERTY
SslContextFactory getSslContextFactory()
@Deprecated String[] getExcludeCipherSuites()
SSLEngine.setEnabledCipherSuites(String[])
@Deprecated void setExcludeCipherSuites(String[] cipherSuites)
cipherSuites
- The array of Ciphersuite names to exclude from
SSLEngine.setEnabledCipherSuites(String[])
@Deprecated String[] getIncludeCipherSuites()
SSLEngine.setEnabledCipherSuites(String[])
@Deprecated void setIncludeCipherSuites(String[] cipherSuites)
cipherSuites
- The array of Ciphersuite names to include in
SSLEngine.setEnabledCipherSuites(String[])
@Deprecated void setPassword(String password)
password
- The password for the key store@Deprecated void setTrustPassword(String password)
password
- The password for the trust store@Deprecated void setKeyPassword(String password)
password
- The password (if any) for the specific key within
the key store@Deprecated String getProtocol()
SSLContext.getInstance(String, String)
@Deprecated void setProtocol(String protocol)
protocol
- The SSL protocol (default "TLS") passed to SSLContext.getInstance(String, String)
@Deprecated void setKeystore(String keystore)
keystore
- The file or URL of the SSL Key store.@Deprecated String getKeystore()
@Deprecated String getKeystoreType()
@Deprecated boolean getNeedClientAuth()
SSLEngine.getNeedClientAuth()
@Deprecated boolean getWantClientAuth()
SSLEngine.getWantClientAuth()
@Deprecated void setNeedClientAuth(boolean needClientAuth)
needClientAuth
- True if SSL needs client authentication.SSLEngine.getNeedClientAuth()
@Deprecated void setWantClientAuth(boolean wantClientAuth)
wantClientAuth
- True if SSL wants client authentication.SSLEngine.getWantClientAuth()
@Deprecated void setKeystoreType(String keystoreType)
keystoreType
- The type of the key store (default "JKS")@Deprecated String getProvider()
SSLContext.getInstance(String, String)
@Deprecated String getSecureRandomAlgorithm()
SecureRandom.getInstance(String)
to obtain the SecureRandom
instance passed to SSLContext.init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], SecureRandom)
@Deprecated String getSslKeyManagerFactoryAlgorithm()
KeyManagerFactory
@Deprecated String getSslTrustManagerFactoryAlgorithm()
TrustManagerFactory
@Deprecated String getTruststore()
@Deprecated String getTruststoreType()
@Deprecated void setProvider(String provider)
provider
- The SSL provider name, which if set is passed to
SSLContext.getInstance(String, String)
@Deprecated void setSecureRandomAlgorithm(String algorithm)
algorithm
- The algorithm name, which if set is passed to
SecureRandom.getInstance(String)
to obtain the SecureRandom
instance passed to SSLContext.init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], SecureRandom)
@Deprecated void setSslKeyManagerFactoryAlgorithm(String algorithm)
algorithm
- The algorithm name (default "SunX509") used by
the KeyManagerFactory
@Deprecated void setSslTrustManagerFactoryAlgorithm(String algorithm)
algorithm
- The algorithm name (default "SunX509") used by the TrustManagerFactory
@Deprecated void setTruststore(String truststore)
truststore
- The file name or URL of the trust store location@Deprecated void setTruststoreType(String truststoreType)
truststoreType
- The type of the trust store (default "JKS")@Deprecated void setSslContext(SSLContext sslContext)
sslContext
- Set a preconfigured SSLContext@Deprecated SSLContext getSslContext()
@Deprecated boolean isAllowRenegotiate()
@Deprecated void setAllowRenegotiate(boolean allowRenegotiate)
allowRenegotiate
- true if re-negotiation is allowed (default false)Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.