Package org.opends.server.extensions
Class StartTLSExtendedOperation
- java.lang.Object
-
- org.opends.server.api.ExtendedOperationHandler<StartTLSExtendedOperationHandlerCfg>
-
- org.opends.server.extensions.StartTLSExtendedOperation
-
public class StartTLSExtendedOperation extends ExtendedOperationHandler<StartTLSExtendedOperationHandlerCfg>
This class provides an implementation of the StartTLS extended operation as defined in RFC 2830. It can enable the TLS connection security provider on an established connection upon receiving an appropriate request from a client.
-
-
Constructor Summary
Constructors Constructor Description StartTLSExtendedOperation()Create an instance of this StartTLS extended operation handler.
-
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.voidinitializeExtendedOperationHandler(StartTLSExtendedOperationHandlerCfg config)Initializes this extended operation handler based on the information in the provided configuration entry.voidprocessExtendedOperation(ExtendedOperation operation)Processes the provided extended operation.-
Methods inherited from class org.opends.server.api.ExtendedOperationHandler
finalizeExtendedOperationHandler, getSupportedControls, getSupportedFeatures, isConfigurationAcceptable, supportsControl, supportsFeature
-
-
-
-
Method Detail
-
initializeExtendedOperationHandler
public void initializeExtendedOperationHandler(StartTLSExtendedOperationHandlerCfg config) throws ConfigException, InitializationException
Description copied from class:ExtendedOperationHandlerInitializes this extended operation handler based on the information in the provided configuration entry. It should also register itself with the Directory Server for the particular kinds of extended operations that it will process.- Overrides:
initializeExtendedOperationHandlerin classExtendedOperationHandler<StartTLSExtendedOperationHandlerCfg>- Parameters:
config- The extended operation handler configuration that contains the information to use to initialize this extended operation handler.- Throws:
ConfigException- If an unrecoverable problem arises in the process of performing the initialization.InitializationException- If a problem occurs during initialization that is not related to the server configuration.
-
processExtendedOperation
public void processExtendedOperation(ExtendedOperation operation)
Processes the provided extended operation.- Specified by:
processExtendedOperationin classExtendedOperationHandler<StartTLSExtendedOperationHandlerCfg>- 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.- Overrides:
getExtendedOperationOIDin classExtendedOperationHandler<StartTLSExtendedOperationHandlerCfg>- 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.- Overrides:
getExtendedOperationNamein classExtendedOperationHandler<StartTLSExtendedOperationHandlerCfg>- Returns:
- The name associated with this extended operation,
if any, or
nullif there is none.
-
-