From 18527d72832f59ff75efe08d7960b373896f453a Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 10 Aug 2006 23:47:27 +0000
Subject: [PATCH] Add an account status notification handler config manager, which is responsible for loading the account status notification handlers on startup, as well as registering and deregistering them accordingly as changes are made to the configuration while the server is running.
---
opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java b/opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java
index c815930..226ed2a 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -106,6 +106,24 @@
/**
+ * The name of the configuration attribute that holds the fully-qualified name
+ * for the account status notification handler class.
+ */
+ public static final String ATTR_ACCT_NOTIFICATION_HANDLER_CLASS =
+ NAME_PREFIX_CFG + "account-status-notification-handler-class";
+
+
+
+ /**
+ * The name of the configuration attribute that indicates whether an account
+ * status notification handler is enabled.
+ */
+ public static final String ATTR_ACCT_NOTIFICATION_HANDLER_ENABLED =
+ NAME_PREFIX_CFG + "account-status-notification-handler-enabled";
+
+
+
+ /**
* The name of the configuration attribute that indicates whether to
* automatically add missing RDN attributes or to return an error response to
* the client.
@@ -2392,6 +2410,15 @@
/**
* The DN of the entry that will serve as the base for all Directory Server
+ * account status notification handlers.
+ */
+ public static final String DN_ACCT_NOTIFICATION_HANDLER_CONFIG_BASE =
+ "cn=Account Status Notification Handlers," + DN_CONFIG_ROOT;
+
+
+
+ /**
+ * The DN of the entry that will serve as the base for all Directory Server
* backends.
*/
public static final String DN_BACKEND_BASE = "cn=Backends," + DN_CONFIG_ROOT;
@@ -2724,6 +2751,15 @@
/**
+ * The name of the objectclass that will be used for a Directory Server
+ * account status notification handler.
+ */
+ public static final String OC_ACCT_NOTIFICATION_HANDLER =
+ NAME_PREFIX_CFG + "account-status-notification-handler";
+
+
+
+ /**
* The name of the objectclass that will be used for a Directory Server alert
* handler.
*/
--
Gitblit v1.10.0