public class RootDNConfigManager extends Object implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>, org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>, org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>
Constructor and Description |
---|
RootDNConfigManager(ServerContext serverContext)
Creates a new instance of this root DN config manager.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationAdd(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration) |
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration) |
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationDelete(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration) |
Set<Privilege> |
getRootPrivileges()
Retrieves the set of privileges that will be granted to root users by
default.
|
void |
initializeRootDNs()
Initializes all of the root users currently defined in the Directory Server
configuration, as well as the set of privileges that root users will
inherit by default.
|
boolean |
isConfigurationAddAcceptable(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationDeleteAcceptable(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
public RootDNConfigManager(ServerContext serverContext)
serverContext
- The server context.public void initializeRootDNs() throws org.forgerock.opendj.config.server.ConfigException, InitializationException
org.forgerock.opendj.config.server.ConfigException
- If a configuration problem causes the identity mapper
initialization process to fail.InitializationException
- If a problem occurs while initializing the identity mappers that
is not related to the server configuration.public Set<Privilege> getRootPrivileges()
public boolean isConfigurationAddAcceptable(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationAddAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationAdd(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration)
applyConfigurationAdd
in interface org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>
public boolean isConfigurationDeleteAcceptable(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationDeleteAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationDelete(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration)
applyConfigurationDelete
in interface org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>
public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.RootDnUserCfg configuration)
applyConfigurationChange
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.RootDnUserCfg>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.