Package | Description |
---|---|
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.ldap.schema |
Classes and interfaces for constructing and querying LDAP schemas.
|
Modifier and Type | Method and Description |
---|---|
static Function<ByteString,Boolean,LocalizedIllegalArgumentException> |
Functions.byteStringToBoolean()
Returns a function which parses
Boolean values. |
static Function<ByteString,Dn,LocalizedIllegalArgumentException> |
Functions.byteStringToDn()
Returns a function which parses
DN s using the default schema. |
static Function<ByteString,Dn,LocalizedIllegalArgumentException> |
Functions.byteStringToDn(Schema schema)
Returns a function which parses
DN s using the provided schema. |
static Function<ByteString,GeneralizedTime,LocalizedIllegalArgumentException> |
Functions.byteStringToGeneralizedTime()
Returns a function which parses generalized time strings.
|
static Function<ByteString,Integer,LocalizedIllegalArgumentException> |
Functions.byteStringToInteger()
Returns a function which parses
Integer string values. |
static Function<ByteString,Long,LocalizedIllegalArgumentException> |
Functions.byteStringToLong()
Returns a function which parses
Long string values. |
Modifier and Type | Method and Description |
---|---|
Dn |
Dn.child(String dn)
Returns a DN which is subordinate to this DN and having the additional
RDN components contained in the provided DN decoded using the default
schema.
|
static Dn |
Dn.format(String template,
Object... attributeValues)
Creates a new DN using the provided DN template and unescaped attribute
values using the default schema.
|
static Dn |
Dn.format(String template,
Schema schema,
Object... attributeValues)
Creates a new DN using the provided DN template and unescaped attribute
values using the provided schema.
|
boolean |
Dn.isChildOf(String dn)
Returns
true if this DN is an immediate child of the provided DN
decoded using the default schema. |
boolean |
Dn.isInScopeOf(String dn,
SearchScope scope)
Returns
true if this DN matches the provided base DN and search
scope. |
boolean |
Dn.isParentOf(String dn)
Returns
true if this DN is the immediate parent of the provided
DN. |
boolean |
Dn.isSubordinateOrEqualTo(String dn)
Returns
true if this DN is subordinate to or equal to the provided DN. |
boolean |
Dn.isSuperiorOrEqualTo(String dn)
Returns
true if this DN is superior to or equal to the provided
DN. |
static Dn |
Dn.valueOf(ByteString dn)
Parses the provided LDAP string representation of a DN using the default schema.
|
static Dn |
Dn.valueOf(String dn)
Parses the provided LDAP string representation of a DN using the default schema.
|
static Dn |
Dn.valueOf(String dn,
Schema schema)
Parses the provided LDAP string representation of a DN using the provided schema.
|
Modifier and Type | Method and Description |
---|---|
static ProxiedAuthV2RequestControl |
ProxiedAuthV2RequestControl.newControl(String authorizationId)
Creates a new proxy authorization v2 request control with the provided
authorization ID.
|
Modifier and Type | Method and Description |
---|---|
static AddRequest |
Requests.newAddRequest(String... ldifLines)
Creates a new add request using the provided lines of LDIF decoded using
the default schema.
|
static AddRequest |
Requests.newAddRequest(String name)
Creates a new add request using the provided distinguished name decoded
using the default schema.
|
static ChangeRecord |
Requests.newChangeRecord(String... ldifLines)
Creates a new change record (an add, delete, modify, or modify DN
request) using the provided lines of LDIF decoded using the default
schema.
|
static CompareRequest |
Requests.newCompareRequest(String name,
String attributeDescription,
Object assertionValue)
Creates a new compare request using the provided distinguished name,
attribute name, and assertion value decoded using the default schema.
|
static DeleteRequest |
Requests.newDeleteRequest(String name)
Creates a new delete request using the provided distinguished name
decoded using the default schema.
|
static ModifyDnRequest |
Requests.newModifyDnRequest(String name,
String newRDN)
Creates a new modify DN request using the provided distinguished name and
new RDN decoded using the default schema.
|
static ModifyRequest |
Requests.newModifyRequest(String... ldifLines)
Creates a new modify request using the provided lines of LDIF decoded
using the default schema.
|
static ModifyRequest |
Requests.newModifyRequest(String name)
Creates a new modify request using the provided distinguished name
decoded using the default schema.
|
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 BindRequest |
Requests.newSimpleBindRequest(String name,
byte[] password)
Creates a new simple bind request having the provided name and password
suitable for name/password authentication.
|
static BindRequest |
Requests.newSimpleBindRequest(String name,
String password)
Creates a new simple bind request having the provided name and password
suitable for name/password authentication.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ConflictingSchemaElementException
Thrown when addition of a schema element to a schema builder fails because
the OID of the schema element conflicts with an existing schema element and
the caller explicitly requested not to override existing schema elements.
|
class |
UnknownSchemaElementException
Thrown when a schema query fails because the requested schema element could
not be found or is ambiguous.
|
Copyright 2010-2022 ForgeRock AS.