From 7dbb2ffb7f4587baf363193f7e25aa11bfc775c4 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Fri, 06 Apr 2007 00:01:33 +0000
Subject: [PATCH] Add ACI support for LDAP modify DN operation (export and import rights). Also add support for self-write (selfwrite) right.

---
 opendj-sdk/opends/src/server/org/opends/server/messages/AciMessages.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/messages/AciMessages.java b/opendj-sdk/opends/src/server/org/opends/server/messages/AciMessages.java
index 23c43e9..0103519 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/messages/AciMessages.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/messages/AciMessages.java
@@ -722,6 +722,13 @@
     public static final int MSGID_PATTERN_DN_TYPE_WILDCARD_IN_MULTIVALUED_RDN =
          CATEGORY_MASK_ACCESS_CONTROL | SEVERITY_MASK_SEVERE_WARNING | 71;
 
+   /**
+    * The message ID for the message that will be used if the server is unable to
+    * obtain a lock on a ModifyDN new superior entry.  This takes a
+    * single argument, which is the DN of the new superior entry.
+    */
+   public static final int MSGID_ACI_HANDLER_CANNOT_LOCK_NEW_SUPERIOR_USER =
+        CATEGORY_MASK_ACCESS_CONTROL | SEVERITY_MASK_SEVERE_WARNING | 72;
 
     /**
      * Associates a set of generic messages with the message IDs defined in
@@ -1137,5 +1144,8 @@
         registerMessage(MSGID_PATTERN_DN_TYPE_WILDCARD_IN_MULTIVALUED_RDN,
           "The pattern DN %s is not valid because it contains a wildcard in " +
                "an attribute type in a multi-valued RDN");
+
+      registerMessage(MSGID_ACI_HANDLER_CANNOT_LOCK_NEW_SUPERIOR_USER,
+          "Unable to obtain a lock on the ModifyDN new superior entry %s.");
     }
 }

--
Gitblit v1.10.0