public class PwdModifyHandler extends Object implements ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequest,org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyResponse>
Modifier and Type | Field and Description |
---|---|
static Set<String> |
EXTENSION_OIDS |
Constructor and Description |
---|
PwdModifyHandler() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getExtensionOids()
The OIDs of the extensions supported by this handler.
|
String |
getOid() |
void |
handleExtendedOperation(LdapSession requestor,
org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequest req)
Handles the specified extended operation.
|
void |
setLdapServer(LdapServer ldapServer)
Sets the LDAP server for this extendedOperation handler.
|
public static final Set<String> EXTENSION_OIDS
public PwdModifyHandler()
public String getOid()
getOid
in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequest,org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyResponse>
public void handleExtendedOperation(LdapSession requestor, org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequest req) throws Exception
handleExtendedOperation
in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequest,org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyResponse>
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.pwdModify.PasswordModifyRequest,org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyResponse>
public void setLdapServer(LdapServer ldapServer)
setLdapServer
in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequest,org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyResponse>
ldapServer
- the ldap protocol serverCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.