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 |
---|---|
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)
ConfigurationChangeListener
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 ConfigChangeResult applyConfigurationChange(RootDnCfg configuration)
ConfigurationChangeListener
applyConfigurationChange
in interface ConfigurationChangeListener<RootDnCfg>
configuration
- The new configuration containing the changes.Copyright 2010-2020 ForgeRock AS.