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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.Socket
makeSocket(java.net.Socket s)
Creates an SSL socket layered over an existing socket.-
Methods inherited from interface netscape.ldap.LDAPSocketFactory
makeSocket
-
-
-
-
Method Detail
-
makeSocket
java.net.Socket makeSocket(java.net.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()
-
-