use of org.forgerock.opendj.ldap.SearchResultHandler in project OpenAM by OpenRock.
the class ADBackend method handleSearch.
public void handleSearch(RequestContext requestContext, SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, final SearchResultHandler searchHandler, final LdapResultHandler<Result> resultHandler) {
SearchResultHandler fakeHandler = new SearchResultHandler() {
public boolean handleEntry(SearchResultEntry entry) {
return searchHandler.handleEntry(entry);
}
public boolean handleReference(SearchResultReference reference) {
return searchHandler.handleReference(reference);
}
};
backend.handleSearch(requestContext, request, intermediateResponseHandler, fakeHandler, resultHandler);
}
Aggregations