Package | Description |
---|---|
org.forgerock.openam.ldap |
This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
LDAPUtils.parseFilter(String filter,
Filter defaultFilter)
Parses the incoming filter, and in case of failure falls back to the default filter.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
LDAPUtils.parseFilter(String filter,
Filter defaultFilter)
Parses the incoming filter, and in case of failure falls back to the default filter.
|
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.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.