oracle.ldap.util.jndi
Class LDAPSSLSocketFactoryImpl

oracle.ldap.util.jndi.LDAPSSLSocketFactoryImpl

public class LDAPSSLSocketFactoryImpl

This class allows one to communicate with an SSL enabled LDAP server using JNDI and Oracle's Java SSL. This class requires that the oracle wallet location and passwork be set. The wallet must be in exported wallet (PEM format - DER format in base 64 encoding). If you want to restrict the cipher suites being used make the correct Oracle Java SSL calls to set the cipher suites.


Field Summary
static java.lang.String WALLET_LOCATION
           
static java.lang.String WALLET_PASSWORD
           
 
Constructor Summary
LDAPSSLSocketFactoryImpl()
           
LDAPSSLSocketFactoryImpl(java.util.Hashtable ht)
           
 
Method Summary
 java.net.Socket createSocket(java.net.InetAddress iaddr, int i)
           
 java.net.Socket createSocket(java.net.InetAddress iaddr1, int i, java.net.InetAddress iaddr2, int j)
           
 java.net.Socket createSocket(java.net.Socket sock)
           
 java.net.Socket createSocket(java.lang.String s, int i)
           
 java.net.Socket createSocket(java.lang.String s, int i, java.net.InetAddress iaddr, int j)
           
 

Field Detail

WALLET_LOCATION

public static final java.lang.String WALLET_LOCATION

WALLET_PASSWORD

public static final java.lang.String WALLET_PASSWORD
Constructor Detail

LDAPSSLSocketFactoryImpl

public LDAPSSLSocketFactoryImpl()
                         throws javax.net.ssl.SSLException

LDAPSSLSocketFactoryImpl

public LDAPSSLSocketFactoryImpl(java.util.Hashtable ht)
                         throws javax.net.ssl.SSLException
Method Detail

createSocket

public java.net.Socket createSocket(java.net.Socket sock)
                             throws java.io.IOException

createSocket

public java.net.Socket createSocket(java.lang.String s,
                                    int i)
                             throws java.io.IOException

createSocket

public java.net.Socket createSocket(java.net.InetAddress iaddr,
                                    int i)
                             throws java.io.IOException

createSocket

public java.net.Socket createSocket(java.lang.String s,
                                    int i,
                                    java.net.InetAddress iaddr,
                                    int j)
                             throws java.io.IOException

createSocket

public java.net.Socket createSocket(java.net.InetAddress iaddr1,
                                    int i,
                                    java.net.InetAddress iaddr2,
                                    int j)
                             throws java.io.IOException