Class LdapSSLConnectionFactory4
java.lang.Object
javax.net.SocketFactory
org.summerboot.jexpress.integration.ldap.LdapSSLConnectionFactory4
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final AtomicReference<LdapSSLConnectionFactory4>protected static KeyManager[]protected final SSLSocketFactorystatic Stringprotected static TrustManager[] -
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) static SocketFactorystatic voidinit(KeyManagerFactory kmf, TrustManagerFactory tmf, String protocol) Methods inherited from class javax.net.SocketFactory
createSocket
-
Field Details
-
defaultFactory
-
sf
-
TLS_PROTOCOL
-
KMS
-
TMS
-
-
Constructor Details
-
LdapSSLConnectionFactory4
public LdapSSLConnectionFactory4()
-
-
Method Details
-
init
-
getDefault
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
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
-