|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.core.RootPrivilegeChangeListener
public class RootPrivilegeChangeListener
This class defines a data structure that is used to handle changes to the set of default root privileges.
Constructor Summary | |
---|---|
RootPrivilegeChangeListener()
Creates a new instance of this root privilege change listener. |
Method Summary | |
---|---|
ConfigChangeResult |
applyConfigurationChange(RootDNCfg configuration)
Applies the configuration changes to this change listener. |
java.util.Set<Privilege> |
getDefaultRootPrivileges()
Retrieves the set of privileges that will be automatically granted to root users. |
boolean |
isConfigurationChangeAcceptable(RootDNCfg configuration,
java.util.List<Message> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable to this change listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RootPrivilegeChangeListener()
Method Detail |
---|
public boolean isConfigurationChangeAcceptable(RootDNCfg configuration, java.util.List<Message> 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 ConfigChangeResult applyConfigurationChange(RootDNCfg configuration)
applyConfigurationChange
in interface ConfigurationChangeListener<RootDNCfg>
configuration
- The new configuration containing the changes.
public java.util.Set<Privilege> getDefaultRootPrivileges()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |