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 String |
LDAPUtils.rdnType(Rdn rdn)
When provided an RDN, returns the attribute type name.
|
static String |
LDAPUtils.rdnValue(Rdn rdn)
When provided an RDN, returns the value part.
|
Modifier and Type | Method and Description |
---|---|
static Rdn |
Rdn.maxValue()
Returns a constant containing a special RDN which sorts after any
RDN other than itself.
|
static Rdn |
Rdn.minValue()
Returns a constant containing a special RDN which sorts before any
RDN other than itself.
|
Rdn |
Dn.rdn()
Returns the RDN of this DN, or
null if this DN is the Root DN. |
Rdn |
Dn.rdn(int index)
Returns the RDN at the specified index for this DN,
or
null if no such RDN exists. |
static Rdn |
Rdn.valueOf(String rdn)
Parses the provided LDAP string representation of an RDN using the
default schema.
|
static Rdn |
Rdn.valueOf(String rdn,
Schema schema)
Parses the provided LDAP string representation of a RDN using the
provided schema.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Rdn> |
Dn.iterator()
Returns an iterator of the RDNs contained in this DN.
|
Modifier and Type | Method and Description |
---|---|
Dn |
Dn.child(Rdn rdn)
Returns a DN which is an immediate child of this DN and having the
specified RDN.
|
int |
Rdn.compareTo(Rdn rdn) |
Dn |
Dn.rename(Rdn newRdn,
Dn newSuperior)
Returns a DN whose value is the result of applying LDAP modify DN semantics to this DN.
|
Modifier and Type | Method and Description |
---|---|
Rdn |
ModifyDnRequest.getNewRdn()
Returns the new RDN of the entry to be renamed.
|
Modifier and Type | Method and Description |
---|---|
static ModifyDnRequest |
Requests.newModifyDnRequest(Dn name,
Rdn newRDN)
Creates a new modify DN request using the provided distinguished name and
new RDN.
|
ModifyDnRequest |
ModifyDnRequest.setNewRdn(Rdn rdn)
Sets the new RDN of the entry to be renamed.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.