From 91fdf0048df4c43fe3b7412ccb7f862eab5f7669 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 02 Feb 2011 20:45:14 +0000
Subject: [PATCH] Fix issue OPENDJ-24: Fix OpenDS issue 4583: during a search op, ACI with targetfilter and targetattrs gets evaluated wrongly  https://bugster.forgerock.org/jira/browse/OPENDJ-24

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

diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
index 50ae0dd..fc62e3d 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2008-2010 Sun Microsystems, Inc.
+ *      Portions Copyright 2011 ForgeRock AS
  */
 
 package org.opends.server.authorization.dseecompat;
@@ -303,30 +304,13 @@
     public String rightToString();
 
     /**
-   * Return the name of the ACI that last matched a targattrfilters rule. Used
-   * in geteffectiverights control evaluation.
-   *
-   * @return The name of the ACI that last matched a targattrfilters rule.
-   */
+     * Return the name of the ACI that last matched a targattrfilters rule. Used
+     * in geteffectiverights control evaluation.
+     *
+     * @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. {@code true}
-   * if it should be used, {@code false} if the original resource entry should
-   * be used.
-   *
-   */
-    public void useFullResourceEntry(boolean val);
-
 
     /**
      * Return the current SSF (Security Strength Factor) of the underlying

--
Gitblit v1.10.0