public class LDAPSSLSocketFactory extends SocketFactory
Created by Jeff Gaynor
on 7/13/17 at 11:02 AM
Modifier and Type | Field and Description |
---|---|
protected static SSLConfiguration |
sslConfiguration |
Constructor and Description |
---|
LDAPSSLSocketFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String address,
int port) |
Socket |
createSocket(String address,
int port,
InetAddress localAddress,
int localPort) |
protected SSLContext |
getContext() |
static SocketFactory |
getDefault() |
protected KeyManagerFactory |
getKeyManagerFactory() |
static LDAPConfiguration |
getLdapConfiguration() |
protected SSLSocketFactory |
getSF() |
protected org.apache.http.conn.ssl.SSLConnectionSocketFactory |
getSocketFactory() |
static SSLConfiguration |
getSslConfiguration() |
protected static void |
say(String x) |
static void |
setLdapConfiguration(LDAPConfiguration ldapConfiguration) |
createSocket
protected static SSLConfiguration sslConfiguration
protected static void say(String x)
public static SocketFactory getDefault()
public Socket createSocket(InetAddress address, int port) throws IOException
createSocket
in class SocketFactory
IOException
protected SSLContext getContext() throws NoSuchAlgorithmException
NoSuchAlgorithmException
protected SSLSocketFactory getSF() throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
protected org.apache.http.conn.ssl.SSLConnectionSocketFactory getSocketFactory()
protected KeyManagerFactory getKeyManagerFactory() throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
public Socket createSocket(String address, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String address, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
public static void clear()
public static SSLConfiguration getSslConfiguration()
public static LDAPConfiguration getLdapConfiguration()
public static void setLdapConfiguration(LDAPConfiguration ldapConfiguration)
Copyright © 2019. All Rights Reserved.