| Modifier and Type | Method and Description |
|---|---|
Dn |
CursorLdapReferralException.getRemainingDn() |
| Modifier and Type | Field and Description |
|---|---|
private Dn |
DefaultEntry.dn
The Dn for this entry
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
Entry.getDn()
Get this entry's Dn.
|
Dn |
DefaultEntry.getDn()
Get this entry's Dn.
|
Dn |
ImmutableEntry.getDn()
Get this entry's Dn.
|
private Dn |
DefaultEntry.normalizeDn(Dn dn)
Normalizes the given Dn if it was not already normalized
|
| Modifier and Type | Method and Description |
|---|---|
private Dn |
DefaultEntry.normalizeDn(Dn dn)
Normalizes the given Dn if it was not already normalized
|
void |
Entry.setDn(Dn dn)
Set this entry's Dn.
|
void |
DefaultEntry.setDn(Dn dn)
Set this entry's Dn.
|
void |
ImmutableEntry.setDn(Dn dn)
Set this entry's Dn.
|
static Entry |
AttributeUtils.toEntry(Attributes attributes,
Dn dn)
Convert a BasicAttributes or a AttributesImpl to an Entry
|
| Constructor and Description |
|---|
DefaultEntry(Dn dn)
Creates a new instance of DefaultEntry, with a Dn.
|
DefaultEntry(Dn dn,
Object... elements)
Creates a new instance of DefaultEntry, with a
Dn and a list of IDs.
|
DefaultEntry(SchemaManager schemaManager,
Dn dn)
Creates a new instance of DefaultEntry, schema aware.
|
DefaultEntry(SchemaManager schemaManager,
Dn dn,
Object... elements)
Creates a new instance of DefaultEntry, with a
Dn and a list of IDs.
|
| Modifier and Type | Field and Description |
|---|---|
private Dn |
AbstractLdapReferralException.remainingDn
The remaining Dn
|
private Dn |
LdapReferralException.remainingDn
The remaining Dn
|
protected Dn |
LdapOperationException.resolvedDn
The resolved Dn
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
AbstractLdapReferralException.getRemainingDn() |
Dn |
LdapReferralException.getRemainingDn() |
Dn |
LdapOperationException.getResolvedDn() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractLdapReferralException.setRemainingDn(Dn remainingDn) |
void |
LdapReferralException.setRemainingDn(Dn remainingDn) |
void |
LdapOperationException.setResolvedDn(Dn resolvedDn) |
| Modifier and Type | Field and Description |
|---|---|
private Dn |
ScopeNode.baseDn
the search base
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
ScopeNode.getBaseDn()
Gets the base dn.
|
| Constructor and Description |
|---|
ScopeNode(AliasDerefMode aliasDerefAliases,
Dn baseDn,
String baseId,
SearchScope scope)
Creates a new ScopeNode object.
|
| Modifier and Type | Field and Description |
|---|---|
private Dn |
LdifEntry.entryDn
the DN
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
LdifEntry.getDn() |
| Modifier and Type | Method and Description |
|---|---|
static String |
LdifUtils.convertToLdif(Attributes attrs,
Dn dn)
Convert an Attributes as LDIF.
|
static String |
LdifUtils.convertToLdif(Attributes attrs,
Dn dn,
int length)
Convert an Attributes as LDIF.
|
private static LdifEntry |
LdifRevertor.generateModify(Dn parentDn,
Entry entry,
Rdn oldRdn,
Rdn newRdn)
A helper method to generate the modified attribute after a rename.
|
private static LdifEntry |
LdifRevertor.generateReverted(Dn newSuperior,
Rdn newRdn,
Dn newDn,
Rdn oldRdn,
boolean deleteOldRdn)
A helper method which generates a reverted entry for a MODDN operation
|
static LdifEntry |
LdifRevertor.reverseAdd(Dn dn)
Compute a reverse LDIF of an AddRequest.
|
static LdifEntry |
LdifRevertor.reverseDel(Dn dn,
Entry deletedEntry)
Compute a reverse LDIF of a DeleteRequest.
|
static LdifEntry |
LdifRevertor.reverseModify(Dn dn,
List<Modification> forwardModifications,
Entry modifiedEntry)
Compute the reversed LDIF for a modify request.
|
static LdifEntry |
LdifRevertor.reverseMove(Dn newSuperiorDn,
Dn modifiedDn)
Compute a reverse LDIF for a forward change which if in LDIF format
would represent a Move operation.
|
static List<LdifEntry> |
LdifRevertor.reverseMoveAndRename(Entry entry,
Dn newSuperior,
Rdn newRdn,
boolean deleteOldRdn)
Revert a Dn to it's previous version by removing the first Rdn and adding the given Rdn.
|
private static LdifEntry |
LdifRevertor.revertEntry(Entry entry,
Dn newDn,
Dn newSuperior,
Rdn oldRdn,
Rdn newRdn)
A small helper class to compute the simple revert.
|
void |
LdifEntry.setDn(Dn dn)
Set the Distinguished Name
|
| Constructor and Description |
|---|
LdifEntry(Dn dn,
Object... avas)
Creates a LdifEntry using a list of strings representing the Ldif element
|
| Modifier and Type | Field and Description |
|---|---|
private Dn |
SearchRequestImpl.baseDn
Search base distinguished name
|
private Dn |
BindRequestImpl.dn
Distinguished name identifying the name of the authenticating subject -
defaults to the empty string
|
private Dn |
LdapResultImpl.matchedDn
Lowest matched entry Dn - defaults to empty string
|
private Dn |
ModifyRequestImpl.name
Dn of the entry to modify or PDU's object field
|
private Dn |
ModifyDnRequestImpl.name
PDU's modify Dn candidate entry distinguished name property
|
private Dn |
DeleteRequestImpl.name
The distinguished name of the entry to delete
|
private Dn |
CompareRequestImpl.name
Distinguished name identifying the compared entry
|
private Dn |
ModifyDnRequestImpl.newSuperior
PDU's newSuperior distinguished name property
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
SearchRequest.getBase()
Gets the search base as a distinguished name.
|
Dn |
SearchRequestImpl.getBase()
Gets the search base as a distinguished name.
|
Dn |
BindRequestImpl.getDn()
Gets the DN of the subject in this authentication
request.
|
Dn |
BindRequest.getDn()
Gets the DN of the subject in this authentication
request.
|
Dn |
AddRequest.getEntryDn()
Gets the distinguished name of the entry to add.
|
Dn |
AddRequestImpl.getEntryDn()
Gets the distinguished name of the entry to add.
|
Dn |
LdapResultImpl.getMatchedDn()
Gets the lowest entry in the directory that was matched.
|
Dn |
LdapResult.getMatchedDn()
Gets the lowest entry in the directory that was matched.
|
Dn |
CompareRequest.getName()
Gets the distinguished name of the entry to be compared using the
attribute value assertion.
|
Dn |
ModifyRequestImpl.getName()
Gets the distinguished name of the entry to be modified by this request.
|
Dn |
ModifyDnRequest.getName()
Gets the entry's distinguished name representing the entry PDU
field.
|
Dn |
DeleteRequest.getName()
Gets the distinguished name of the leaf entry to be deleted by this
request.
|
Dn |
ModifyDnRequestImpl.getName()
Gets the entry's distinguished name representing the entry PDU
field.
|
Dn |
ModifyRequest.getName()
Gets the distinguished name of the entry to be modified by this request.
|
Dn |
DeleteRequestImpl.getName()
Gets the distinguished name of the leaf entry to be deleted by this
request.
|
Dn |
CompareRequestImpl.getName()
Gets the distinguished name of the entry to be compared using the
attribute value assertion.
|
Dn |
ModifyDnRequest.getNewSuperior()
Gets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
Dn |
ModifyDnRequestImpl.getNewSuperior()
Gets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
Dn |
SearchResultEntry.getObjectName()
Gets the distinguished name of the entry object returned.
|
Dn |
SearchResultEntryImpl.getObjectName()
Gets the distinguished name of the entry object returned.
|
| Modifier and Type | Method and Description |
|---|---|
SearchRequest |
SearchRequest.setBase(Dn baseDn)
Sets the search base as a distinguished name.
|
SearchRequest |
SearchRequestImpl.setBase(Dn base)
Sets the search base as a distinguished name.
|
BindRequest |
BindRequestImpl.setDn(Dn dn)
Sets the DN of the subject in this authentication
request.
|
BindRequest |
BindRequest.setDn(Dn name)
Sets the DN of the subject in this authentication
request.
|
AddRequest |
AddRequest.setEntryDn(Dn entry)
Sets the distinguished name of the entry to add.
|
AddRequest |
AddRequestImpl.setEntryDn(Dn dn)
Sets the distinguished name of the entry to add.
|
void |
LdapResultImpl.setMatchedDn(Dn matchedDn)
Sets the lowest entry in the directory that was matched.
|
void |
LdapResult.setMatchedDn(Dn dn)
Sets the lowest entry in the directory that was matched.
|
CompareRequest |
CompareRequest.setName(Dn name)
Sets the distinguished name of the entry to be compared using the
attribute value assertion.
|
ModifyRequest |
ModifyRequestImpl.setName(Dn name)
Sets the distinguished name of the entry to be modified by this request.
|
ModifyDnRequest |
ModifyDnRequest.setName(Dn name)
Sets the entry's distinguished name representing the entry PDU
field.
|
DeleteRequest |
DeleteRequest.setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this
request.
|
ModifyDnRequest |
ModifyDnRequestImpl.setName(Dn name)
Sets the entry's distinguished name representing the entry PDU
field.
|
ModifyRequest |
ModifyRequest.setName(Dn name)
Sets the distinguished name of the entry to be modified by this request.
|
DeleteRequest |
DeleteRequestImpl.setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this
request.
|
CompareRequest |
CompareRequestImpl.setName(Dn name)
Sets the distinguished name of the entry to be compared using the
attribute value assertion.
|
ModifyDnRequest |
ModifyDnRequest.setNewSuperior(Dn newSuperior)
Sets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
ModifyDnRequest |
ModifyDnRequestImpl.setNewSuperior(Dn newSuperior)
Sets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
void |
SearchResultEntry.setObjectName(Dn objectName)
Sets the distinguished name of the entry object returned.
|
void |
SearchResultEntryImpl.setObjectName(Dn objectName)
Sets the distinguished name of the entry object returned.
|
| Modifier and Type | Field and Description |
|---|---|
private Dn |
EntryChangeImpl.previousDn
The previous Dn
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
EntryChange.getPreviousDn() |
Dn |
EntryChangeImpl.getPreviousDn() |
| Modifier and Type | Method and Description |
|---|---|
void |
EntryChange.setPreviousDn(Dn previousDn)
Sets the previous DN
|
void |
EntryChangeImpl.setPreviousDn(Dn previousDn)
Sets the previous DN
|
| Modifier and Type | Field and Description |
|---|---|
static Dn |
Dn.EMPTY_DN
A null Dn
|
static Dn |
Dn.ROOT_DSE
The rootDSE
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
Dn.add(Dn suffix)
Add a suffix to the Dn.
|
Dn |
Dn.add(Rdn newRdn)
Adds a single Rdn to the (leaf) end of this name.
|
Dn |
Dn.add(String comp)
Add a suffix to the Dn.
|
private Dn |
Dn.copy()
Create a copy of the current Dn
|
Dn |
Dn.getAncestorOf(Dn descendant)
Get the ancestor of a given DN, using the descendant DN.
|
Dn |
Dn.getAncestorOf(String descendant)
Get the ancestor of a given DN, using the descendant DN.
|
Dn |
Dn.getDescendantOf(Dn ancestor)
Get the descendant of a given DN, using the ancestr DN.
|
Dn |
Dn.getDescendantOf(String ancestor)
Get the descendant of a given DN, using the ancestr DN.
|
Dn |
Dn.getParent()
Gets the parent Dn of this Dn.
|
(package private) static Dn |
FastDnParser.parse(SchemaManager schemaManager,
String name)
Parses a Dn from a String
|
(package private) static Dn |
FastDnParser.parse(String name)
Parses a Dn from a String
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
Dn.add(Dn suffix)
Add a suffix to the Dn.
|
void |
AntlrDnParser.distinguishedName(SchemaManager schemaManager,
Dn dn)
Parses a Dn string.
|
Dn |
Dn.getAncestorOf(Dn descendant)
Get the ancestor of a given DN, using the descendant DN.
|
Dn |
Dn.getDescendantOf(Dn ancestor)
Get the descendant of a given DN, using the ancestr DN.
|
boolean |
Dn.isAncestorOf(Dn dn)
Tells if the current Dn is a parent of another Dn.
For instance, dc=com is a ancestor of dc=example, dc=com |
boolean |
Dn.isDescendantOf(Dn dn)
Tells if a Dn is a child of another Dn.
For instance, dc=example, dc=apache, dc=com is a descendant of dc=com |
static boolean |
Dn.isNullOrEmpty(Dn dn)
Check if a DistinguishedName is null or empty.
|
(package private) static void |
FastDnParser.parseDn(SchemaManager schemaManager,
String name,
Dn dn)
Parses the given name string and fills the given Dn object.
|
| Constructor and Description |
|---|
Dn(Rdn rdn,
Dn dn)
Creates a Dn concatenating a Rdn and a Dn.
|
Dn(SchemaManager schemaManager,
Dn dn)
Construct an empty Schema aware Dn object
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
SchemaManager.getNamingContext() |
| Modifier and Type | Method and Description |
|---|---|
Dn |
UniqueMemberComparator.getDn(Object obj)
Get the DN from the given object
|
private Dn |
ParsedDnComparator.getDn(Object obj) |
private Dn |
DnComparator.getDn(Object obj) |
| Modifier and Type | Method and Description |
|---|---|
String |
DnNormalizer.normalize(Dn value)
Normalize a Dn
|
| Modifier and Type | Field and Description |
|---|---|
private Dn |
SubtreeSpecificationModifier.base
the subtree base relative to the administration point
|
private Dn |
BaseSubtreeSpecification.base
the subtree base relative to the administration point
|
| Modifier and Type | Field and Description |
|---|---|
private Set<Dn> |
SubtreeSpecificationModifier.chopAfter
the set of subordinates entries whose subordinates are to be excluded
|
private Set<Dn> |
BaseSubtreeSpecification.chopAfter
the set of subordinates entries whose subordinates are to be excluded
|
private Set<Dn> |
AntlrSubtreeSpecificationParser.chopAfterExclusions |
private Set<Dn> |
SubtreeSpecificationModifier.chopBefore
the set of subordinates entries and their subordinates to exclude
|
private Set<Dn> |
BaseSubtreeSpecification.chopBefore
the set of subordinates entries and their subordinates to exclude
|
private Set<Dn> |
AntlrSubtreeSpecificationParser.chopBeforeExclusions |
| Modifier and Type | Method and Description |
|---|---|
Dn |
AntlrSubtreeSpecificationParser.distinguishedName() |
Dn |
SubtreeSpecification.getBase()
Gets an Rdn relative to the administrative context where the subtree
scope begins.
|
Dn |
BaseSubtreeSpecification.getBase() |
| Modifier and Type | Method and Description |
|---|---|
Set<Dn> |
SubtreeSpecification.getChopAfterExclusions()
A set of RDNs relative to the base entry representing chopAfter
specificExclusions from the subtree.
|
Set<Dn> |
BaseSubtreeSpecification.getChopAfterExclusions() |
Set<Dn> |
SubtreeSpecification.getChopBeforeExclusions()
A set of RDNs relative to the base entry representing chopBefore
specificExclusions from the subtree.
|
Set<Dn> |
BaseSubtreeSpecification.getChopBeforeExclusions() |
| Modifier and Type | Method and Description |
|---|---|
void |
SubtreeSpecificationModifier.setBase(Dn base)
Sets the subtree base relative to the administration point.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SubtreeSpecificationModifier.setChopAfterExclusions(Set<Dn> chopAfterExclusions)
Sets the set of subordinates entries whose subordinates are to be
excluded.
|
void |
SubtreeSpecificationModifier.setChopBeforeExclusions(Set<Dn> chopBeforeExclusions)
Sets the set of subordinates entries and their subordinates to exclude.
|
| Constructor and Description |
|---|
BaseSubtreeSpecification(Dn base)
Creates a simple subtree whose administrative point above the base and
all subordinates underneath the base (excluding those that are part of
inner areas) are part of the the subtree.
|
BaseSubtreeSpecification(Dn base,
int minBaseDistance,
int maxBaseDistance,
Set<Dn> chopAfter,
Set<Dn> chopBefore)
Creates a subtree without a refinement filter where all other aspects can
be varied.
|
BaseSubtreeSpecification(Dn base,
int minBaseDistance,
int maxBaseDistance,
Set<Dn> chopAfter,
Set<Dn> chopBefore,
ExprNode refinement)
Creates a subtree which may be a refinement filter where all aspects of
the specification can be set.
|
| Constructor and Description |
|---|
BaseSubtreeSpecification(Dn base,
int minBaseDistance,
int maxBaseDistance,
Set<Dn> chopAfter,
Set<Dn> chopBefore)
Creates a subtree without a refinement filter where all other aspects can
be varied.
|
BaseSubtreeSpecification(Dn base,
int minBaseDistance,
int maxBaseDistance,
Set<Dn> chopAfter,
Set<Dn> chopBefore)
Creates a subtree without a refinement filter where all other aspects can
be varied.
|
BaseSubtreeSpecification(Dn base,
int minBaseDistance,
int maxBaseDistance,
Set<Dn> chopAfter,
Set<Dn> chopBefore,
ExprNode refinement)
Creates a subtree which may be a refinement filter where all aspects of
the specification can be set.
|
BaseSubtreeSpecification(Dn base,
int minBaseDistance,
int maxBaseDistance,
Set<Dn> chopAfter,
Set<Dn> chopBefore,
ExprNode refinement)
Creates a subtree which may be a refinement filter where all aspects of
the specification can be set.
|
| Modifier and Type | Field and Description |
|---|---|
private Dn |
LdapUrl.dn
The Dn
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
LdapUrl.getDn() |
| Modifier and Type | Method and Description |
|---|---|
void |
LdapUrl.setDn(Dn dn)
Sets the dn.
|
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.