From 2d0aba220afc66dcb50fcd2639df306a25f639ea Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 02 May 2007 02:02:04 +0000
Subject: [PATCH] Add ACI support for Get Effective Rights control. Issue #87.
---
opends/src/server/org/opends/server/messages/CoreMessages.java | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/CoreMessages.java b/opends/src/server/org/opends/server/messages/CoreMessages.java
index d27a8e9..1f3f357 100644
--- a/opends/src/server/org/opends/server/messages/CoreMessages.java
+++ b/opends/src/server/org/opends/server/messages/CoreMessages.java
@@ -6120,6 +6120,16 @@
CATEGORY_MASK_CORE | SEVERITY_MASK_INFORMATIONAL | 610;
+ /**
+ * The message ID for the message that will be used if a search
+ * operation cannot be processed due to insufficient access rights caused
+ * by an access control check on the geteffectiverights control. This message
+ * takes a single argument, the name of the search operation's base entry.
+ */
+ public static final
+ int MSGID_SEARCH_EFFECTIVERIGHTS_INSUFFICIENT_ACCESS_RIGHTS =
+ CATEGORY_MASK_CORE | SEVERITY_MASK_SEVERE_ERROR | 611;
+
/**
* Associates a set of generic messages with the message IDs defined
@@ -8175,8 +8185,8 @@
"The entry %s cannot be modified due to insufficient access rights");
registerMessage(MSGID_SEARCH_AUTHZ_INSUFFICIENT_ACCESS_RIGHTS,
"The entry %s cannot be searched due to insufficient access rights");
-
-
+ registerMessage(MSGID_SEARCH_EFFECTIVERIGHTS_INSUFFICIENT_ACCESS_RIGHTS,
+ "The entry %s cannot be searched due to insufficient access rights");
registerMessage(MSGID_BIND_OPERATION_INSECURE_SIMPLE_BIND,
"Rejecting a simple bind request for user %s because the " +
"password policy requires secure authentication");
--
Gitblit v1.10.0