mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
11.03.2013 764833f650b491bd0496a739f212d85238b8c769
opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/LDAPSearchFutureResultImpl.java
@@ -27,6 +27,8 @@
package com.forgerock.opendj.ldap;
import static org.forgerock.opendj.ldap.controls.PersistentSearchRequestControl.ACTIVE_DIRECTORY_OID;
import org.forgerock.opendj.ldap.Connection;
import org.forgerock.opendj.ldap.IntermediateResponseHandler;
import org.forgerock.opendj.ldap.ResultCode;
@@ -54,7 +56,9 @@
        super(requestID, resultHandler, intermediateResponseHandler, connection);
        this.request = request;
        this.searchResultHandler = resultHandler;
        this.isPersistentSearch = request.containsControl(PersistentSearchRequestControl.OID);
        this.isPersistentSearch =
                request.containsControl(PersistentSearchRequestControl.OID)
                        || request.containsControl(ACTIVE_DIRECTORY_OID);
    }
    public boolean handleEntry(final SearchResultEntry entry) {