Name
StartTlsRequest
Synopsis
This class is used with LDAPv3 to establish a TLS connection
request over an existing LDAP connection. Pass an instance
of this object to the extendedOperation()
method of an LdapContext
object to initiate a TLS connection.
public class StartTlsRequest implements ExtendedRequest { // Public Constructors public StartTlsRequest(); // Public Constants public static final String OID; // ="1.3.6.1.4.1.1466.20037” // Methods Implementing ExtendedRequest public ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException; public byte[] getEncodedValue(); // constant default:null public String getID(); }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.