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)
Applies the configuration changes to this change listener.
|
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 entry.
|
boolean |
isConfigurationAcceptable(PasswordModifyExtendedOperationHandlerCfg 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 proposed change to the configuration is acceptable
to this change listener.
|
void |
processExtendedOperation(ExtendedOperation operation)
Processes the provided extended operation.
|
getSupportedControls, getSupportedFeatures, supportsControl
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
ExtendedOperationHandler
initializeExtendedOperationHandler
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
config
- The extended operation handler 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()
ExtendedOperationHandler
public void processExtendedOperation(ExtendedOperation operation)
ExtendedOperationHandler
processExtendedOperation
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public boolean isConfigurationAcceptable(PasswordModifyExtendedOperationHandlerCfg configuration, List<LocalizableMessage> unacceptableReasons)
ExtendedOperationHandler
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)
ConfigurationChangeListener
isConfigurationChangeAcceptable
in interface ConfigurationChangeListener<PasswordModifyExtendedOperationHandlerCfg>
config
- The new configuration containing the changes.unacceptableReasons
- A list that can be used to hold messages about why the
provided configuration is not acceptable.true
if the proposed change is acceptable,
or false
if it is not.public ConfigChangeResult applyConfigurationChange(PasswordModifyExtendedOperationHandlerCfg config)
ConfigurationChangeListener
applyConfigurationChange
in interface ConfigurationChangeListener<PasswordModifyExtendedOperationHandlerCfg>
config
- The new configuration containing the changes.public String getExtendedOperationOID()
ExtendedOperationHandler
getExtendedOperationOID
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
null
if there is none.public String getExtendedOperationName()
ExtendedOperationHandler
getExtendedOperationName
in class ExtendedOperationHandler<PasswordModifyExtendedOperationHandlerCfg>
null
if there is none.Copyright 2010-2022 ForgeRock AS.