From c0b4060d4467969abf721756f1907653519b62b3 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 20 Mar 2007 23:09:54 +0000
Subject: [PATCH] Add support for dynamic groups, which use the groupOfURLs object class and the memberURL attribute type to specify one or more LDAP URLs containing criteria for membership.

---
 opends/src/server/org/opends/server/protocols/jmx/JmxClientConnection.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/jmx/JmxClientConnection.java b/opends/src/server/org/opends/server/protocols/jmx/JmxClientConnection.java
index 96c4391..1784efb 100644
--- a/opends/src/server/org/opends/server/protocols/jmx/JmxClientConnection.java
+++ b/opends/src/server/org/opends/server/protocols/jmx/JmxClientConnection.java
@@ -52,6 +52,7 @@
 import org.opends.server.types.Control;
 import org.opends.server.types.DN;
 import org.opends.server.types.DereferencePolicy;
+import org.opends.server.types.DirectoryException;
 import org.opends.server.types.DisconnectReason;
 import org.opends.server.types.IntermediateResponse;
 import org.opends.server.types.SearchResultEntry;
@@ -720,9 +721,14 @@
    * @param  searchOperation  The search operation with which the entry is
    *                          associated.
    * @param  searchEntry      The search result entry to be sent to the client.
+   *
+   * @throws  DirectoryException  If a problem occurs while attempting to send
+   *                              the entry to the client and the search should
+   *                              be terminated.
    */
   public void sendSearchEntry(SearchOperation searchOperation,
                               SearchResultEntry searchEntry)
+         throws DirectoryException
   {
     ((InternalSearchOperation) searchOperation).addSearchEntry(searchEntry);
   }
@@ -741,9 +747,14 @@
    *          <CODE>false</CODE> if the client cannot handle referrals and no
    *          more attempts should be made to send them for the associated
    *          search operation.
+   *
+   * @throws  DirectoryException  If a problem occurs while attempting to send
+   *                              the reference to the client and the search
+   *                              should be terminated.
    */
   public boolean sendSearchReference(SearchOperation searchOperation,
                                      SearchResultReference searchReference)
+         throws DirectoryException
   {
     ((InternalSearchOperation)
      searchOperation).addSearchReference(searchReference);

--
Gitblit v1.10.0