public class PasswordGeneratorConfigManager extends Object implements org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>, org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>, org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>
Constructor and Description |
---|
PasswordGeneratorConfigManager(ServerContext serverContext)
Creates a new instance of this password generator config manager.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationAdd(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration) |
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration) |
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationDelete(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration) |
void |
initializePasswordGenerators()
Initializes all password generators currently defined in the Directory
Server configuration.
|
boolean |
isConfigurationAddAcceptable(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationDeleteAcceptable(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
public PasswordGeneratorConfigManager(ServerContext serverContext)
serverContext
- The server context.public void initializePasswordGenerators() throws org.forgerock.opendj.config.server.ConfigException, InitializationException
org.forgerock.opendj.config.server.ConfigException
- If a configuration problem causes the password
generator initialization process to fail.InitializationException
- If a problem occurs while initializing
the password generators that is not
related to the server configuration.public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration)
applyConfigurationChange
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>
public boolean isConfigurationAddAcceptable(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationAddAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationAdd(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration)
applyConfigurationAdd
in interface org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>
public boolean isConfigurationDeleteAcceptable(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationDeleteAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationDelete(org.forgerock.opendj.server.config.server.PasswordGeneratorCfg configuration)
applyConfigurationDelete
in interface org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.PasswordGeneratorCfg>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.