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 LDAPSocketFactory

    makeSocket
    Modifier and Type
    Method
    Description
    makeSocket(String host, int port)
    Returns a socket to the specified host name and port number.
  • 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: