Class LDAPUserDataProvider.CustomSocketFactory
java.lang.Object
javax.net.SocketFactory
com.predic8.membrane.core.interceptor.authentication.session.LDAPUserDataProvider.CustomSocketFactory
- Enclosing class:
- LDAPUserDataProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSocket(String host, int port) createSocket(String host, int port, InetAddress localHost, int localPort) createSocket(InetAddress host, int port) createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
-
Field Details
-
sslContext
-
connectTimeout
public static int connectTimeout
-
-
Constructor Details
-
CustomSocketFactory
public CustomSocketFactory()
-
-
Method Details
-
getDefault
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException - Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
- Overrides:
createSocketin classSocketFactory- Throws:
IOException
-