Package | Description |
---|---|
org.forgerock.opendj.io |
Classes and interfaces providing I/O functionality.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.opendj.ldap.controls |
Classes and interfaces for common LDAP controls.
|
org.forgerock.opendj.ldap.messages |
Classes and interfaces for core LDAP requests/responses.
|
org.forgerock.opendj.ldif |
Classes and interfaces for reading and writing LDIF.
|
org.forgerock.opendj.rest2ldap |
APIs for implementing REST to LDAP gateways.
|
org.opends.server.api |
Contains a number of API declarations for use throughout the
Directory Server.
|
org.opends.server.authorization.dseecompat |
Contains the Directory Server Sun Java System Directory Server Enterprise Edition (dseecompat) compatability access
control handler implementation.
|
org.opends.server.core |
Contains various classes that comprise the core of the Directory Server codebase.
|
org.opends.server.extensions |
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
|
org.opends.server.tasks |
Contains implementations for various Directory Server tasks.
|
org.opends.server.types |
Contains implementations for a number of Directory Server data types.
|
org.opends.server.types.operation |
Contains a number of interfaces that are implemented by the various types of Directory Server operations.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
Ldap.readFilter(Asn1Reader reader)
Reads the next ASN.1 element from the provided
ASN1Reader as a Filter using a maximum filter
depth of 100. |
static Filter |
Ldap.readFilter(Asn1Reader reader,
int maxFilterDepth)
Reads the next ASN.1 element from the provided
ASN1Reader as a Filter using the provided maximum
filter depth. |
Modifier and Type | Method and Description |
---|---|
static void |
Ldap.writeFilter(Asn1Writer writer,
Filter filter)
Writes a
Filter to the provided Asn1Writer . |
Modifier and Type | Method and Description |
---|---|
static Filter |
Filter.alwaysFalse()
Returns the
absolute false filter as defined in RFC 4526 which is
comprised of an or filter containing zero components. |
static Filter |
Filter.alwaysTrue()
Returns the
absolute true filter as defined in RFC 4526 which is
comprised of an and filter containing zero components. |
static Filter |
Filter.and(Collection<Filter> subFilters)
Creates a new
and filter using the provided list of sub-filters. |
static Filter |
Filter.and(Filter... subFilters)
Creates a new
and filter using the provided list of sub-filters. |
static Filter |
Filter.approximate(String attributeDescription,
Object assertionValue)
Creates a new
approximate match filter using the provided
attribute description and assertion value. |
static Filter |
Filter.equality(String attributeDescription,
Object assertionValue)
Creates a new
equality match filter using the provided attribute
description and assertion value. |
static Filter |
Filter.extensible(String matchingRule,
String attributeDescription,
Object assertionValue,
boolean dnAttributes)
Creates a new
extensible match filter. |
static Filter |
Filter.format(String template,
Object... assertionValues)
Creates a new filter using the provided filter template and unescaped
assertion values.
|
Filter |
Matcher.getFilter()
Returns the raw
Filter associated with this comparison or undefined filter Matcher . |
Filter |
LdapUrl.getFilter()
Returns the search filter associated with this LDAP URL.
|
Filter |
Filter.getNotSubFilter()
Returns the sub-filter for this NOT filter.
|
static Filter |
Filter.greaterOrEqual(String attributeDescription,
Object assertionValue)
Creates a new
greater or equal filter using the provided
attribute description and assertion value. |
static Filter |
Filter.greaterThan(String attributeDescription,
Object assertionValue)
Creates a new
greater than filter using the provided attribute
description and assertion value. |
static Filter |
Filter.lessOrEqual(String attributeDescription,
Object assertionValue)
Creates a new
less or equal filter using the provided attribute
description and assertion value. |
static Filter |
Filter.lessThan(String attributeDescription,
Object assertionValue)
Creates a new
less than filter using the provided attribute
description and assertion value. |
static Filter |
Filter.not(Filter subFilter)
Creates a new
not filter using the provided sub-filter. |
static Filter |
Filter.objectClassPresent()
Returns the
objectClass presence filter (objectClass=*) . |
static Filter |
Filter.or(Collection<Filter> subFilters)
Creates a new
or filter using the provided list of sub-filters. |
static Filter |
Filter.or(Filter... subFilters)
Creates a new
or filter using the provided list of sub-filters. |
static Filter |
Filter.present(String attributeDescription)
Creates a new
present filter using the provided attribute
description. |
static Filter |
Filter.substrings(String attributeDescription,
Object initialSubstring,
Collection<?> anySubstrings,
Object finalSubstring)
Creates a new
substrings filter using the provided attribute
description, initial , final , and any sub-strings. |
static Filter |
Filter.unrecognized(byte filterTag,
ByteString filterBytes)
Creates a new
unrecognized filter using the provided ASN1 filter
tag and content. |
static Filter |
Filter.valueOf(String string)
Parses the provided LDAP string representation of a filter as a
Filter . |
Modifier and Type | Method and Description |
---|---|
List<Filter> |
Filter.getSubFilters()
Returns an unmodifiable list containing the sub-filters for this AND or OR filter.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
Filter.and(Filter... subFilters)
Creates a new
and filter using the provided list of sub-filters. |
static Filter |
Filter.not(Filter subFilter)
Creates a new
not filter using the provided sub-filter. |
static Filter |
Filter.or(Filter... subFilters)
Creates a new
or filter using the provided list of sub-filters. |
Modifier and Type | Method and Description |
---|---|
static Filter |
Filter.and(Collection<Filter> subFilters)
Creates a new
and filter using the provided list of sub-filters. |
static Filter |
Filter.or(Collection<Filter> subFilters)
Creates a new
or filter using the provided list of sub-filters. |
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 |
---|---|
Filter |
AssertionRequestControl.getFilter()
Returns the assertion filter.
|
Modifier and Type | Method and Description |
---|---|
Collection<Filter> |
MatchedValuesRequestControl.getFilters()
Returns an unmodifiable collection containing the list of filters
associated with this matched values control.
|
Modifier and Type | Method and Description |
---|---|
static AssertionRequestControl |
AssertionRequestControl.newControl(boolean isCritical,
Filter filter)
Creates a new assertion using the provided criticality and assertion
filter.
|
Modifier and Type | Method and Description |
---|---|
static MatchedValuesRequestControl |
MatchedValuesRequestControl.newControl(boolean isCritical,
Collection<Filter> filters)
Creates a new matched values request control with the provided
criticality and list of filters.
|
Modifier and Type | Method and Description |
---|---|
Filter |
SearchRequest.getFilter()
Returns the filter that defines the conditions that must be fulfilled in
order for an entry to be returned.
|
Modifier and Type | Method and Description |
---|---|
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.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.
|
SearchRequest |
SearchRequest.setFilter(Filter filter)
Sets the filter that defines the conditions that must be fulfilled in
order for an entry to be returned.
|
Modifier and Type | Method and Description |
---|---|
LdifEntryWriter |
LdifEntryWriter.setIncludeExcludeFilters(Collection<Filter> includeFilters,
Collection<Filter> excludeFilters)
Sets the filters to include / exclude entries.
|
LdifEntryWriter |
LdifEntryWriter.setIncludeExcludeFilters(Collection<Filter> includeFilters,
Collection<Filter> excludeFilters)
Sets the filters to include / exclude entries.
|
LdifEntryReader |
LdifEntryReader.setIncludeExcludeFilters(Collection<Filter> includeFilters,
Collection<Filter> excludeFilters)
Sets the filters to include / exclude entries.
|
LdifEntryReader |
LdifEntryReader.setIncludeExcludeFilters(Collection<Filter> includeFilters,
Collection<Filter> excludeFilters)
Sets the filters to include / exclude entries.
|
Modifier and Type | Method and Description |
---|---|
ReferencePropertyMapper |
ReferencePropertyMapper.searchFilter(Filter filter)
Sets the filter which should be used when searching for referenced LDAP
entries.
|
Modifier and Type | Method and Description |
---|---|
abstract Filter |
Group.getGroupDefinitionFilter()
Retrieves a search filter that may be used to identify entries containing definitions for groups of this type in
the Directory Server.
|
Modifier and Type | Method and Description |
---|---|
abstract MemberList |
Group.getMembers(Dn baseDN,
SearchScope scope,
Filter filter)
Retrieves an iterator that may be used to cursor through the entries of the members contained in this group.
|
boolean |
AccessControlHandler.isAllowed(Operation operation,
Entry entry,
Filter filter)
Indicates whether the provided operation search filter is allowed based on the access control configuration.
|
boolean |
LocalBackend.isIndexed(Filter filter)
Indicates whether a subtree search using the provided filter would be indexed in this backend.
|
Modifier and Type | Method and Description |
---|---|
void |
EntryCache.setIncludeExcludeFilters(Set<Filter> includeFilters,
Set<Filter> excludeFilters)
Specifies the search filters used for including in / excluding entries from the cache.
|
void |
EntryCache.setIncludeExcludeFilters(Set<Filter> includeFilters,
Set<Filter> excludeFilters)
Specifies the search filters used for including in / excluding entries from the cache.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AciHandler.isAllowed(Operation operation,
Entry entry,
Filter filter) |
Modifier and Type | Method and Description |
---|---|
Filter |
SearchOperation.getFilter()
Retrieves the filter for this search operation.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchOperation.setFilter(Filter filter)
Specifies the search filter as included in the request from the client.
|
Modifier and Type | Method and Description |
---|---|
Filter |
VirtualStaticGroup.getGroupDefinitionFilter() |
Filter |
StaticGroup.getGroupDefinitionFilter() |
Filter |
DynamicGroup.getGroupDefinitionFilter() |
Modifier and Type | Method and Description |
---|---|
static Set<Filter> |
EntryCacheCommon.toFilters(SortedSet<String> filters,
LocalizableMessageDescriptor.Arg3<Object,Object,Object> decodeErrorMsg,
EntryCacheCommon.ConfigErrorHandler errorHandler,
Dn configEntryDN)
Reads a list of string filters and convert it to a list of search filters.
|
Modifier and Type | Method and Description |
---|---|
MemberList |
VirtualStaticGroup.getMembers(Dn baseDN,
SearchScope scope,
Filter filter) |
MemberList |
StaticGroup.getMembers(Dn baseDN,
SearchScope scope,
Filter filter) |
MemberList |
DynamicGroup.getMembers(Dn baseDN,
SearchScope scope,
Filter filter) |
Constructor and Description |
---|
FilteredStaticGroupMemberList(ServerContext serverContext,
Dn groupDN,
Set<org.opends.server.extensions.StaticGroup.CompactDn> memberDNs,
Dn baseDN,
SearchScope scope,
Filter filter)
Creates a new filtered static group member list with the provided information.
|
Modifier and Type | Method and Description |
---|---|
Set<Filter> |
ImportExportParams.getExcludeFilters()
Returns the exclude filters.
|
Set<Filter> |
ImportExportParams.getIncludeFilters()
Returns the include filters.
|
Modifier and Type | Field and Description |
---|---|
static Filter |
LDAPURL.DEFAULT_SEARCH_FILTER
The default search filter that will be used if none is provided.
|
Modifier and Type | Method and Description |
---|---|
Filter |
LDAPURL.getFilter()
Retrieves the processed search filter for this LDAP URL.
|
Modifier and Type | Method and Description |
---|---|
void |
LDAPURL.setFilter(Filter filter)
Specifies the search filter for this LDAP URL.
|
Modifier and Type | Method and Description |
---|---|
void |
LDIFImportConfig.setIncludeExcludeFilters(Set<Filter> includeFilters,
Set<Filter> excludeFilters)
Specifies search filters that should be used to determine which entries to include/exclude from the LDIF.
|
void |
LDIFImportConfig.setIncludeExcludeFilters(Set<Filter> includeFilters,
Set<Filter> excludeFilters)
Specifies search filters that should be used to determine which entries to include/exclude from the LDIF.
|
void |
LDIFExportConfig.setIncludeExcludeFilters(Set<Filter> includeFilters,
Set<Filter> excludeFilters)
Specifies the search filters that should be used to determine which entries to include / exclude in the LDIF.
|
void |
LDIFExportConfig.setIncludeExcludeFilters(Set<Filter> includeFilters,
Set<Filter> excludeFilters)
Specifies the search filters that should be used to determine which entries to include / exclude in the LDIF.
|
Constructor and Description |
---|
LDAPURL(String scheme,
String host,
int port,
Dn baseDN,
LinkedHashSet<String> attributes,
SearchScope scope,
Filter filter,
List<String> extensions)
Creates a new LDAP URL with the provided information.
|
Constructor and Description |
---|
VirtualAttributeRule(AttributeType attributeType,
VirtualAttributeProvider<? extends VirtualAttributeCfg> provider,
Set<Dn> baseDNs,
SearchScope scope,
Set<Dn> groupDNs,
Set<Filter> anyFilter,
VirtualAttributeCfgDefn.ConflictBehavior conflictBehavior)
Creates a new virtual attribute rule with the provided information.
|
Modifier and Type | Method and Description |
---|---|
Filter |
PreParseSearchOperation.getFilter()
Retrieves the search filter as included in the request from the client.
|
Filter |
PreOperationSearchOperation.getFilter()
Retrieves the filter for this search operation.
|
Filter |
PostResponseSearchOperation.getFilter()
Retrieves the filter for this search operation.
|
Filter |
PostOperationSearchOperation.getFilter()
Retrieves the filter for this search operation.
|
Filter |
InProgressSearchOperation.getFilter()
Retrieves the filter for this search operation.
|
Modifier and Type | Method and Description |
---|---|
void |
PreParseSearchOperation.setFilter(Filter filter)
Specifies the search filter as included in the request from the client.
|
Copyright 2010-2022 ForgeRock AS.