|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.LDAPSecureSocketFactory
LDAPJSSESecureSocketFactory
If a JDK 1.7 is required, use of this class is a valid
alternative to JSSE (which runs in JDK 1.2 or greater).
Represents the socket factory that creates secure socket connections to
LDAP servers.
Currently, this factory creates SSL capable socket connections
to LDAP servers. It returns sockets of type
com.novell.service.security.net.SecureSocket
.
At the present time, only server authentication is supported, meaning the client authenticates the certificate sent from the server. Following authentication of the server's certificate, a secure SSL connection is established. The client application then performs connection, authentication, or other LDAP operations with the server as required.
LDAPConnection.setSocketFactory(com.novell.ldap.LDAPSocketFactory)
Constructor Summary | |
LDAPSecureSocketFactory()
Deprecated. Constructs an LDAPSecureSocketFactory object. |
Method Summary | |
java.net.Socket |
createSocket(java.lang.String host,
int port)
Deprecated. Returns the socket connected to the LDAP server with the specified host name and port number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LDAPSecureSocketFactory()
Method Detail |
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException, java.net.UnknownHostException
The secure connection is established to the server when this call returns.
createSocket
in interface LDAPSocketFactory
host
- The host name or a dotted string representing the IP address
of the LDAP server to which you want to establish
a connection.
port
- The port number on the specified LDAP server that you want to
use for this connection. The default LDAP port for SSL
connections is 636.
java.io.IOException
- A socket to the specified host and port
could not be created.
java.net.UnknownHostException
- The specified host could not be found.
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |