Package 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
Version:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an SSL socket layered over an existing socket.

    Methods inherited from interface netscape.ldap.LDAPSocketFactory

    makeSocket
  • Method Details

    • makeSocket

      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: