|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RootDNCfg
A server-side interface for querying Root DN settings.
The Root DN configuration contains all the Root DN Users defined in the Directory Server. In addition, it also defines the default set of privileges that Root DN Users automatically inherit.
Method Summary | |
---|---|
void |
addChangeListener(ConfigurationChangeListener<RootDNCfg> listener)
Register to be notified when this Root DN is changed. |
void |
addRootDNUserAddListener(ConfigurationAddListener<RootDNUserCfg> listener)
Registers to be notified when new Root DN Users are added. |
void |
addRootDNUserDeleteListener(ConfigurationDeleteListener<RootDNUserCfg> listener)
Registers to be notified when existing Root DN Users are deleted. |
java.lang.Class<? extends RootDNCfg> |
configurationClass()
Gets the configuration class associated with this Root DN. |
java.util.SortedSet<RootDNCfgDefn.DefaultRootPrivilegeName> |
getDefaultRootPrivilegeName()
Gets the "default-root-privilege-name" property. |
RootDNUserCfg |
getRootDNUser(java.lang.String name)
Gets the named Root DN User. |
java.lang.String[] |
listRootDNUsers()
Lists the Root DN Users. |
void |
removeChangeListener(ConfigurationChangeListener<RootDNCfg> listener)
Deregister an existing Root DN configuration change listener. |
void |
removeRootDNUserAddListener(ConfigurationAddListener<RootDNUserCfg> listener)
Deregisters an existing Root DN User configuration add listener. |
void |
removeRootDNUserDeleteListener(ConfigurationDeleteListener<RootDNUserCfg> listener)
Deregisters an existing Root DN User configuration delete listener. |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends RootDNCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<RootDNCfg> listener)
listener
- The Root DN configuration change listener.void removeChangeListener(ConfigurationChangeListener<RootDNCfg> listener)
listener
- The Root DN configuration change listener.java.util.SortedSet<RootDNCfgDefn.DefaultRootPrivilegeName> getDefaultRootPrivilegeName()
Specifies the names of the privileges that root users will be granted by default.
java.lang.String[] listRootDNUsers()
RootDNUserCfg getRootDNUser(java.lang.String name) throws ConfigException
name
- The name of the Root DN User to retrieve.
ConfigException
- If the Root DN User could not be found or it
could not be successfully decoded.void addRootDNUserAddListener(ConfigurationAddListener<RootDNUserCfg> listener) throws ConfigException
listener
- The Root DN User configuration add listener.
ConfigException
- If the add listener could not be registered.void removeRootDNUserAddListener(ConfigurationAddListener<RootDNUserCfg> listener)
listener
- The Root DN User configuration add listener.void addRootDNUserDeleteListener(ConfigurationDeleteListener<RootDNUserCfg> listener) throws ConfigException
listener
- The Root DN User configuration delete listener.
ConfigException
- If the delete listener could not be registered.void removeRootDNUserDeleteListener(ConfigurationDeleteListener<RootDNUserCfg> listener)
listener
- The Root DN User configuration delete listener.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |