public class PasswordModifyExtendedOperation extends ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg> implements ConfigurationChangeListener<PasswordModifyExtendedOperationHandlerCfg>
Modifier and Type | Field and Description |
---|---|
static String |
AUTHZ_DN_ATTACHMENT
The name of the attachment which will be used to store the fully resolved target entry.
|
static String |
CLEAR_PWD_ATTACHMENT
The clear text password, which may not be present if the provided password was pre-encoded.
|
static String |
ENCODED_PWD_ATTACHMENT
A list containing the encoded passwords: plugins can perform changes atomically via CAS.
|
static String |
PWD_ATTRIBUTE_ATTACHMENT
The name of the attachment which will be used to store the password attribute.
|
Constructor and Description |
---|
PasswordModifyExtendedOperation()
Create an instance of this password modify extended operation.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getExtendedOperationName()
Retrieves the name associated with this extended operation.
|
String |
getExtendedOperationOID()
Retrieves the object OID associated with this extended operation.
|
void |
initializeExtendedOperationHandler(PasswordModifyExtendedOperationHandlerCfg config)
Initializes this extended operation handler based on the information in the provided configuration.
|
boolean |
isConfigurationAcceptable(ExtendedOperationHandlerCfg configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for
this extended operation handler.
|
boolean |
isConfigurationChangeAcceptable(PasswordModifyExtendedOperationHandlerCfg config,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration entry has an acceptable configuration for this component.
|
void |
processExtendedOperation(ExtendedOperation operation)
Processes the provided extended operation.
|
getSupportedControls, getSupportedFeatures, supportsControl, supportsFeature
public static final String AUTHZ_DN_ATTACHMENT
public static final String PWD_ATTRIBUTE_ATTACHMENT
public static final String CLEAR_PWD_ATTACHMENT
public static final String ENCODED_PWD_ATTACHMENT
public PasswordModifyExtendedOperation()
initializeExtendedOperationHandler
method.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()
public void processExtendedOperation(ExtendedOperation operation)
processExtendedOperation
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public boolean isConfigurationAcceptable(ExtendedOperationHandlerCfg configuration, List<LocalizableMessage> 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, List<LocalizableMessage> 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.public String getExtendedOperationOID()
getExtendedOperationOID
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
null
if there is none.public String getExtendedOperationName()
getExtendedOperationName
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
null
if there is none.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.