Apache Tomcat 6.0.43

org.apache.tomcat.util.net.jsse
Class JSSEFactory

java.lang.Object
  extended by org.apache.tomcat.util.net.jsse.JSSEFactory

public class JSSEFactory
extends java.lang.Object

Factory interface to construct components based on the JSSE version in use.

Author:
Bill Barker, Filip Hanik

Constructor Summary
JSSEFactory()
           
 
Method Summary
 ServerSocketFactory getSocketFactory()
          Returns the ServerSocketFactory to use.
 ServerSocketFactory getSocketFactory(java.lang.String sslProtocol)
          Returns the ServerSocketFactory to use.
 SSLSupport getSSLSupport(java.net.Socket socket)
          returns the SSLSupport attached to this socket.
 SSLSupport getSSLSupport(javax.net.ssl.SSLSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSSEFactory

public JSSEFactory()
Method Detail

getSocketFactory

public ServerSocketFactory getSocketFactory()
Returns the ServerSocketFactory to use.


getSocketFactory

public ServerSocketFactory getSocketFactory(java.lang.String sslProtocol)
Returns the ServerSocketFactory to use.

Parameters:
sslProtocol - Name of SSL protocol, e.g. "TLS". It is used to obtain an instance of javax.net.ssl.SSLContext. If it is null then a default will be used.

getSSLSupport

public SSLSupport getSSLSupport(java.net.Socket socket)
returns the SSLSupport attached to this socket.


getSSLSupport

public SSLSupport getSSLSupport(javax.net.ssl.SSLSession session)

Apache Tomcat 6.0.43

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.