public class PasswordModifyExtendedOperation extends ExtendedOperationHandler<org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg> implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.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 |
---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg config) |
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(org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg config)
Initializes this extended operation handler based on the
information in the provided configuration entry.
|
boolean |
isConfigurationAcceptable(org.forgerock.opendj.server.config.server.ExtendedOperationHandlerCfg configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for
this extended operation handler.
|
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg config,
List<LocalizableMessage> unacceptableReasons) |
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(org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg config) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
ExtendedOperationHandler
initializeExtendedOperationHandler
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg>
config
- The extended operation handler configuration that
contains the information to use to initialize
this extended operation handler.org.forgerock.opendj.config.server.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
finalizeExtendedOperationHandler
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg>
public void processExtendedOperation(ExtendedOperation operation)
ExtendedOperationHandler
processExtendedOperation
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public boolean isConfigurationAcceptable(org.forgerock.opendj.server.config.server.ExtendedOperationHandlerCfg configuration, List<LocalizableMessage> unacceptableReasons)
ExtendedOperationHandler
isConfigurationAcceptable
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.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(org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg config, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg config)
applyConfigurationChange
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg>
public String getExtendedOperationOID()
ExtendedOperationHandler
getExtendedOperationOID
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg>
null
if there is none.public String getExtendedOperationName()
ExtendedOperationHandler
getExtendedOperationName
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.PasswordModifyExtendedOperationHandlerCfg>
null
if there is none.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.