public static class LDAPDirectory.TrustingSSLSocketFactory extends SSLSocketFactory
| Constructor and Description |
|---|
TrustingSSLSocketFactory()
Create a new SSLSocketFactory that creates a Socket regardless of the certificate used.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket s,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
static SocketFactory |
getDefault() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocketcreateSocketpublic TrustingSSLSocketFactory()
public static SocketFactory getDefault()
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionCopyright © 2016 Nuxeo SA. All rights reserved.