From 2b1ccc8723b7cce6708c6f2ac8c10fc1c670b708 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 02 Feb 2007 19:51:36 +0000
Subject: [PATCH] Add initial support for static groups. At present, this does not allow for nested static groups, but it does handle changes to the set of available groups and to group membership while the server is online. It also includes a backend initialization listener API, which makes it possible for components to perform custom processing when a backend is brought online or offline, and this is used to identify all groups at the time that the server is started.
---
opends/src/server/org/opends/server/config/ConfigConstants.java | 39 ++++++++++++++++++++++++++++++++++++---
1 files changed, 36 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/ConfigConstants.java b/opends/src/server/org/opends/server/config/ConfigConstants.java
index 28656a5..2891767 100644
--- a/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -701,6 +701,24 @@
/**
+ * The name of the configuration attribute that specifies the fully-qualified
+ * class name for a group implementation.
+ */
+ public static final String ATTR_GROUP_IMPLEMENTATION_CLASS =
+ NAME_PREFIX_CFG + "group-implementation-class";
+
+
+
+ /**
+ * The name of the configuration attribute that indicates whether a group
+ * implementation should be enabled for use in the server.
+ */
+ public static final String ATTR_GROUP_IMPLEMENTATION_ENABLED =
+ NAME_PREFIX_CFG + "group-implementation-enabled";
+
+
+
+ /**
* The name of the configuration attribute that holds the address of the KDC
* to use when processing SASL GSSAPI binds.
*/
@@ -2537,6 +2555,15 @@
/**
* The DN of the entry that will serve as the base for the configuration
+ * for all Directory Server group implementations.
+ */
+ public static final String DN_GROUP_IMPLEMENTATION_CONFIG_BASE =
+ "cn=Group Implementations," + DN_CONFIG_ROOT;
+
+
+
+ /**
+ * The DN of the entry that will serve as the base for the configuration
* for all Directory Server identity mappers.
*/
public static final String DN_IDMAPPER_CONFIG_BASE =
@@ -2903,6 +2930,15 @@
/**
+ * The name of the objectclass that will be used for a Directory Server group
+ * implementation.
+ */
+ public static final String OC_GROUP_IMPLEMENTATION =
+ NAME_PREFIX_CFG + "group-implementation";
+
+
+
+ /**
* The name of the objectclass that will be used for a Directory Server
* identity mapper.
*/
@@ -3727,9 +3763,6 @@
*/
public static final String ATTR_TASK_BACKUP_SIGN_HASH =
NAME_PREFIX_TASK + "backup-sign-hash";
-
-
-
/**
* The name of the attribute in the add schema file task definition that
* specifies the name of the schema file to be added.
--
Gitblit v1.10.0