From df0a434d42e18e7cef08c9fa804bb0927a3b6a79 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Mon, 21 May 2007 22:47:07 +0000
Subject: [PATCH] Correct problem QA found with fix for issue 1606, where the attribute(s) still were not being returned when they should be. Also, corrected problem where userattr bind rule was using filtered resource entry for userattr bind rule evaluation, causing the bind rule to sometimes not be evaluated correctly if the attribute isn't present during a userattr attribute value expression.
---
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java b/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
index 401e79e..2baf36b 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
@@ -304,4 +304,20 @@
* @return The name of the ACI that last matched a targattrfilters rule.
*/
public String getTargAttrFiltersAciName();
+
+ /**
+ * The full entry with all of the attributes was saved
+ * in the operation's attachment mechanism when the container was created
+ * during the SearchOperation read evaluation. Some operations need the full
+ * entry and not the filtered entry to perform their evaluations, because they
+ * might depend attribute types and values filtered out.
+ *
+ * This method is used to replace the current resource entry with that saved
+ * entry and back.
+ *
+ * @param val Specifies if the saved entry should be used or not. True if it
+ * should be used, false if the original resource entry should be used.
+ *
+ */
+ public void useFullResourceEntry(boolean val);
}
--
Gitblit v1.10.0