Directory SDK
for Java 4.19

netscape.ldap
Interface LDAPTLSSocketFactory

All Superinterfaces:
LDAPSocketFactory
All Known Implementing Classes:
JSSESocketFactory, JSSSocketFactory

public interface LDAPTLSSocketFactory
extends LDAPSocketFactory

A socket factory interface for supporting the start TLS LDAPv3 extension (RFC 2830).

Since:
LDAPJDK 4.17

Method Summary
 Socket makeSocket(Socket s)
          Creates an SSL socket layered over an existing socket.
 
Methods inherited from interface netscape.ldap.LDAPSocketFactory
makeSocket
 

Method Detail

makeSocket

public Socket makeSocket(Socket s)
                  throws LDAPException
Creates an SSL socket layered over an existing socket. Used for the start TLS operations (RFC2830).

Parameters:
s - An existing non-SSL socket
Returns:
A SSL socket layered over the input socket
Throws:
LDAPException - on error creating socket
See Also:
LDAPConnection.startTLS()

Directory SDK
for Java 4.19

Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.