|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jetty.util.component.AbstractLifeCycle org.eclipse.jetty.http.HttpBuffers org.eclipse.jetty.server.AbstractConnector org.eclipse.jetty.server.nio.AbstractNIOConnector org.eclipse.jetty.server.nio.SelectChannelConnector org.eclipse.jetty.server.ssl.SslSelectChannelConnector org.apache.cxf.transport.https_jetty.CXFJettySslSocketConnector
public class CXFJettySslSocketConnector
This class extends the Jetty SslSelectChannelConnector, which allows us to configure it more in tune with the JSSE, using KeyManagers and TrustManagers.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener |
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
---|
org.eclipse.jetty.util.component.LifeCycle.Listener |
Field Summary | |
---|---|
protected List<String> |
cipherSuites
|
protected FiltersType |
cipherSuitesFilter
|
protected KeyManager[] |
keyManagers
|
protected SecureRandom |
secureRandom
|
protected TrustManager[] |
trustManagers
|
Fields inherited from class org.eclipse.jetty.server.nio.SelectChannelConnector |
---|
_acceptChannel |
Fields inherited from class org.eclipse.jetty.server.AbstractConnector |
---|
_lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime |
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
Fields inherited from interface org.eclipse.jetty.server.ssl.SslConnector |
---|
DEFAULT_KEYSTORE, DEFAULT_KEYSTORE_ALGORITHM, DEFAULT_TRUSTSTORE_ALGORITHM, KEYPASSWORD_PROPERTY, PASSWORD_PROPERTY |
Constructor Summary | |
---|---|
CXFJettySslSocketConnector()
|
Method Summary | |
---|---|
protected SSLContext |
createSSLContext()
|
protected void |
doStart()
|
protected void |
setCipherSuites(List<String> cs)
Set the cipherSuites |
protected void |
setCipherSuitesFilter(FiltersType filter)
Set the CipherSuites Filter |
protected void |
setClientAuthentication(ClientAuthentication clientAuth)
Set the ClientAuthentication (from the JAXB type) that configures an HTTP Destination. |
protected void |
setKeyManagers(KeyManager[] kmgrs)
Set the KeyManagers. |
protected void |
setSecureRandom(SecureRandom random)
Set the SecureRandom Parameters |
protected void |
setTrustManagers(TrustManager[] tmgrs)
Set the TrustManagers. |
Methods inherited from class org.eclipse.jetty.server.ssl.SslSelectChannelConnector |
---|
createSSLEngine, customize, doStop, getAlgorithm, getExcludeCipherSuites, getIncludeCipherSuites, getKeystore, getKeystoreType, getNeedClientAuth, getProtocol, getProvider, getSecureRandomAlgorithm, getSslBuffers, getSslContext, getSslContextFactory, getSslKeyManagerFactoryAlgorithm, getSslTrustManagerFactoryAlgorithm, getTruststore, getTruststoreType, getWantClientAuth, isAllowRenegotiate, isConfidential, isIntegral, newConnection, newEndPoint, setAlgorithm, setAllowRenegotiate, setExcludeCipherSuites, setIncludeCipherSuites, setKeyPassword, setKeystore, setKeystoreType, setNeedClientAuth, setPassword, setProtocol, setProvider, setSecureRandomAlgorithm, setSslContext, setSslKeyManagerFactoryAlgorithm, setSslTrustManagerFactoryAlgorithm, setTrustPassword, setTruststore, setTruststoreType, setWantClientAuth |
Methods inherited from class org.eclipse.jetty.server.nio.SelectChannelConnector |
---|
accept, close, dump, endPointClosed, getConnection, getLocalPort, getLowResourcesConnections, getLowResourcesMaxIdleTime, getSelectorManager, open, persist, setLowResourcesConnections, setLowResourcesMaxIdleTime, setMaxIdleTime |
Methods inherited from class org.eclipse.jetty.server.nio.AbstractNIOConnector |
---|
getUseDirectBuffers, setUseDirectBuffers |
Methods inherited from class org.eclipse.jetty.server.AbstractConnector |
---|
checkForwardedHeaders, configure, connectionClosed, connectionOpened, connectionUpgraded, dump, getAcceptorPriorityOffset, getAcceptors, getAcceptQueueSize, getConfidentialPort, getConfidentialScheme, getConnections, getConnectionsDurationMax, getConnectionsDurationMean, getConnectionsDurationStdDev, getConnectionsDurationTotal, getConnectionsOpen, getConnectionsOpenMax, getConnectionsRequestsMax, getConnectionsRequestsMean, getConnectionsRequestsStdDev, getForwardedCipherSuiteHeader, getForwardedForHeader, getForwardedHostHeader, getForwardedProtoHeader, getForwardedServerHeader, getForwardedSslSessionIdHeader, getHost, getHostHeader, getIntegralPort, getIntegralScheme, getLeftMostFieldValue, getLowResourceMaxIdleTime, getMaxIdleTime, getName, getPort, getRequests, getResolveNames, getReuseAddress, getServer, getSoLingerTime, getStatsOn, getStatsOnMs, getThreadPool, isForwarded, isLowResources, join, setAcceptorPriorityOffset, setAcceptors, setAcceptQueueSize, setConfidentialPort, setConfidentialScheme, setForwarded, setForwardedCipherSuiteHeader, setForwardedForHeader, setForwardedHostHeader, setForwardedProtoHeader, setForwardedServerHeader, setForwardedSslSessionIdHeader, setHost, setHostHeader, setIntegralPort, setIntegralScheme, setLowResourceMaxIdleTime, setName, setPort, setResolveNames, setReuseAddress, setServer, setSoLingerTime, setStatsOn, setThreadPool, statsReset, stopAccept, toString |
Methods inherited from class org.eclipse.jetty.http.HttpBuffers |
---|
getMaxBuffers, getRequestBuffers, getRequestBufferSize, getRequestBufferType, getRequestHeaderSize, getRequestHeaderType, getResponseBuffers, getResponseBufferSize, getResponseBufferType, getResponseHeaderSize, getResponseHeaderType, setMaxBuffers, setRequestBuffers, setRequestBufferSize, setRequestBufferType, setRequestHeaderSize, setRequestHeaderType, setResponseBuffers, setResponseBufferSize, setResponseBufferType, setResponseHeaderSize, setResponseHeaderType |
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jetty.server.Connector |
---|
close, 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, isLowResources, open, persist, setHost, setLowResourceMaxIdleTime, setMaxIdleTime, setPort, setRequestBufferSize, setRequestHeaderSize, setResponseBufferSize, setResponseHeaderSize, setServer, setStatsOn, statsReset |
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Field Detail |
---|
protected KeyManager[] keyManagers
protected TrustManager[] trustManagers
protected SecureRandom secureRandom
protected List<String> cipherSuites
protected FiltersType cipherSuitesFilter
Constructor Detail |
---|
public CXFJettySslSocketConnector()
Method Detail |
---|
protected void setCipherSuites(List<String> cs)
protected void setCipherSuitesFilter(FiltersType filter)
protected void setKeyManagers(KeyManager[] kmgrs)
protected void setTrustManagers(TrustManager[] tmgrs)
protected void setSecureRandom(SecureRandom random)
protected void setClientAuthentication(ClientAuthentication clientAuth)
protected void doStart() throws Exception
doStart
in class org.eclipse.jetty.server.ssl.SslSelectChannelConnector
Exception
protected SSLContext createSSLContext() throws Exception
Exception
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |