public class LdapSearches extends Object
Modifier and Type | Method and Description |
---|---|
static void |
findEntries(LdapSearchResultsHandler handler,
LdapConnection conn,
String filter,
String... ldapAttrsToGet) |
static String |
findEntryDN(LdapConnection conn,
ObjectClass oclass,
Uid uid)
Returns the DN of the entry identified by the given Uid.
|
static ConnectorObject |
findObject(LdapConnection conn,
ObjectClass oclass,
LdapFilter filter,
String... attrsToGet) |
static List<ConnectorObject> |
findObjects(LdapConnection conn,
ObjectClass oclass,
String baseDN,
Attribute attr,
String... attrsToGet) |
static LdapEntry |
getEntry(LdapConnection conn,
LdapName entryDN,
String... ldapAttrsToGet) |
static String |
getEntryDN(LdapConnection conn,
ObjectClass oclass,
Uid uid)
Returns the DN of the entry identified by the given Uid.
|
public static String getEntryDN(LdapConnection conn, ObjectClass oclass, Uid uid)
UnknownUidException
if such an entry does not exists.public static String findEntryDN(LdapConnection conn, ObjectClass oclass, Uid uid)
UnknownUidException
if such an entry does not exists, but not necessarily.public static List<ConnectorObject> findObjects(LdapConnection conn, ObjectClass oclass, String baseDN, Attribute attr, String... attrsToGet)
public static ConnectorObject findObject(LdapConnection conn, ObjectClass oclass, LdapFilter filter, String... attrsToGet)
public static LdapEntry getEntry(LdapConnection conn, LdapName entryDN, String... ldapAttrsToGet)
public static void findEntries(LdapSearchResultsHandler handler, LdapConnection conn, String filter, String... ldapAttrsToGet)
Copyright © 2018–2025. All rights reserved.