| | |
| | | import org.opends.server.types.ObjectClassType; |
| | | import org.opends.server.types.OperatingSystem; |
| | | import org.opends.server.types.OperationType; |
| | | import org.opends.server.types.Privilege; |
| | | import org.opends.server.types.RDN; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.types.Schema; |
| | |
| | | // The special backend used for the Directory Server root DSE. |
| | | private RootDSEBackend rootDSEBackend; |
| | | |
| | | // The root DN config manager for the server. |
| | | private RootDNConfigManager rootDNConfigManager; |
| | | |
| | | // The SASL mechanism config manager for the Directory Server. |
| | | private SASLConfigManager saslConfigManager; |
| | | |
| | |
| | | |
| | | |
| | | // Initialize the root DNs. |
| | | new RootDNConfigManager().initializeRootDNs(); |
| | | rootDNConfigManager = new RootDNConfigManager(); |
| | | rootDNConfigManager.initializeRootDNs(); |
| | | |
| | | |
| | | // Initialize the group manager. |
| | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the set of privileges that should automatically be granted to |
| | | * root users when they authenticate. |
| | | * |
| | | * @return The set of privileges that should automatically be granted to root |
| | | * users when they authenticate. |
| | | */ |
| | | public static Set<Privilege> getRootPrivileges() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getRootPrivileges"); |
| | | |
| | | return directoryServer.rootDNConfigManager.getRootPrivileges(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the DNs for the root users configured in the Directory Server. |
| | | * Note that this set should only contain the actual DNs for the root users |
| | | * and not any alternate DNs. Also, the contents of the returned set must not |