Package com.unboundid.ldap.listener
Class PasswordModifyExtendedOperationHandler
java.lang.Object
com.unboundid.ldap.listener.InMemoryExtendedOperationHandler
com.unboundid.ldap.listener.PasswordModifyExtendedOperationHandler
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class PasswordModifyExtendedOperationHandler
extends InMemoryExtendedOperationHandler
This class provides an implementation of an extended operation handler for
the in-memory directory server that can be used to process the password
modify extended operation as defined in
RFC 3062.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of this extended operation handler. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name that should be used for this extended operation handler.Retrieves a list of the extended request OIDs supported by this extended operation handler.processExtendedOperation(InMemoryRequestHandler handler, int messageID, ExtendedRequest request) Performs the appropriate processing for the provided extended request.Methods inherited from class com.unboundid.ldap.listener.InMemoryExtendedOperationHandler
toString
-
Constructor Details
-
PasswordModifyExtendedOperationHandler
Creates a new instance of this extended operation handler.
-
-
Method Details
-
getExtendedOperationHandlerName
Retrieves the name that should be used for this extended operation handler.- Specified by:
getExtendedOperationHandlerNamein classInMemoryExtendedOperationHandler- Returns:
- The name that should be used for this extended operation handler.
-
getSupportedExtendedRequestOIDs
Retrieves a list of the extended request OIDs supported by this extended operation handler.- Specified by:
getSupportedExtendedRequestOIDsin classInMemoryExtendedOperationHandler- Returns:
- A list of the extended request OIDs supported by this extended operation handler.
-
processExtendedOperation
@NotNull public ExtendedResult processExtendedOperation(@NotNull InMemoryRequestHandler handler, int messageID, @NotNull ExtendedRequest request) Performs the appropriate processing for the provided extended request. This method is completely responsible for any controls associated with the provided request.- Specified by:
processExtendedOperationin classInMemoryExtendedOperationHandler- Parameters:
handler- The in-memory request handler that accepted the extended request.messageID- The message ID for the LDAP message that the client used to send the request.request- The extended request to process, which will have a request OID which matches one of the OIDs in the list returned byt theInMemoryExtendedOperationHandler.getSupportedExtendedRequestOIDs()method.- Returns:
- The result that should be returned to the client in response to the provided request.
-