public class DSMLCompareOperation extends Object
Constructor and Description |
---|
DSMLCompareOperation(LDAPConnection connection)
Create an instance with the specified LDAP connection.
|
Modifier and Type | Method and Description |
---|---|
LDAPResult |
doOperation(ObjectFactory objFactory,
CompareRequest compareRequest,
List<Control> controls)
Perform the LDAP COMPARE operation and send the result back to the
client.
|
public DSMLCompareOperation(LDAPConnection connection)
connection
- The LDAP connection to send the request on.public LDAPResult doOperation(ObjectFactory objFactory, CompareRequest compareRequest, List<Control> controls) throws IOException, LDAPException, org.forgerock.opendj.ldap.DecodeException
objFactory
- The object factory for this operation.compareRequest
- The compare 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.org.forgerock.opendj.ldap.DecodeException
- If an error occurs while interacting with an ASN.1
element.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.