|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.api.ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
org.opends.server.extensions.PasswordModifyExtendedOperation
public class PasswordModifyExtendedOperation
This class implements the password modify extended operation defined in RFC 3062. It includes support for requiring the user's current password as well as for generating a new password if none was provided.
Constructor Summary | |
---|---|
PasswordModifyExtendedOperation()
Create an instance of this password modify extended operation. |
Method Summary | |
---|---|
ConfigChangeResult |
applyConfigurationChange(PasswordModifyExtendedOperationHandlerCfg config)
Makes a best-effort attempt to apply the configuration contained in the provided entry. |
void |
finalizeExtendedOperationHandler()
Performs any finalization that may be necessary for this extended operation handler. |
java.util.Set<java.lang.String> |
getSupportedControls()
Retrieves the OIDs of the controls that may be supported by this extended operation handler. |
void |
initializeExtendedOperationHandler(PasswordModifyExtendedOperationHandlerCfg config)
Initializes this extended operation handler based on the information in the provided configuration. |
boolean |
isConfigurationAcceptable(ExtendedOperationHandlerCfg configuration,
java.util.List<Message> unacceptableReasons)
Indicates whether the provided configuration is acceptable for this extended operation handler. |
boolean |
isConfigurationChangeAcceptable(PasswordModifyExtendedOperationHandlerCfg config,
java.util.List<Message> unacceptableReasons)
Indicates whether the provided configuration entry has an acceptable configuration for this component. |
void |
processExtendedOperation(ExtendedOperation operation)
Processes the provided extended operation. |
Methods inherited from class org.opends.server.api.ExtendedOperationHandler |
---|
deregisterControlsAndFeatures, getSupportedFeatures, registerControlsAndFeatures, supportsControl, supportsFeature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasswordModifyExtendedOperation()
initializeExtendedOperationHandler
method.
Method Detail |
---|
public void initializeExtendedOperationHandler(PasswordModifyExtendedOperationHandlerCfg config) throws ConfigException, InitializationException
initializeExtendedOperationHandler
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
config
- The configuration that contains the information
to use to initialize this extended operation handler.
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.public void finalizeExtendedOperationHandler()
finalizeExtendedOperationHandler
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
public java.util.Set<java.lang.String> getSupportedControls()
getSupportedControls
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
public void processExtendedOperation(ExtendedOperation operation)
processExtendedOperation
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public boolean isConfigurationAcceptable(ExtendedOperationHandlerCfg configuration, java.util.List<Message> unacceptableReasons)
isConfigurationAcceptable
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
configuration
- The extended operation handler
configuration for which to make the
determination.unacceptableReasons
- A list that may be used to hold the
reasons that the provided
configuration is not acceptable.
true
if the provided configuration is acceptable
for this extended operation handler, or false
if
not.public boolean isConfigurationChangeAcceptable(PasswordModifyExtendedOperationHandlerCfg config, java.util.List<Message> unacceptableReasons)
isConfigurationChangeAcceptable
in interface ConfigurationChangeListener<PasswordModifyExtendedOperationHandlerCfg>
config
- The configuration entry for which to make the
determination.unacceptableReasons
- A list that can be used to hold messages about
why the provided entry does not have an
acceptable configuration.
true
if the provided entry has an acceptable
configuration for this component, or false
if not.public ConfigChangeResult applyConfigurationChange(PasswordModifyExtendedOperationHandlerCfg config)
applyConfigurationChange
in interface ConfigurationChangeListener<PasswordModifyExtendedOperationHandlerCfg>
config
- The entry containing the new configuration to
apply for this component.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |