Package | Description |
---|---|
org.forgerock.openam.ldap |
This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.opendj.ldap.messages |
Classes and interfaces for core LDAP requests/responses.
|
Modifier and Type | Method and Description |
---|---|
static SearchScope |
LDAPUtils.getSearchScope(String scope,
SearchScope defaultScope)
Converts string representation of scope (as defined in the configuration) to the corresponding
SearchScope object. |
Modifier and Type | Method and Description |
---|---|
static SearchScope |
LDAPUtils.getSearchScope(String scope,
SearchScope defaultScope)
Converts string representation of scope (as defined in the configuration) to the corresponding
SearchScope object. |
Modifier and Type | Field and Description |
---|---|
static SearchScope |
SearchScope.BASE_OBJECT
The scope is constrained to the search base entry.
|
static SearchScope |
SearchScope.SINGLE_LEVEL
The scope is constrained to the immediate subordinates of the search base entry.
|
static SearchScope |
SearchScope.SUBORDINATES
The scope is constrained to all the subordinates of the search base
entry, but does not include the search base entry itself (as wholeSubtree
does).
|
static SearchScope |
SearchScope.WHOLE_SUBTREE
The scope is constrained to the search base entry and to all its subordinates.
|
Modifier and Type | Method and Description |
---|---|
SearchScope |
LdapUrl.getScope()
Returns the search scope associated with this LDAP URL.
|
static SearchScope |
SearchScope.valueOf(int intValue)
Returns the search scope having the specified integer value as defined in
RFC 4511 section 4.5.1.2.
|
static SearchScope |
SearchScope.valueOf(String name)
Returns the search scope having the specified name as defined in RFC 4511
section 4.5.1.2.
|
Modifier and Type | Method and Description |
---|---|
static List<SearchScope> |
SearchScope.values()
Returns an unmodifiable list containing the set of available search
scopes indexed on their integer value as defined in RFC 4511 section
4.5.1.2.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Dn.isInScopeOf(Dn dn,
SearchScope scope)
Returns
true if this DN matches the provided base DN and search
scope. |
boolean |
Dn.isInScopeOf(String dn,
SearchScope scope)
Returns
true if this DN matches the provided base DN and search
scope. |
ConnectionEntryReader |
Connection.search(String baseObject,
SearchScope scope,
String filter,
String... attributeDescriptions)
Searches the Directory Server using the provided search parameters.
|
ConnectionEntryReader |
AbstractConnectionWrapper.search(String baseObject,
SearchScope scope,
String filter,
String... attributeDescriptions)
Searches the Directory Server using the provided search parameters.
|
ConnectionEntryReader |
AbstractConnection.search(String baseObject,
SearchScope scope,
String filter,
String... attributeDescriptions) |
SearchResultEntry |
Connection.searchSingleEntry(String baseObject,
SearchScope scope,
String filter,
String... attributeDescriptions)
Searches the Directory Server for a single entry using the provided
search parameters.
|
SearchResultEntry |
AbstractConnectionWrapper.searchSingleEntry(String baseObject,
SearchScope scope,
String filter,
String... attributeDescriptions)
Searches the Directory Server for a single entry using the provided
search parameters.
|
SearchResultEntry |
AbstractConnection.searchSingleEntry(String baseObject,
SearchScope scope,
String filter,
String... attributeDescriptions) |
Constructor and Description |
---|
LdapUrl(boolean isSecured,
String host,
Integer port,
Dn name,
SearchScope scope,
Filter filter,
String... attributes)
Creates a new LDAP URL including the full set of parameters for a search
request.
|
Modifier and Type | Method and Description |
---|---|
SearchScope |
SearchRequest.getScope()
Returns the scope of the search.
|
Modifier and Type | Method and Description |
---|---|
static SearchRequest |
Requests.newSearchRequest(Dn name,
SearchScope scope)
Creates a new search request using the provided distinguished name and scope.
|
static SearchRequest |
Requests.newSearchRequest(Dn name,
SearchScope scope,
Filter filter,
String... attributeDescriptions)
Creates a new search request using the provided distinguished name,
scope, and filter.
|
static SearchRequest |
Requests.newSearchRequest(String name,
SearchScope scope)
Creates a new search request using the provided distinguished name and scope.
|
static SearchRequest |
Requests.newSearchRequest(String name,
SearchScope scope,
String filter,
String... attributeDescriptions)
Creates a new search request using the provided distinguished name,
scope, and filter, decoded using the default schema.
|
static SearchRequest |
Requests.newSingleEntrySearchRequest(Dn name,
SearchScope scope,
Filter filter,
String... attributeDescriptions)
Creates a new search request for a single entry, using the provided distinguished name,
scope, and filter.
|
static SearchRequest |
Requests.newSingleEntrySearchRequest(String name,
SearchScope scope,
String filter,
String... attributeDescriptions)
Creates a new search request for a single entry, using the provided distinguished name,
scope, and filter, decoded using the default schema.
|
SearchRequest |
SearchRequest.setScope(SearchScope scope)
Sets the scope of the search.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.