org.eclipse.jetty.server.ssl
接口 SslConnector

所有超级接口:
Connector, LifeCycle
所有已知实现类:
SslSelectChannelConnector, SslSocketConnector

public interface SslConnector
extends Connector

The interface for SSL connectors and their configuration methods.


嵌套类摘要
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口
LifeCycle.Listener
 
字段摘要
static String DEFAULT_KEYSTORE
          已过时。 
static String DEFAULT_KEYSTORE_ALGORITHM
          已过时。 
static String DEFAULT_TRUSTSTORE_ALGORITHM
          已过时。 
static String KEYPASSWORD_PROPERTY
          已过时。 
static String PASSWORD_PROPERTY
          已过时。 
 
方法摘要
 String[] getExcludeCipherSuites()
          已过时。  
 String[] getIncludeCipherSuites()
          已过时。  
 String getKeystore()
          已过时。  
 String getKeystoreType()
          已过时。  
 boolean getNeedClientAuth()
          已过时。  
 String getProtocol()
          已过时。  
 String getProvider()
          已过时。  
 String getSecureRandomAlgorithm()
          已过时。  
 SSLContext getSslContext()
          已过时。  
 SslContextFactory getSslContextFactory()
           
 String getSslKeyManagerFactoryAlgorithm()
          已过时。  
 String getSslTrustManagerFactoryAlgorithm()
          已过时。  
 String getTruststore()
          已过时。  
 String getTruststoreType()
          已过时。  
 boolean getWantClientAuth()
          已过时。  
 boolean isAllowRenegotiate()
          已过时。  
 void setAllowRenegotiate(boolean allowRenegotiate)
          已过时。  
 void setExcludeCipherSuites(String[] cipherSuites)
          已过时。  
 void setIncludeCipherSuites(String[] cipherSuites)
          已过时。  
 void setKeyPassword(String password)
          已过时。  
 void setKeystore(String keystore)
          已过时。  
 void setKeystoreType(String keystoreType)
          已过时。  
 void setNeedClientAuth(boolean needClientAuth)
          已过时。  
 void setPassword(String password)
          已过时。  
 void setProtocol(String protocol)
          已过时。  
 void setProvider(String provider)
          已过时。  
 void setSecureRandomAlgorithm(String algorithm)
          已过时。  
 void setSslContext(SSLContext sslContext)
          已过时。  
 void setSslKeyManagerFactoryAlgorithm(String algorithm)
          已过时。  
 void setSslTrustManagerFactoryAlgorithm(String algorithm)
          已过时。  
 void setTrustPassword(String password)
          已过时。  
 void setTruststore(String truststore)
          已过时。  
 void setTruststoreType(String truststoreType)
          已过时。  
 void setWantClientAuth(boolean wantClientAuth)
          已过时。  
 
从接口 org.eclipse.jetty.server.Connector 继承的方法
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
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的方法
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

字段详细信息

DEFAULT_KEYSTORE_ALGORITHM

@Deprecated
static final String DEFAULT_KEYSTORE_ALGORITHM
已过时。 

DEFAULT_TRUSTSTORE_ALGORITHM

@Deprecated
static final String DEFAULT_TRUSTSTORE_ALGORITHM
已过时。 

DEFAULT_KEYSTORE

@Deprecated
static final String DEFAULT_KEYSTORE
已过时。 
Default value for the keystore location path. @deprecated


KEYPASSWORD_PROPERTY

@Deprecated
static final String KEYPASSWORD_PROPERTY
已过时。 
String name of key password property. @deprecated

另请参见:
常量字段值

PASSWORD_PROPERTY

@Deprecated
static final String PASSWORD_PROPERTY
已过时。 
String name of keystore password property. @deprecated

另请参见:
常量字段值
方法详细信息

getSslContextFactory

SslContextFactory getSslContextFactory()
返回:
the instance of SslContextFactory associated with the connector

getExcludeCipherSuites

@Deprecated
String[] getExcludeCipherSuites()
已过时。 

返回:
The array of Ciphersuite names to exclude from SSLEngine.setEnabledCipherSuites(String[])

setExcludeCipherSuites

@Deprecated
void setExcludeCipherSuites(String[] cipherSuites)
已过时。 

参数:
cipherSuites - The array of Ciphersuite names to exclude from SSLEngine.setEnabledCipherSuites(String[])

getIncludeCipherSuites

@Deprecated
String[] getIncludeCipherSuites()
已过时。 

返回:
The array of Ciphersuite names to include in SSLEngine.setEnabledCipherSuites(String[])

setIncludeCipherSuites

@Deprecated
void setIncludeCipherSuites(String[] cipherSuites)
已过时。 

参数:
cipherSuites - The array of Ciphersuite names to include in SSLEngine.setEnabledCipherSuites(String[])

setPassword

@Deprecated
void setPassword(String password)
已过时。 

