org.glite.security.trustmanager.tomcat
Class TMSSLServerSocketFactory
java.lang.Object
org.apache.tomcat.util.net.ServerSocketFactory
org.glite.security.trustmanager.tomcat.TMSSLServerSocketFactory
- All Implemented Interfaces:
- java.lang.Cloneable
- public class TMSSLServerSocketFactory
- extends org.apache.tomcat.util.net.ServerSocketFactory
- Author:
- Joni Hahkala
The Tomcat glue ServerSocketFactory class. This class works as a glue
interface that interfaces the TrustManager SSL implementation with the
Tomcat.
Method Summary |
java.net.Socket |
acceptSocket(java.net.ServerSocket sSocket)
|
java.net.ServerSocket |
createSocket(int port)
|
java.net.ServerSocket |
createSocket(int port,
int backlog)
|
java.net.ServerSocket |
createSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
|
void |
handshake(java.net.Socket socket)
|
Methods inherited from class org.apache.tomcat.util.net.ServerSocketFactory |
getDefault, initSocket, setAttribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TMSSLServerSocketFactory
public TMSSLServerSocketFactory()
acceptSocket
public java.net.Socket acceptSocket(java.net.ServerSocket sSocket)
throws java.io.IOException
- Throws:
java.io.IOException
createSocket
public java.net.ServerSocket createSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
throws java.io.IOException,
java.lang.InstantiationException
- Throws:
java.io.IOException
java.lang.InstantiationException
createSocket
public java.net.ServerSocket createSocket(int port,
int backlog)
throws java.io.IOException,
java.lang.InstantiationException
- Throws:
java.io.IOException
java.lang.InstantiationException
createSocket
public java.net.ServerSocket createSocket(int port)
throws java.io.IOException,
java.lang.InstantiationException
- Throws:
java.io.IOException
java.lang.InstantiationException
handshake
public void handshake(java.net.Socket socket)
throws java.io.IOException
- Throws:
java.io.IOException