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
Constructors Constructor Description PasswordModifyExtendedOperationHandler()
Creates a new instance of this extended operation handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExtendedOperationHandlerName()
Retrieves the name that should be used for this extended operation handler.java.util.List<java.lang.String>
getSupportedExtendedRequestOIDs()
Retrieves a list of the extended request OIDs supported by this extended operation handler.ExtendedResult
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 Detail
-
PasswordModifyExtendedOperationHandler
public PasswordModifyExtendedOperationHandler()
Creates a new instance of this extended operation handler.
-
-
Method Detail
-
getExtendedOperationHandlerName
public java.lang.String getExtendedOperationHandlerName()
Retrieves the name that should be used for this extended operation handler.- Specified by:
getExtendedOperationHandlerName
in classInMemoryExtendedOperationHandler
- Returns:
- The name that should be used for this extended operation handler.
-
getSupportedExtendedRequestOIDs
public java.util.List<java.lang.String> getSupportedExtendedRequestOIDs()
Retrieves a list of the extended request OIDs supported by this extended operation handler.- Specified by:
getSupportedExtendedRequestOIDs
in classInMemoryExtendedOperationHandler
- Returns:
- A list of the extended request OIDs supported by this extended operation handler.
-
processExtendedOperation
public ExtendedResult processExtendedOperation(InMemoryRequestHandler handler, int messageID, 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:
processExtendedOperation
in 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.
-
-