From 5b48640c910cc20ca84f1811854f9e77934bad3e Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Thu, 08 Mar 2007 23:08:37 +0000
Subject: [PATCH] Fix for issue #1317: Wrong Error Code For Improperly Formatted ACIs.

---
 opends/src/server/org/opends/server/authorization/dseecompat/AciMessages.java |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)

diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciMessages.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciMessages.java
index d75ac45..2015c1c 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciMessages.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciMessages.java
@@ -474,24 +474,6 @@
         CATEGORY_MASK_ACCESS_CONTROL  | 45;
 
     /**
-     * The message ID for the ACI message that will be generated when a client
-     * attempts to add an entry with the "aci" attribute type
-     * and the ACI decode failed because of an syntax error.  This takes one
-     * argument, which is the message string thrown by the AciException.
-     */
-    public static final int MSGID_ACI_ADD_FAILED_DECODE =
-        CATEGORY_MASK_ACCESS_CONTROL | SEVERITY_MASK_SEVERE_WARNING | 46;
-
-    /**
-     * The message ID for the ACI message that will be generated when a client
-     * attempts to perform a modification on an "aci" attribute type
-     * and the ACI decode failed because of a syntax error.  This takes one
-     * argument, which is the message string thrown by the AciException.
-     */
-    public static final int MSGID_ACI_MODIFY_FAILED_DECODE =
-        CATEGORY_MASK_ACCESS_CONTROL | SEVERITY_MASK_SEVERE_WARNING | 47;
-
-    /**
      * The message ID for the ACI message that will be generated when
      * an ACI decode failed because of an syntax error. This message is usually
      * generated by an invalid ACI that was added during import which
@@ -876,16 +858,6 @@
                 "attribute type in the entry \"%s\" failed, because the" +
                 "authorization DN \"%s\" lacked modify-acl privileges.");
 
-        registerMessage(MSGID_ACI_ADD_FAILED_DECODE,
-                "An attempt to add the entry \"%s\" containing" +
-                " an aci attribute type failed because of the following" +
-                " reason: %s");
-
-        registerMessage(MSGID_ACI_MODIFY_FAILED_DECODE,
-                "An attempt to modify an aci "+
-                "attribute type in the entry \"%s\" failed "+
-                "because of the following reason: %s");
-
         registerMessage(MSGID_ACI_ADD_LIST_FAILED_DECODE,
                 "An attempt to decode an Access Control Instruction (ACI)" +
                 " failed because of the following reason: %s");

--
Gitblit v1.10.0