|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.net.jsse.JSSEFactory
public class JSSEFactory
Factory interface to construct components based on the JSSE version in use.
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 |
---|
public JSSEFactory()
Method Detail |
---|
public ServerSocketFactory getSocketFactory()
public ServerSocketFactory getSocketFactory(java.lang.String sslProtocol)
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.public SSLSupport getSSLSupport(java.net.Socket socket)
public SSLSupport getSSLSupport(javax.net.ssl.SSLSession session)
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |