public class CustomSocketFactory extends SSLSocketFactory
| Constructor and Description | 
|---|
CustomSocketFactory()
Required for reflection. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
configure()
Configures this SSLSocketFactory so that it trusts any signer. 
 | 
static void | 
configure(String path,
         String password)
Configures this SSLSocketFactory so that it uses the given keystore as its truststore. 
 | 
Socket | 
createSocket(InetAddress host,
            int port)  | 
Socket | 
createSocket(InetAddress host,
            int port,
            InetAddress client_host,
            int client_port)  | 
Socket | 
createSocket(Socket socket,
            String host,
            int port,
            boolean autoclose)  | 
Socket | 
createSocket(String host,
            int port)  | 
Socket | 
createSocket(String host,
            int port,
            InetAddress client_host,
            int client_port)  | 
static CustomSocketFactory | 
getDefault()  | 
String[] | 
getDefaultCipherSuites()  | 
String[] | 
getSupportedCipherSuites()  | 
createSocketpublic static CustomSocketFactory getDefault()
public static void configure(String path, String password) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic static void configure()
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port, InetAddress client_host, int client_port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress host, int port, InetAddress client_host, int client_port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(Socket socket, String host, int port, boolean autoclose) throws IOException, UnknownHostException
createSocket in class SSLSocketFactoryIOExceptionUnknownHostExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactory