Class SSLSocketFactory
- java.lang.Object
-
- org.wildfly.iiop.openjdk.security.SocketFactoryBase
-
- org.wildfly.iiop.openjdk.security.SSLSocketFactory
-
- All Implemented Interfaces:
com.sun.corba.se.spi.transport.ORBSocketFactory
public class SSLSocketFactory extends SocketFactoryBase
AORBSocketFactoryimplementation that uses Elytron suppliedSSLContexts to create client and server side SSL sockets.- Author:
- Stefan Guilhen
-
-
Field Summary
-
Fields inherited from class org.wildfly.iiop.openjdk.security.SocketFactoryBase
orb
-
-
Constructor Summary
Constructors Constructor Description SSLSocketFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerSocketcreateServerSocket(String type, InetSocketAddress inetSocketAddress)SocketcreateSocket(String type, InetSocketAddress inetSocketAddress)ServerSocketcreateSSLServerSocket(int port, int backlog, InetAddress inetAddress)SocketcreateSSLSocket(String host, int port)static voidsetClientSSLContextName(String clientSSLContextName)voidsetORB(com.sun.corba.se.spi.orb.ORB orb)static voidsetServerSSLContextName(String serverSSLContextName)-
Methods inherited from class org.wildfly.iiop.openjdk.security.SocketFactoryBase
setAcceptedSocketOptions
-
-
-
-
Method Detail
-
setServerSSLContextName
public static void setServerSSLContextName(String serverSSLContextName)
-
setClientSSLContextName
public static void setClientSSLContextName(String clientSSLContextName)
-
setORB
public void setORB(com.sun.corba.se.spi.orb.ORB orb)
- Specified by:
setORBin interfacecom.sun.corba.se.spi.transport.ORBSocketFactory- Overrides:
setORBin classSocketFactoryBase
-
createServerSocket
public ServerSocket createServerSocket(String type, InetSocketAddress inetSocketAddress) throws IOException
- Specified by:
createServerSocketin interfacecom.sun.corba.se.spi.transport.ORBSocketFactory- Overrides:
createServerSocketin classSocketFactoryBase- Throws:
IOException
-
createSocket
public Socket createSocket(String type, InetSocketAddress inetSocketAddress) throws IOException
- Specified by:
createSocketin interfacecom.sun.corba.se.spi.transport.ORBSocketFactory- Overrides:
createSocketin classSocketFactoryBase- Throws:
IOException
-
createSSLSocket
public Socket createSSLSocket(String host, int port) throws IOException
- Throws:
IOException
-
createSSLServerSocket
public ServerSocket createSSLServerSocket(int port, int backlog, InetAddress inetAddress) throws IOException
- Throws:
IOException
-
-