参数:
password - The password for the key store

setTrustPassword

@Deprecated
void setTrustPassword(String password)
已过时。 

参数:
password - The password for the trust store

setKeyPassword

@Deprecated
void setKeyPassword(String password)
已过时。 

参数:
password - The password (if any) for the specific key within the key store

getProtocol

@Deprecated
String getProtocol()
已过时。 

返回:
The SSL protocol (default "TLS") passed to SSLContext.getInstance(String, String)

setProtocol

@Deprecated
void setProtocol(String protocol)
已过时。 

参数:
protocol - The SSL protocol (default "TLS") passed to SSLContext.getInstance(String, String)

setKeystore

@Deprecated
void setKeystore(String keystore)
已过时。 

参数:
keystore - The file or URL of the SSL Key store.

getKeystore

@Deprecated
String getKeystore()
已过时。 

返回:
The file or URL of the SSL Key store.

getKeystoreType

@Deprecated
String getKeystoreType()
已过时。 

返回:
The type of the key store (default "JKS")

getNeedClientAuth

@Deprecated
boolean getNeedClientAuth()
已过时。 

返回:
True if SSL needs client authentication.
另请参见:
SSLEngine.getNeedClientAuth()

getWantClientAuth

@Deprecated
boolean getWantClientAuth()
已过时。 

返回:
True if SSL wants client authentication.
另请参见:
SSLEngine.getWantClientAuth()

setNeedClientAuth

@Deprecated
void setNeedClientAuth(boolean needClientAuth)
已过时。 

参数:
needClientAuth - True if SSL needs client authentication.
另请参见:
SSLEngine.getNeedClientAuth()

setWantClientAuth

@Deprecated
void setWantClientAuth(boolean wantClientAuth)
已过时。 

参数:
wantClientAuth - True if SSL wants client authentication.
另请参见:
SSLEngine.getWantClientAuth()

setKeystoreType

@Deprecated
void setKeystoreType(String keystoreType)
已过时。 

参数:
keystoreType - The type of the key store (default "JKS")

getProvider

@Deprecated
String getProvider()
已过时。 

返回:
The SSL provider name, which if set is passed to SSLContext.getInstance(String, String)

getSecureRandomAlgorithm

@Deprecated
String getSecureRandomAlgorithm()
已过时。 

返回:
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)

getSslKeyManagerFactoryAlgorithm

@Deprecated
String getSslKeyManagerFactoryAlgorithm()
已过时。 

返回:
The algorithm name (default "SunX509") used by the KeyManagerFactory

getSslTrustManagerFactoryAlgorithm

@Deprecated
String getSslTrustManagerFactoryAlgorithm()
已过时。 

返回:
The algorithm name (default "SunX509") used by the TrustManagerFactory

getTruststore

@Deprecated
String getTruststore()
已过时。 

返回:
The file name or URL of the trust store location

getTruststoreType

@Deprecated
String getTruststoreType()
已过时。 

返回:
The type of the trust store (default "JKS")

setProvider

@Deprecated
void setProvider(String provider)
已过时。 

参数:
provider - The SSL provider name, which if set is passed to SSLContext.getInstance(String, String)

setSecureRandomAlgorithm

@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)

setSslKeyManagerFactoryAlgorithm

@Deprecated
void setSslKeyManagerFactoryAlgorithm(String algorithm)
已过时。 

参数:
algorithm - The algorithm name (default "SunX509") used by the KeyManagerFactory

setSslTrustManagerFactoryAlgorithm

@Deprecated
void setSslTrustManagerFactoryAlgorithm(String algorithm)
已过时。 

参数:
algorithm - The algorithm name (default "SunX509") used by the TrustManagerFactory

setTruststore

@Deprecated
void setTruststore(String truststore)
已过时。 

参数:
truststore - The file name or URL of the trust store location

setTruststoreType

@Deprecated
void setTruststoreType(String truststoreType)
已过时。 

参数:
truststoreType - The type of the trust store (default "JKS")

setSslContext

@Deprecated
void setSslContext(SSLContext sslContext)
已过时。 

参数:
sslContext - Set a preconfigured SSLContext

getSslContext

@Deprecated
SSLContext getSslContext()
已过时。 

返回:
The SSLContext

isAllowRenegotiate

@Deprecated
boolean isAllowRenegotiate()
已过时。 

返回:
True if SSL re-negotiation is allowed (default false)

setAllowRenegotiate

@Deprecated
void setAllowRenegotiate(boolean allowRenegotiate)
已过时。 

Set if SSL re-negotiation is allowed. CVE-2009-3555 discovered a vulnerability in SSL/TLS with re-negotiation. If your JVM does not have CVE-2009-3555 fixed, then re-negotiation should not be allowed.

参数:
allowRenegotiate - true if re-negotiation is allowed (default false)


Copyright © 2013. All Rights Reserved.