From 39e0ea8a34ee4b61883acaa41b73fcf49da73d84 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 01 Aug 2007 01:15:44 +0000
Subject: [PATCH] Add ACI support to control whether a  "smart referral" (named subordinate references -- RFC 3296) may be returned to a client. Smart referral entries contain the referral objectclass and have one or more "ref" attributes containing LDAP URLS. The ref attribute type has usage distributedOperation, so the operational shorthand '+' character can be used to match it:

---
 opends/src/server/org/opends/server/core/SearchOperation.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/SearchOperation.java b/opends/src/server/org/opends/server/core/SearchOperation.java
index 80fb4fa..6769aa2 100644
--- a/opends/src/server/org/opends/server/core/SearchOperation.java
+++ b/opends/src/server/org/opends/server/core/SearchOperation.java
@@ -258,13 +258,15 @@
    * should be performed to potentially send it back to the client.
    *
    * @param  reference  The search reference to send to the client.
+   * @param  dn         The DN related to the specified search reference.
    *
    * @return  <CODE>true</CODE> if the caller should continue processing the
    *          search request and sending additional entries and references , or
    *          <CODE>false</CODE> if not for some reason (e.g., the size limit
    *          has been reached or the search has been abandoned).
    */
-  public abstract boolean returnReference(SearchResultReference reference);
+  public abstract boolean returnReference(DN dn,
+                                          SearchResultReference reference);
 
   /**
    * Sends the search result done message to the client.  Note that this method

--
Gitblit v1.10.0