public class LdapSearch extends Object
LdapConnection.| Constructor and Description |
|---|
LdapSearch(LdapConnection conn,
org.identityconnectors.framework.common.objects.ObjectClass oclass,
LdapFilter filter,
org.identityconnectors.framework.common.objects.OperationOptions options) |
LdapSearch(LdapConnection conn,
org.identityconnectors.framework.common.objects.ObjectClass oclass,
LdapFilter filter,
org.identityconnectors.framework.common.objects.OperationOptions options,
String... baseDNs) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.identityconnectors.framework.common.objects.ResultsHandler handler)
Performs the search and passes the resulting
ConnectorObjects to the given handler. |
static Set<String> |
getAttributesReturnedByDefault(LdapConnection conn,
org.identityconnectors.framework.common.objects.ObjectClass oclass) |
org.identityconnectors.framework.common.objects.ConnectorObject |
getSingleResult()
Executes the query against all configured base DNs and returns the first
ConnectorObject or null. |
public LdapSearch(LdapConnection conn, org.identityconnectors.framework.common.objects.ObjectClass oclass, LdapFilter filter, org.identityconnectors.framework.common.objects.OperationOptions options)
public LdapSearch(LdapConnection conn, org.identityconnectors.framework.common.objects.ObjectClass oclass, LdapFilter filter, org.identityconnectors.framework.common.objects.OperationOptions options, String... baseDNs)
public static Set<String> getAttributesReturnedByDefault(LdapConnection conn, org.identityconnectors.framework.common.objects.ObjectClass oclass)
public final void execute(org.identityconnectors.framework.common.objects.ResultsHandler handler)
ConnectorObjects to the given handler.handler - the handler.NamingException - if a JNDI exception occurs.public final org.identityconnectors.framework.common.objects.ConnectorObject getSingleResult()
ConnectorObject or null.Copyright © 2013. All Rights Reserved.