public class StartTlsHandler extends Object implements ExtendedOperationHandler
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_OID |
Constructor and Description |
---|
StartTlsHandler() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getExtensionOids()
The OIDs of the extensions supported by this handler.
|
String |
getOid()
Returns the EXTENSION_OID of the extended request this handler can handle.
|
void |
handleExtendedOperation(LdapSession session,
org.apache.directory.shared.ldap.message.internal.InternalExtendedRequest req)
Handles the specified extended operation.
|
void |
setLdapServer(LdapServer ldapServer)
Sets the LDAP server for this extendedOperation handler.
|
public static final String EXTENSION_OID
public void handleExtendedOperation(LdapSession session, org.apache.directory.shared.ldap.message.internal.InternalExtendedRequest req) throws Exception
ExtendedOperationHandler
handleExtendedOperation
in interface ExtendedOperationHandler
session
- the session object related with current connectionreq
- the LDAP Extended operation requestException
- if failed to handle the operationpublic final Set<String> getExtensionOids()
ExtendedOperationHandler
getExtensionOids
in interface ExtendedOperationHandler
public final String getOid()
ExtendedOperationHandler
getOid
in interface ExtendedOperationHandler
public void setLdapServer(LdapServer ldapServer)
ExtendedOperationHandler
setLdapServer
in interface ExtendedOperationHandler
ldapServer
- the ldap protocol serverCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.