org.apache.tomcat.util.net.jsse
Class JSSE14SocketFactory
- Cloneable
public class JSSE14SocketFactory
SSL server socket factory. It _requires_ a valid RSA key and
JSSE.
- Harish Prabandham
- Costin Manolache
- Stefan Freyr Stefansson
- EKR -- renamed to JSSESocketFactory
- Jan Luehe
protected boolean | requireClientAuth - Flag to state that we require client authentication.
|
protected boolean | wantClientAuth - Flag to state that we would like client authentication.
|
protected void | configureClientAuth(SSLServerSocket socket) - Configure Client authentication for this version of JSSE.
|
protected void | configureClientAuth(SSLSocket socket) - Configure Client authentication for this version of JSSE.
|
protected String[] | getEnabledProtocols(SSLServerSocket socket, String requestedProtocols)
|
protected KeyManager[] | getKeyManagers(String keystoreType, String algorithm, String keyAlias) - Gets the initialized key managers.
|
protected TrustManager[] | getTrustManagers(String keystoreType, String algorithm) - Gets the intialized trust managers.
|
protected void | setEnabledProtocols(SSLServerSocket socket, String[] protocols) - Set the SSL protocol variants to be enabled.
|
acceptSocket , configureClientAuth , configureClientAuth , createSocket , createSocket , createSocket , getEnabledCiphers , getEnabledProtocols , getKeystore , getKeystorePassword , getTrustStore , handshake , setEnabledProtocols |
requireClientAuth
protected boolean requireClientAuth
Flag to state that we require client authentication.
wantClientAuth
protected boolean wantClientAuth
Flag to state that we would like client authentication.
JSSE14SocketFactory
public JSSE14SocketFactory()
Constructor is used only by subclasses.
configureClientAuth
protected void configureClientAuth(SSLServerSocket socket)
Configure Client authentication for this version of JSSE. The
JSSE included in Java 1.4 supports the 'want' value. Prior
versions of JSSE will treat 'want' as 'false'.
- configureClientAuth in interface JSSESocketFactory
socket
- the SSLServerSocket
configureClientAuth
protected void configureClientAuth(SSLSocket socket)
Configure Client authentication for this version of JSSE. The
JSSE included in Java 1.4 supports the 'want' value. Prior
versions of JSSE will treat 'want' as 'false'.
- configureClientAuth in interface JSSESocketFactory
getEnabledProtocols
protected String[] getEnabledProtocols(SSLServerSocket socket,
String requestedProtocols)
- getEnabledProtocols in interface JSSESocketFactory
getKeyManagers
protected KeyManager[] getKeyManagers(String keystoreType,
String algorithm,
String keyAlias)
throws Exception
Gets the initialized key managers.
getTrustManagers
protected TrustManager[] getTrustManagers(String keystoreType,
String algorithm)
throws Exception
Gets the intialized trust managers.
setEnabledProtocols
protected void setEnabledProtocols(SSLServerSocket socket,
String[] protocols)
Set the SSL protocol variants to be enabled.
- setEnabledProtocols in interface JSSESocketFactory
socket
- the SSLServerSocket.protocols
- the protocols to use.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.