|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SslConnector
The interface for SSL connectors and their configuration methods.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
LifeCycle.Listener |
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_KEYSTORE
Default value for the keystore location path. |
static java.lang.String |
DEFAULT_KEYSTORE_ALGORITHM
|
static java.lang.String |
DEFAULT_TRUSTSTORE_ALGORITHM
|
static java.lang.String |
KEYPASSWORD_PROPERTY
String name of key password property. |
static java.lang.String |
PASSWORD_PROPERTY
String name of keystore password property. |
| Method Summary | |
|---|---|
java.lang.String[] |
getExcludeCipherSuites()
|
java.lang.String[] |
getIncludeCipherSuites()
|
java.lang.String |
getKeystore()
|
java.lang.String |
getKeystoreType()
|
boolean |
getNeedClientAuth()
|
java.lang.String |
getProtocol()
|
java.lang.String |
getProvider()
|
java.lang.String |
getSecureRandomAlgorithm()
|
javax.net.ssl.SSLContext |
getSslContext()
|
java.lang.String |
getSslKeyManagerFactoryAlgorithm()
|
java.lang.String |
getSslTrustManagerFactoryAlgorithm()
|
java.lang.String |
getTruststore()
|
java.lang.String |
getTruststoreType()
|
boolean |
getWantClientAuth()
|
boolean |
isAllowRenegotiate()
|
void |
setAllowRenegotiate(boolean allowRenegotiate)
Set if SSL re-negotiation is allowed. |
void |
setExcludeCipherSuites(java.lang.String[] cipherSuites)
|
void |
setIncludeCipherSuites(java.lang.String[] cipherSuites)
|
void |
setKeyPassword(java.lang.String password)
|
void |
setKeystore(java.lang.String keystore)
|
void |
setKeystoreType(java.lang.String keystoreType)
|
void |
setNeedClientAuth(boolean needClientAuth)
|
void |
setPassword(java.lang.String password)
|
void |
setProtocol(java.lang.String protocol)
|
void |
setProvider(java.lang.String provider)
|
void |
setSecureRandomAlgorithm(java.lang.String algorithm)
|
void |
setSslContext(javax.net.ssl.SSLContext sslContext)
|
void |
setSslKeyManagerFactoryAlgorithm(java.lang.String algorithm)
|
void |
setSslTrustManagerFactoryAlgorithm(java.lang.String algorithm)
|
void |
setTrustPassword(java.lang.String password)
|
void |
setTruststore(java.lang.String truststore)
|
void |
setTruststoreType(java.lang.String truststoreType)
|
void |
setWantClientAuth(boolean wantClientAuth)
|
| Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Field Detail |
|---|
static final java.lang.String DEFAULT_KEYSTORE_ALGORITHM
static final java.lang.String DEFAULT_TRUSTSTORE_ALGORITHM
static final java.lang.String DEFAULT_KEYSTORE
static final java.lang.String KEYPASSWORD_PROPERTY
static final java.lang.String PASSWORD_PROPERTY
| Method Detail |
|---|
java.lang.String[] getExcludeCipherSuites()
SSLEngine.setEnabledCipherSuites(String[])void setExcludeCipherSuites(java.lang.String[] cipherSuites)
cipherSuites - The array of Ciphersuite names to exclude from
SSLEngine.setEnabledCipherSuites(String[])java.lang.String[] getIncludeCipherSuites()
SSLEngine.setEnabledCipherSuites(String[])void setIncludeCipherSuites(java.lang.String[] cipherSuites)
cipherSuites - The array of Ciphersuite names to include in
SSLEngine.setEnabledCipherSuites(String[])void setPassword(java.lang.String password)
password - The password for the key storevoid setTrustPassword(java.lang.String password)
password - The password for the trust storevoid setKeyPassword(java.lang.String password)
password - The password (if any) for the specific key within
the key storejava.lang.String getProtocol()
SSLContext.getInstance(String, String)void setProtocol(java.lang.String protocol)
protocol - The SSL protocol (default "TLS") passed to SSLContext.getInstance(String, String)void setKeystore(java.lang.String keystore)
keystore - The file or URL of the SSL Key store.java.lang.String getKeystore()
java.lang.String getKeystoreType()
boolean getNeedClientAuth()
SSLEngine.getNeedClientAuth()boolean getWantClientAuth()
SSLEngine.getWantClientAuth()void setNeedClientAuth(boolean needClientAuth)
needClientAuth - True if SSL needs client authentication.SSLEngine.getNeedClientAuth()void setWantClientAuth(boolean wantClientAuth)
wantClientAuth - True if SSL wants client authentication.SSLEngine.getWantClientAuth()void setKeystoreType(java.lang.String keystoreType)
keystoreType - The type of the key store (default "JKS")java.lang.String getProvider()
SSLContext.getInstance(String, String)java.lang.String getSecureRandomAlgorithm()
SecureRandom.getInstance(String) to obtain the SecureRandom
instance passed to SSLContext.init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], SecureRandom)java.lang.String getSslKeyManagerFactoryAlgorithm()
KeyManagerFactoryjava.lang.String getSslTrustManagerFactoryAlgorithm()
TrustManagerFactoryjava.lang.String getTruststore()
java.lang.String getTruststoreType()
void setProvider(java.lang.String provider)
provider - The SSL provider name, which if set is passed to
SSLContext.getInstance(String, String)void setSecureRandomAlgorithm(java.lang.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)void setSslKeyManagerFactoryAlgorithm(java.lang.String algorithm)
algorithm - The algorithm name (default "SunX509") used by
the KeyManagerFactoryvoid setSslTrustManagerFactoryAlgorithm(java.lang.String algorithm)
algorithm - The algorithm name (default "SunX509") used by the TrustManagerFactoryvoid setTruststore(java.lang.String truststore)
truststore - The file name or URL of the trust store locationvoid setTruststoreType(java.lang.String truststoreType)
truststoreType - The type of the trust store (default "JKS")void setSslContext(javax.net.ssl.SSLContext sslContext)
sslContext - Set a preconfigured SSLContextjavax.net.ssl.SSLContext getSslContext()
boolean isAllowRenegotiate()
void setAllowRenegotiate(boolean allowRenegotiate)
allowRenegotiate - true if re-negotiation is allowed (default false)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||