org.eclipse.higgins.idas.cp.jndi
Class LDAPHigginsSSLSocketFactoryProducer

java.lang.Object
  extended by javax.net.SocketFactory
      extended by javax.net.ssl.SSLSocketFactory
          extended by org.eclipse.higgins.idas.cp.jndi.LDAPHigginsSSLSocketFactoryProducer

public class LDAPHigginsSSLSocketFactoryProducer
extends SSLSocketFactory


Method Summary
 Socket createSocket(InetAddress inetAddress, int i)
           
 Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1)
           
 Socket createSocket(Socket socket, String host, int port, boolean autoClose)
           
 Socket createSocket(String host, int port)
           
 Socket createSocket(String host, int port, InetAddress clientHost, int clientPort)
           
static SocketFactory getDefault()
          Produces a single instance of HigginsSSLSocketFactory
 String[] getDefaultCipherSuites()
           
 String[] getSupportedCipherSuites()
           
 void reloadKeyStore()
           
 void setKeyStore(File keyStoreFile, String keyStorePassword)
           
 
Methods inherited from class javax.net.SocketFactory
createSocket
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static SocketFactory getDefault()
Produces a single instance of HigginsSSLSocketFactory


setKeyStore

public void setKeyStore(File keyStoreFile,
                        String keyStorePassword)
Parameters:
keyStoreFile -

reloadKeyStore

public void reloadKeyStore()
                    throws NamingException
Throws:
NamingException

getDefaultCipherSuites

public String[] getDefaultCipherSuites()
Specified by:
getDefaultCipherSuites in class SSLSocketFactory

getSupportedCipherSuites

public String[] getSupportedCipherSuites()
Specified by:
getSupportedCipherSuites in class SSLSocketFactory

createSocket

public Socket createSocket(String host,
                           int port,
                           InetAddress clientHost,
                           int clientPort)
                    throws IOException,
                           UnknownHostException
Specified by:
createSocket in class SocketFactory
Throws:
IOException
UnknownHostException

createSocket

public Socket createSocket(InetAddress inetAddress,
                           int i,
                           InetAddress inetAddress1,
                           int i1)
                    throws IOException
Specified by:
createSocket in class SocketFactory
Throws:
IOException

createSocket

public Socket createSocket(String host,
                           int port)
                    throws IOException,
                           UnknownHostException
Specified by:
createSocket in class SocketFactory
Throws:
IOException
UnknownHostException

createSocket

public Socket createSocket(InetAddress inetAddress,
                           int i)
                    throws IOException
Specified by:
createSocket in class SocketFactory
Throws:
IOException

createSocket

public Socket createSocket(Socket socket,
                           String host,
                           int port,
                           boolean autoClose)
                    throws IOException,
                           UnknownHostException
Specified by:
createSocket in class SSLSocketFactory
Throws:
IOException
UnknownHostException