Package com.sun.web.security
Class SSLSocketFactory
java.lang.Object
com.sun.web.security.SSLSocketFactory
- All Implemented Interfaces:
org.apache.catalina.net.ServerSocketFactory
SSL server socket factory.
- Author:
- Harish Prabandham, Vivek Nagar, Harpreet Singh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSocket(int port) Create the socket at the specified port.createSocket(int port, int backlog) Create the socket at the specified port.createSocket(int port, int backlog, InetAddress ifAddress) Create the socket at the specified port.static void
-
Constructor Details
-
SSLSocketFactory
public SSLSocketFactory()Create the SSL socket factory. Initialize the key managers and trust managers which are passed to the SSL context.
-
-
Method Details
-
createSocket
Create the socket at the specified port.- Specified by:
createSocketin interfaceorg.apache.catalina.net.ServerSocketFactory- Parameters:
port- the port number.- Returns:
- the SSL server socket.
- Throws:
IOException
-
createSocket
Create the socket at the specified port.- Specified by:
createSocketin interfaceorg.apache.catalina.net.ServerSocketFactory- Parameters:
port- the port number.- Returns:
- the SSL server socket.
- Throws:
IOException
-
createSocket
Create the socket at the specified port.- Specified by:
createSocketin interfaceorg.apache.catalina.net.ServerSocketFactory- Parameters:
port- the port number.- Returns:
- the SSL server socket.
- Throws:
IOException
-
initStoresAtStartup
- Throws:
Exception
-