public class WhoAmIHandler extends java.lang.Object implements ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest,org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<java.lang.String> |
EXTENSION_OIDS |
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
WhoAmIHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getExtensionOids()
The OIDs of the extensions supported by this handler.
|
java.lang.String |
getOid()
Returns the EXTENSION_OID of the extended request this handler can handle.
|
void |
handleExtendedOperation(LdapSession requestor,
org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest req)
Handles the specified extended operation.
|
void |
setLdapServer(LdapServer ldapServer)
Sets the LDAP server for this extendedOperation handler.
|
private static final org.slf4j.Logger LOG
public static final java.util.Set<java.lang.String> EXTENSION_OIDS
public java.lang.String getOid()
getOid in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest,org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>public void handleExtendedOperation(LdapSession requestor, org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest req) throws java.lang.Exception
handleExtendedOperation in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest,org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>requestor - the session object related with current connectionreq - the LDAP Extended operation requestjava.lang.Exception - if failed to handle the operationpublic java.util.Set<java.lang.String> getExtensionOids()
getExtensionOids in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest,org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>public void setLdapServer(LdapServer ldapServer)
setLdapServer in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest,org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>ldapServer - the ldap protocol server