|
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.util.component.AggregateLifeCycle 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 |
---|
_buffers, _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()
|
org.apache.cxf.transport.https_jetty.CXFJettySslSocketConnector.CxfSslContextFactory |
getCxfSslContextFactory()
|
protected void |
getKeyManagersWithCertAlias()
|
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, newPlainConnection, newSslConnection, 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, endPointClosed, getConnection, getLocalPort, getLowResourcesConnections, getLowResourcesMaxIdleTime, getSelectorManager, newEndPoint, open, persist, setLowResourcesConnections, setLowResourcesMaxIdleTime, setMaxIdleTime, setThreadPool |
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, 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, getMaxBuffers, getMaxIdleTime, getName, getPort, getRequestBuffers, getRequestBufferSize, getRequestBufferType, getRequestHeaderSize, getRequestHeaderType, getRequests, getResolveNames, getResponseBuffers, getResponseBufferSize, getResponseBufferType, getResponseHeaderSize, getResponseHeaderType, 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, setMaxBuffers, setName, setPort, setRequestBuffers, setRequestBufferSize, setRequestHeaderSize, setResolveNames, setResponseBuffers, setResponseBufferSize, setResponseHeaderSize, setReuseAddress, setServer, setSoLingerTime, setStatsOn, statsReset, stopAccept, toString |
Methods inherited from class org.eclipse.jetty.util.component.AggregateLifeCycle |
---|
addBean, addBean, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
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 |
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable |
---|
dump, dump |
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
protected void getKeyManagersWithCertAlias() throws Exception
Exception
public org.apache.cxf.transport.https_jetty.CXFJettySslSocketConnector.CxfSslContextFactory getCxfSslContextFactory()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |