|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.net.ServerSocketFactory org.apache.tomcat.util.net.jsse.JSSESocketFactory org.apache.tomcat.util.net.jsse.JSSE14SocketFactory
SSL server socket factory. It _requires_ a valid RSA key and JSSE.
Field Summary | |
protected boolean |
requireClientAuth
Flag to state that we require client authentication. |
protected boolean |
wantClientAuth
Flag to state that we would like client authentication. |
Fields inherited from class org.apache.tomcat.util.net.jsse.JSSESocketFactory |
allowUnsafeLegacyRenegotiation, clientAuth, enabledCiphers, initialized, RFC_5746_SUPPORTED, sslProxy |
Fields inherited from class org.apache.tomcat.util.net.ServerSocketFactory |
attributes |
Constructor Summary | |
JSSE14SocketFactory()
|
Method Summary | |
protected void |
configureClientAuth(javax.net.ssl.SSLServerSocket socket)
Configure Client authentication for this version of JSSE. |
protected void |
configureClientAuth(javax.net.ssl.SSLSocket socket)
Configure Client authentication for this version of JSSE. |
protected java.lang.String[] |
getEnabledProtocols(javax.net.ssl.SSLServerSocket socket,
java.lang.String requestedProtocols)
|
protected javax.net.ssl.KeyManager[] |
getKeyManagers(java.lang.String keystoreType,
java.lang.String algorithm,
java.lang.String keyAlias)
Gets the initialized key managers. |
protected javax.net.ssl.TrustManager[] |
getTrustManagers(java.lang.String keystoreType,
java.lang.String algorithm)
Gets the intialized trust managers. |
protected void |
setEnabledProtocols(javax.net.ssl.SSLServerSocket socket,
java.lang.String[] protocols)
Set the SSL protocol variants to be enabled. |
Methods inherited from class org.apache.tomcat.util.net.jsse.JSSESocketFactory |
acceptSocket, checkConfig, createSocket, createSocket, createSocket, getEnabledCiphers, getKeystore, getKeystorePassword, getTrustStore, handshake |
Methods inherited from class org.apache.tomcat.util.net.ServerSocketFactory |
getDefault, initSocket, setAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean requireClientAuth
protected boolean wantClientAuth
Constructor Detail |
public JSSE14SocketFactory()
Method Detail |
protected javax.net.ssl.KeyManager[] getKeyManagers(java.lang.String keystoreType, java.lang.String algorithm, java.lang.String keyAlias) throws java.lang.Exception
java.lang.Exception
protected javax.net.ssl.TrustManager[] getTrustManagers(java.lang.String keystoreType, java.lang.String algorithm) throws java.lang.Exception
java.lang.Exception
protected void setEnabledProtocols(javax.net.ssl.SSLServerSocket socket, java.lang.String[] protocols)
JSSESocketFactory
setEnabledProtocols
in class JSSESocketFactory
socket
- the SSLServerSocket.protocols
- the protocols to use.protected java.lang.String[] getEnabledProtocols(javax.net.ssl.SSLServerSocket socket, java.lang.String requestedProtocols)
getEnabledProtocols
in class JSSESocketFactory
protected void configureClientAuth(javax.net.ssl.SSLServerSocket socket)
JSSESocketFactory
configureClientAuth
in class JSSESocketFactory
socket
- the SSLServerSocketprotected void configureClientAuth(javax.net.ssl.SSLSocket socket)
JSSESocketFactory
configureClientAuth
in class JSSESocketFactory
socket
- the SSLSocket
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |