|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.component.AbstractLifeCycle
org.mortbay.jetty.AbstractBuffers
org.mortbay.jetty.AbstractConnector
org.mortbay.jetty.bio.SocketConnector
org.mortbay.jetty.security.SslSocketConnector
org.apache.cxf.transport.https_jetty.CXFJettySslSocketConnector
public class CXFJettySslSocketConnector
This class extends the Jetty SslSocketConnector, which allows us to configure it more in tune with the JSSE, using KeyManagers and TrustManagers. Also, Jetty version 6.1.3 has a bug where the Trust store needs a password.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mortbay.jetty.security.SslSocketConnector |
---|
org.mortbay.jetty.security.SslSocketConnector.SslConnection |
Nested classes/interfaces inherited from class org.mortbay.jetty.bio.SocketConnector |
---|
org.mortbay.jetty.bio.SocketConnector.Connection |
Nested classes/interfaces inherited from class org.mortbay.jetty.AbstractBuffers |
---|
org.mortbay.jetty.AbstractBuffers.ThreadBuffers |
Nested classes/interfaces inherited from interface org.mortbay.component.LifeCycle |
---|
org.mortbay.component.LifeCycle.Listener |
Field Summary | |
---|---|
protected java.util.List<java.lang.String> |
cipherSuites
|
protected org.apache.cxf.configuration.security.FiltersType |
cipherSuitesFilter
|
protected javax.net.ssl.KeyManager[] |
keyManagers
|
protected java.security.SecureRandom |
secureRandom
|
protected javax.net.ssl.TrustManager[] |
trustManagers
|
Fields inherited from class org.mortbay.jetty.security.SslSocketConnector |
---|
DEFAULT_KEYSTORE, KEYPASSWORD_PROPERTY, PASSWORD_PROPERTY |
Fields inherited from class org.mortbay.jetty.bio.SocketConnector |
---|
_connections, _serverSocket |
Fields inherited from class org.mortbay.jetty.AbstractConnector |
---|
_lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime |
Fields inherited from class org.mortbay.component.AbstractLifeCycle |
---|
_listeners |
Constructor Summary | |
---|---|
CXFJettySslSocketConnector()
|
Method Summary | |
---|---|
protected javax.net.ssl.SSLServerSocketFactory |
createFactory()
We create our own socket factory. |
protected void |
setCipherSuites(java.util.List<java.lang.String> cs)
Set the cipherSuites |
protected void |
setCipherSuitesFilter(org.apache.cxf.configuration.security.FiltersType filter)
Set the CipherSuites Filter |
protected void |
setClientAuthentication(org.apache.cxf.configuration.security.ClientAuthentication clientAuth)
Set the ClientAuthentication (from the JAXB type) that configures an HTTP Destination. |
protected void |
setKeyManagers(javax.net.ssl.KeyManager[] kmgrs)
Set the KeyManagers. |
protected void |
setSecureRandom(java.security.SecureRandom random)
Set the SecureRandom Parameters |
protected void |
setTrustManagers(javax.net.ssl.TrustManager[] tmgrs)
Set the TrustManagers. |
Methods inherited from class org.mortbay.jetty.security.SslSocketConnector |
---|
accept, configure, customize, getExcludeCipherSuites, getHandshakeTimeout, getKeystore, getKeystoreType, getNeedClientAuth, getProtocol, getProvider, getSecureRandomAlgorithm, getSslKeyManagerFactoryAlgorithm, getSslTrustManagerFactoryAlgorithm, getTruststore, getTruststoreType, getWantClientAuth, isAllowRenegotiate, isConfidential, isIntegral, newServerSocket, setAllowRenegotiate, setExcludeCipherSuites, setHandshakeTimeout, setKeyPassword, setKeystore, setKeystoreType, setNeedClientAuth, setPassword, setProtocol, setProvider, setSecureRandomAlgorithm, setSslKeyManagerFactoryAlgorithm, setSslTrustManagerFactoryAlgorithm, setTrustPassword, setTruststore, setTruststoreType, setWantClientAuth |
Methods inherited from class org.mortbay.jetty.bio.SocketConnector |
---|
close, doStart, doStop, getConnection, getLocalPort, newBuffer, newHttpConnection, open |
Methods inherited from class org.mortbay.jetty.AbstractConnector |
---|
checkForwardedHeaders, connectionClosed, connectionOpened, getAcceptorPriorityOffset, getAcceptors, getAcceptQueueSize, getConfidentialPort, getConfidentialScheme, getConnections, getConnectionsDurationAve, getConnectionsDurationMax, getConnectionsDurationMin, getConnectionsDurationTotal, getConnectionsOpen, getConnectionsOpenMax, getConnectionsOpenMin, getConnectionsRequestsAve, getConnectionsRequestsMax, getConnectionsRequestsMin, getForwardedForHeader, getForwardedHostHeader, getForwardedServerHeader, getHost, getHostHeader, getIntegralPort, getIntegralScheme, getLeftMostValue, getLowResourceMaxIdleTime, getMaxIdleTime, getName, getPort, getRequests, getResolveNames, getReuseAddress, getServer, getSoLingerTime, getStatsOn, getStatsOnMs, getThreadPool, isForwarded, join, newContinuation, persist, setAcceptorPriorityOffset, setAcceptors, setAcceptQueueSize, setConfidentialPort, setConfidentialScheme, setForwarded, setForwardedForHeader, setForwardedHostHeader, setForwardedServerHeader, setHost, setHostHeader, setIntegralPort, setIntegralScheme, setLowResourceMaxIdleTime, setMaxIdleTime, setName, setPort, setResolveNames, setReuseAddress, setServer, setSoLingerTime, setStatsOn, setThreadPool, statsReset, stopAccept, toString |
Methods inherited from class org.mortbay.jetty.AbstractBuffers |
---|
getBuffer, getHeaderBufferSize, getRequestBufferSize, getResponseBufferSize, returnBuffer, setHeaderBufferSize, setRequestBufferSize, setResponseBufferSize |
Methods inherited from class org.mortbay.component.AbstractLifeCycle |
---|
addLifeCycleListener, 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.mortbay.jetty.Connector |
---|
getHeaderBufferSize, getRequestBufferSize, getResponseBufferSize, setHeaderBufferSize, setRequestBufferSize, setResponseBufferSize |
Methods inherited from interface org.mortbay.component.LifeCycle |
---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Methods inherited from interface org.mortbay.io.Buffers |
---|
getBuffer, returnBuffer |
Field Detail |
---|
protected javax.net.ssl.KeyManager[] keyManagers
protected javax.net.ssl.TrustManager[] trustManagers
protected java.security.SecureRandom secureRandom
protected java.util.List<java.lang.String> cipherSuites
protected org.apache.cxf.configuration.security.FiltersType cipherSuitesFilter
Constructor Detail |
---|
public CXFJettySslSocketConnector()
Method Detail |
---|
protected void setCipherSuites(java.util.List<java.lang.String> cs)
protected void setCipherSuitesFilter(org.apache.cxf.configuration.security.FiltersType filter)
protected void setKeyManagers(javax.net.ssl.KeyManager[] kmgrs)
protected void setTrustManagers(javax.net.ssl.TrustManager[] tmgrs)
protected void setSecureRandom(java.security.SecureRandom random)
protected void setClientAuthentication(org.apache.cxf.configuration.security.ClientAuthentication clientAuth)
protected javax.net.ssl.SSLServerSocketFactory createFactory() throws java.lang.Exception
createFactory
in class org.mortbay.jetty.security.SslSocketConnector
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |