public class RootPrivilegeChangeListener extends Object implements ConfigurationChangeListener<RootDNCfg>
| Constructor and Description |
|---|
RootPrivilegeChangeListener()
Creates a new instance of this root privilege change listener.
|
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(RootDNCfg configuration)
Applies the configuration changes to this change listener.
|
Set<Privilege> |
getDefaultRootPrivileges()
Retrieves the set of privileges that will be automatically granted to root
users.
|
boolean |
isConfigurationChangeAcceptable(RootDNCfg configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is
acceptable to this change listener.
|
public RootPrivilegeChangeListener()
public boolean isConfigurationChangeAcceptable(RootDNCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable in interface ConfigurationChangeListener<RootDNCfg>configuration - 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 org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(RootDNCfg configuration)
applyConfigurationChange in interface ConfigurationChangeListener<RootDNCfg>configuration - The new configuration containing the changes.public Set<Privilege> getDefaultRootPrivileges()
Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.