Home » apache-tomcat-6.0.26-src » org.apache » tomcat » util » net » jsse » [javadoc | source]
org.apache.tomcat.util.net.jsse
public class: JSSE13SocketFactory [javadoc | source]
java.lang.Object
   org.apache.tomcat.util.net.ServerSocketFactory
      org.apache.tomcat.util.net.jsse.JSSESocketFactory
         org.apache.tomcat.util.net.jsse.JSSE13SocketFactory

All Implemented Interfaces:
    Cloneable

SSL server socket factory. It _requires_ a valid RSA key and JSSE.
Field Summary
protected  boolean clientAuth    Flag for client authentication 
Fields inherited from org.apache.tomcat.util.net.jsse.JSSESocketFactory:
defaultProtocol,  defaultClientAuth,  defaultKeystoreType,  log,  initialized,  clientAuth,  sslProxy,  enabledCiphers,  allowUnsafeLegacyRenegotiation,  requireClientAuth,  wantClientAuth
Fields inherited from org.apache.tomcat.util.net.ServerSocketFactory:
attributes
Constructor:
 public JSSE13SocketFactory() 
Method from org.apache.tomcat.util.net.jsse.JSSE13SocketFactory Summary:
configureClientAuth,   configureClientAuth,   getEnabledProtocols,   init,   setEnabledProtocols
Methods from org.apache.tomcat.util.net.jsse.JSSESocketFactory:
acceptSocket,   configureClientAuth,   configureClientAuth,   createSocket,   createSocket,   createSocket,   getCRLs,   getEnabledCiphers,   getEnabledProtocols,   getKeyManagers,   getKeystore,   getKeystorePassword,   getParameters,   getTrustManagers,   getTrustStore,   handshake,   init,   setEnabledProtocols
Methods from org.apache.tomcat.util.net.ServerSocketFactory:
acceptSocket,   createSocket,   createSocket,   createSocket,   getDefault,   handshake,   initSocket,   setAttribute
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tomcat.util.net.jsse.JSSE13SocketFactory Detail:
 protected  void configureClientAuth(SSLServerSocket socket) 
 protected  void configureClientAuth(SSLSocket socket) 
 protected String[] getEnabledProtocols(SSLServerSocket socket,
    String requestedProtocols) 
  void init() throws IOException 
    Reads the keystore and initializes the SSL socket factory. NOTE: This method is identical in functionality to the method of the same name in JSSE14SocketFactory, except that this method is used with JSSE 1.0.x (which is an extension to the 1.3 JVM), whereas the other is used with JSSE 1.1.x (which ships with the 1.4 JVM). Therefore, this method uses classes in com.sun.net.ssl, which have since moved to javax.net.ssl, and explicitly registers the required security providers, which come standard in a 1.4 JVM.
 protected  void setEnabledProtocols(SSLServerSocket socket,
    String[] protocols)