public class WhoAmIHandler extends 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 Set<String> |
EXTENSION_OIDS |
| Constructor and Description |
|---|
WhoAmIHandler() |
| 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 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.
|
public 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 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 requestException - if failed to handle the operationpublic Set<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 serverCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.