From f8fda0d8fcc71d68e644dcb21fcb282edc0fdc2c Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Fri, 18 May 2007 14:09:11 +0000
Subject: [PATCH] Remove ACI roledn bind rule keyword. Issue #1577.
---
opends/src/server/org/opends/server/messages/AciMessages.java | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/AciMessages.java b/opends/src/server/org/opends/server/messages/AciMessages.java
index 9935405..536d22f 100644
--- a/opends/src/server/org/opends/server/messages/AciMessages.java
+++ b/opends/src/server/org/opends/server/messages/AciMessages.java
@@ -747,7 +747,7 @@
public static final int MSGID_ACI_TARGETATTR_INVALID_OP_USER_ATTR =
CATEGORY_MASK_ACCESS_CONTROL | SEVERITY_MASK_SEVERE_WARNING | 74;
- /**
+ /**
* The message ID for the message that will be used if a targetattr
* keyword expression performs both an inequality operation using
* operational attribute types. This takes one argument, which is the
@@ -756,6 +756,14 @@
public static final int MSGID_ACI_TARGATTR_INVALID_OP_ATTR_INEQUALITY =
CATEGORY_MASK_ACCESS_CONTROL | SEVERITY_MASK_SEVERE_WARNING | 75;
+ /**
+ * The message ID for the message that will be used if a roledn
+ * keyword expression is parsed. The roledn keyword is not supported.
+ * This takes one argument, which is the roledn expression string.
+ */
+ public static final int MSGID_ACI_SYNTAX_ROLEDN_NOT_SUPPORTED =
+ CATEGORY_MASK_ACCESS_CONTROL | SEVERITY_MASK_SEVERE_WARNING | 76;
+
/**
* Associates a set of generic messages with the message IDs defined in
* this class.
@@ -1189,5 +1197,11 @@
"targetattr expression value \"%s\" is invalid because" +
" the expression performs an inequality operation using " +
"operational attribute types");
+
+ registerMessage(MSGID_ACI_SYNTAX_ROLEDN_NOT_SUPPORTED,
+ "The provided Access Control Instruction (ACI) expression " +
+ "value \"%s\" is invalid because it contains" +
+ " the roledn keyword, which is not supported, replace it with " +
+ "the groupdn keyword");
}
}
--
Gitblit v1.10.0