org.pentaho.di.trans.steps.ldapinput.store
Class CustomdSocketFactory
java.lang.Object
  
javax.net.SocketFactory
      
javax.net.ssl.SSLSocketFactory
          
org.pentaho.di.trans.steps.ldapinput.store.CustomdSocketFactory
public class CustomdSocketFactory
- extends SSLSocketFactory
 
 
| 
Method Summary | 
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 SocketFactory | 
getDefault()
 
            | 
 String[] | 
getDefaultCipherSuites()
 
            | 
 String[] | 
getSupportedCipherSuites()
 
            | 
 
 
 
CustomdSocketFactory
public CustomdSocketFactory()
- Required for reflection.
 
getDefault
public static SocketFactory getDefault()
 
configure
public static void configure(String path,
                             String password)
                      throws org.pentaho.di.core.exception.KettleException
- Configures this SSLSocketFactory so that it uses the given keystore as its truststore.
- Throws:
 org.pentaho.di.core.exception.KettleException
 
 
configure
public static void configure()
- Configures this SSLSocketFactory so that it trusts any signer.
 
 
createSocket
public Socket createSocket(String host,
                           int port)
                    throws IOException,
                           UnknownHostException
- Specified by:
 createSocket in class SocketFactory
 
- Throws:
 IOException
UnknownHostException
 
createSocket
public Socket createSocket(String host,
                           int port,
                           InetAddress client_host,
                           int client_port)
                    throws IOException,
                           UnknownHostException
- Specified by:
 createSocket in class SocketFactory
 
- Throws:
 IOException
UnknownHostException
 
createSocket
public Socket createSocket(InetAddress host,
                           int port)
                    throws IOException,
                           UnknownHostException
- Specified by:
 createSocket in class SocketFactory
 
- Throws:
 IOException
UnknownHostException
 
createSocket
public Socket createSocket(InetAddress host,
                           int port,
                           InetAddress client_host,
                           int client_port)
                    throws IOException,
                           UnknownHostException
- Specified by:
 createSocket in class SocketFactory
 
- Throws:
 IOException
UnknownHostException
 
createSocket
public Socket createSocket(Socket socket,
                           String host,
                           int port,
                           boolean autoclose)
                    throws IOException,
                           UnknownHostException
- Specified by:
 createSocket in class SSLSocketFactory
 
- Throws:
 IOException
UnknownHostException
 
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
- Specified by:
 getDefaultCipherSuites in class SSLSocketFactory
 
 
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Specified by:
 getSupportedCipherSuites in class SSLSocketFactory