Package org.opends.server.extensions
Class WhoAmIExtendedOperation
- java.lang.Object
-
- org.opends.server.api.ExtendedOperationHandler<WhoAmIExtendedOperationHandlerCfg>
-
- org.opends.server.extensions.WhoAmIExtendedOperation
-
public final class WhoAmIExtendedOperation extends ExtendedOperationHandler<WhoAmIExtendedOperationHandlerCfg>
This class implements the "Who Am I?" extended operation defined in RFC 4532. It simply returns the authorized ID of the currently-authenticated user.
-
-
Constructor Summary
Constructors Constructor Description WhoAmIExtendedOperation()Create an instance of this "Who Am I?" extended operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExtendedOperationName()Retrieves the name associated with this extended operation.StringgetExtendedOperationOID()Retrieves the object OID associated with this extended operation.voidprocessExtendedOperation(ExtendedOperation operation)Processes the provided extended operation.-
Methods inherited from class org.opends.server.api.ExtendedOperationHandler
finalizeExtendedOperationHandler, getServerContext, getSupportedControls, getSupportedFeatures, initializeExtendedOperationHandler, isConfigurationAcceptable, supportsControl
-
-
-
-
Method Detail
-
processExtendedOperation
public void processExtendedOperation(ExtendedOperation operation)
Description copied from class:ExtendedOperationHandlerProcesses the provided extended operation.- Specified by:
processExtendedOperationin classExtendedOperationHandler<WhoAmIExtendedOperationHandlerCfg>- Parameters:
operation- The extended operation to be processed.
-
getExtendedOperationOID
public String getExtendedOperationOID()
Description copied from class:ExtendedOperationHandlerRetrieves the object OID associated with this extended operation.- Specified by:
getExtendedOperationOIDin classExtendedOperationHandler<WhoAmIExtendedOperationHandlerCfg>- Returns:
- the oid associated with this extended operation, if any, or
nullif there is none.
-
getExtendedOperationName
public String getExtendedOperationName()
Description copied from class:ExtendedOperationHandlerRetrieves the name associated with this extended operation.- Specified by:
getExtendedOperationNamein classExtendedOperationHandler<WhoAmIExtendedOperationHandlerCfg>- Returns:
- The name associated with this extended operation, if any, or
nullif there is none.
-
-