public class DSMLSearchOperation extends Object
Constructor and Description |
---|
DSMLSearchOperation(LDAPConnection connection)
Create the instance with the specified connection.
|
Modifier and Type | Method and Description |
---|---|
SearchResponse |
doSearch(ObjectFactory objFactory,
SearchRequest searchRequest,
List<Control> controls)
Perform the LDAP SEARCH operation and send the result back to the
client.
|
public DSMLSearchOperation(LDAPConnection connection)
connection
- The LDAP connection to send the request on.public SearchResponse doSearch(ObjectFactory objFactory, SearchRequest searchRequest, List<Control> controls) throws IOException, LDAPException
objFactory
- The object factory for this operation.searchRequest
- The search request for this operation.controls
- Any required controls (e.g. for proxy authz).IOException
- If an I/O problem occurs.LDAPException
- If an error occurs while interacting with an LDAP
element.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.