From c179022074f9136fc38367f31b9843a74c529334 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.
---
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java
index 31dd8d6..d2fd9fa 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java
@@ -39,6 +39,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.SearchFilter;
import org.opends.server.types.SearchResultEntry;
import org.opends.server.types.SearchResultReference;
@@ -46,7 +47,6 @@
-
/**
* This class defines a subclass of the core search operation that is
* to be used for internal searches. The primary difference between
@@ -57,9 +57,6 @@
public class InternalSearchOperation
extends SearchOperation
{
-
-
-
// The internal search listener for this search, if one was
// provided.
private InternalSearchListener searchListener;
@@ -226,8 +223,13 @@
*
* @param searchEntry The search result entry returned for this
* search.
+ *
+ * @throws DirectoryException If a problem occurs while processing
+ * the provided entry and the search
+ * should be terminated.
*/
public void addSearchEntry(SearchResultEntry searchEntry)
+ throws DirectoryException
{
if (searchListener == null)
{
@@ -263,9 +265,14 @@
*
* @param searchReference The search result reference returned for
* this search.
+ *
+ * @throws DirectoryException If a problem occurs while processing
+ * the provided reference and the
+ * search should be terminated.
*/
public void addSearchReference(
SearchResultReference searchReference)
+ throws DirectoryException
{
if (searchListener == null)
{
--
Gitblit v1.10.0