Modifier and Type | Method and Description |
---|---|
DN |
SearchResultEntryDsml.getObjectName()
Get the entry DN
|
Modifier and Type | Method and Description |
---|---|
void |
LdapResultDsml.setMatchedDN(DN matchedDN)
Set the Matched DN
|
void |
SearchResultEntryDsml.setObjectName(DN objectName)
Set the entry DN
|
Modifier and Type | Method and Description |
---|---|
DN |
CompareRequestDsml.getEntry()
Get the entry to be compared
|
DN |
ModifyDNRequestDsml.getEntry()
Get the modification's DN
|
DN |
DelRequestDsml.getEntry()
Get the entry to be deleted
|
DN |
AddRequestDsml.getEntryDn()
Get the added DN
|
DN |
ModifyDNRequestDsml.getNewSuperior()
Get the newSuperior
|
Modifier and Type | Method and Description |
---|---|
void |
CompareRequestDsml.setEntry(DN entry)
Set the entry to be compared
|
void |
ModifyDNRequestDsml.setEntry(DN entry)
Set the modification DN.
|
void |
DelRequestDsml.setEntry(DN entry)
Set the entry to be deleted
|
void |
AddRequestDsml.setEntryDn(DN entryDn)
Set the added DN.
|
void |
ModifyDNRequestDsml.setNewSuperior(DN newSuperior)
Set the new superior
|
Modifier and Type | Method and Description |
---|---|
DN |
AntlrACIItemParser.distinguishedName() |
Constructor and Description |
---|
Name(Set<DN> usernames)
Creates a new instance.
|
UserGroup(Set<DN> groupNames)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
LdapResultCodec.setMatchedDN(DN matchedDN)
Set the Matched DN
|
Constructor and Description |
---|
ResponseCarryingException(String message,
InternalResultResponse response,
ResultCodeEnum code,
DN matchedDn,
Throwable cause)
Creates a DecoderException
|
Modifier and Type | Method and Description |
---|---|
DN |
AddRequestCodec.getEntryDn()
Get the added DN
|
Modifier and Type | Method and Description |
---|---|
void |
AddRequestCodec.setEntryDn(DN entryDn)
Set the added DN.
|
Modifier and Type | Method and Description |
---|---|
DN |
BindRequestCodec.getName()
Get the user name
|
Modifier and Type | Method and Description |
---|---|
void |
BindRequestCodec.setName(DN name)
Set the user name
|
Modifier and Type | Method and Description |
---|---|
DN |
CompareRequestCodec.getEntry()
Get the entry to be compared
|
Modifier and Type | Method and Description |
---|---|
void |
CompareRequestCodec.setEntry(DN entry)
Set the entry to be compared
|
Modifier and Type | Method and Description |
---|---|
DN |
DelRequestCodec.getEntry()
Get the entry to be deleted
|
Modifier and Type | Method and Description |
---|---|
void |
DelRequestCodec.setEntry(DN entry)
Set the entry to be deleted
|
Modifier and Type | Method and Description |
---|---|
DN |
ModifyRequestCodec.getObject()
Get the modification's DN
|
Modifier and Type | Method and Description |
---|---|
void |
ModifyRequestCodec.setObject(DN object)
Set the modification DN.
|
Modifier and Type | Method and Description |
---|---|
DN |
ModifyDNRequestCodec.getEntry()
Get the modification's DN
|
DN |
ModifyDNRequestCodec.getNewSuperior()
Get the newSuperior
|
Modifier and Type | Method and Description |
---|---|
void |
ModifyDNRequestCodec.setEntry(DN entry)
Set the modification DN.
|
void |
ModifyDNRequestCodec.setNewSuperior(DN newSuperior)
Set the new superior
|
Modifier and Type | Method and Description |
---|---|
DN |
SearchRequestCodec.getBaseObject()
Get the base object
|
DN |
SearchResultEntryCodec.getObjectName()
Get the entry DN
|
Modifier and Type | Method and Description |
---|---|
void |
SearchRequestCodec.setBaseObject(DN baseObject)
Set the base object
|
void |
SearchResultEntryCodec.setObjectName(DN objectName)
Set the entry DN.
|
Modifier and Type | Method and Description |
---|---|
DN |
EntryChangeControl.getPreviousDn() |
Modifier and Type | Method and Description |
---|---|
void |
EntryChangeControl.setPreviousDn(DN previousDn) |
Modifier and Type | Field and Description |
---|---|
protected DN |
AbstractEntry.dn
The DN for this entry
|
Modifier and Type | Method and Description |
---|---|
DN |
Entry.getDn()
Get this entry's DN.
|
DN |
AbstractEntry.getDn()
Get this entry's DN.
|
Modifier and Type | Method and Description |
---|---|
void |
Entry.setDn(DN dn)
Set this entry's DN.
|
void |
AbstractEntry.setDn(DN dn)
Set this entry's DN.
|
Constructor and Description |
---|
DefaultServerEntry(SchemaManager schemaManager,
DN dn)
Creates a new instance of DefaultServerEntry, with a
DN and registries.
|
DefaultServerEntry(SchemaManager schemaManager,
DN dn,
AttributeType... attributeTypes)
Creates a new instance of DefaultServerEntry, with a
DN, registries and a list of attributeTypes.
|
DefaultServerEntry(SchemaManager schemaManager,
DN dn,
AttributeType attributeType,
String upId)
Creates a new instance of DefaultServerEntry, with a
DN, registries and an attributeType with the user provided ID.
|
DefaultServerEntry(SchemaManager schemaManager,
DN dn,
EntryAttribute... attributes)
Creates a new instance of DefaultServerEntry, with a
DN, registries and a list of ServerAttributes.
|
DefaultServerEntry(SchemaManager schemaManager,
DN dn,
String... upIds)
Creates a new instance of DefaultServerEntry, with a
DN, registries and a list of IDs.
|
Constructor and Description |
---|
DefaultClientEntry(DN dn)
Creates a new instance of DefaultServerEntry, with a
DN.
|
DefaultClientEntry(DN dn,
EntryAttribute... attributes)
Creates a new instance of DefaultClientEntry, with a
DN and a list of EntryAttributes.
|
DefaultClientEntry(DN dn,
String... upIds)
Creates a new instance of DefaultServerEntry, with a
DN and a list of IDs.
|
Modifier and Type | Field and Description |
---|---|
protected DN |
LdapOperationException.resolvedDn
The resolved DN
|
Modifier and Type | Method and Description |
---|---|
DN |
LdapReferralException.getRemainingDn() |
DN |
AbstractLdapReferralException.getRemainingDn() |
DN |
LdapOperationException.getResolvedDn() |
Modifier and Type | Method and Description |
---|---|
void |
LdapReferralException.setRemainingDn(DN remainingDn) |
void |
AbstractLdapReferralException.setRemainingDn(DN remainingDn) |
void |
LdapOperationException.setResolvedDn(DN resolvedDn) |
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.
|
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.
|
void |
LdifEntry.setDn(DN dn)
Set the Distinguished Name
|
Modifier and Type | Method and Description |
---|---|
DN |
SearchRequestImpl.getBase()
Gets the search base as a distinguished name.
|
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 |
DeleteRequestImpl.getName()
Gets the distinguished name of the leaf entry to be deleted by this
request.
|
DN |
ModifyRequestImpl.getName()
Gets the distinguished name of the entry to be modified by this request.
|
DN |
ModifyDnRequestImpl.getName()
Gets the entry's distinguished name representing the entry PDU
field.
|
DN |
BindRequestImpl.getName()
Gets the distinguished name of the subject in this authentication
request.
|
DN |
CompareRequestImpl.getName()
Gets the distinguished name of the entry to be compared using the
attribute value assertion.
|
DN |
ModifyDnRequestImpl.getNewSuperior()
Gets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
DN |
SearchResponseEntryImpl.getObjectName()
Gets the distinguished name of the entry object returned.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchRequestImpl.setBase(DN base)
Sets the search base as a distinguished name.
|
void |
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 |
DeleteRequestImpl.setName(DN name)
Sets the distinguished name of the leaf entry to be deleted by this
request.
|
void |
ModifyRequestImpl.setName(DN name)
Sets the distinguished name of the entry to be modified by this request.
|
void |
ModifyDnRequestImpl.setName(DN name)
Sets the entry's distinguished name representing the entry PDU
field.
|
void |
BindRequestImpl.setName(DN name)
Sets the distinguished name of the subject in this authentication
request.
|
void |
CompareRequestImpl.setName(DN name)
Sets the distinguished name of the entry to be compared using the
attribute value assertion.
|
void |
ModifyDnRequestImpl.setNewSuperior(DN newSuperior)
Sets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
void |
SearchResponseEntryImpl.setObjectName(DN objectName)
Sets the distinguished name of the entry object returned.
|
Modifier and Type | Method and Description |
---|---|
DN |
InternalSearchRequest.getBase()
Gets the search base as a distinguished name.
|
DN |
InternalAddRequest.getEntryDn()
Gets the distinguished name of the entry to add.
|
DN |
InternalLdapResult.getMatchedDn()
Gets the lowest entry in the directory that was matched.
|
DN |
InternalCompareRequest.getName()
Gets the distinguished name of the entry to be compared using the
attribute value assertion.
|
DN |
InternalBindRequest.getName()
Gets the distinguished name of the subject in this authentication
request.
|
DN |
InternalModifyDnRequest.getName()
Gets the entry's distinguished name representing the entry PDU
field.
|
DN |
InternalDeleteRequest.getName()
Gets the distinguished name of the leaf entry to be deleted by this
request.
|
DN |
InternalModifyRequest.getName()
Gets the distinguished name of the entry to be modified by this request.
|
DN |
InternalModifyDnRequest.getNewSuperior()
Gets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
DN |
InternalSearchResponseEntry.getObjectName()
Gets the distinguished name of the entry object returned.
|
Modifier and Type | Method and Description |
---|---|
void |
InternalSearchRequest.setBase(DN baseDn)
Sets the search base as a distinguished name.
|
void |
InternalAddRequest.setEntryDn(DN entry)
Sets the distinguished name of the entry to add.
|
void |
InternalLdapResult.setMatchedDn(DN dn)
Sets the lowest entry in the directory that was matched.
|
void |
InternalCompareRequest.setName(DN name)
Sets the distinguished name of the entry to be compared using the
attribute value assertion.
|
void |
InternalBindRequest.setName(DN name)
Sets the distinguished name of the subject in this authentication
request.
|
void |
InternalModifyDnRequest.setName(DN name)
Sets the entry's distinguished name representing the entry PDU
field.
|
void |
InternalDeleteRequest.setName(DN name)
Sets the distinguished name of the leaf entry to be deleted by this
request.
|
void |
InternalModifyRequest.setName(DN name)
Sets the distinguished name of the entry to be modified by this request.
|
void |
InternalModifyDnRequest.setNewSuperior(DN newSuperior)
Sets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
void |
InternalSearchResponseEntry.setObjectName(DN dn)
Sets the distinguished name of the entry object returned.
|
Modifier and Type | Field and Description |
---|---|
static DN |
DN.EMPTY_DN
A null DN
|
Modifier and Type | Method and Description |
---|---|
DN |
DN.add(int pos,
RDN newRdn)
Adds a single RDN to a specific position.
|
DN |
DN.add(int posn,
String comp) |
DN |
DN.add(RDN newRdn)
Adds a single RDN to the (leaf) end of this name.
|
DN |
DN.add(String comp) |
DN |
DN.addAll(DN suffix) |
DN |
DN.addAll(int posn,
DN dn) |
DN |
DN.addAll(int posn,
Name name) |
DN |
DN.addAllNormalized(int posn,
DN name)
Adds the components of a name -- in order -- at a specified position
within this name.
|
DN |
DN.addNormalized(RDN newRdn)
Adds a single normalized RDN to the (leaf) end of this name.
|
static DN |
DnSerializer.deserialize(ObjectInput in)
Deserialize a DN
We read back the data to create a new DN.
|
static DN |
DN.fromName(Name name)
Convert a
Name to a DN |
DN |
DN.getPrefix(int posn) |
DN |
DN.getSuffix(int posn) |
static DN |
DN.normalize(DN dn,
Map<String,OidNormalizer> oidsMap)
Change the internal DN, using the OID instead of the first name or other
aliases.
|
DN |
DN.normalize(Map<String,OidNormalizer> oidsMap)
Change the internal DN, using the OID instead of the first name or other
aliases.
|
static DN |
DN.normalize(String name,
Map<String,OidNormalizer> oidsMap)
Static factory which creates a normalized DN from a String and a Map of OIDs.
|
DN |
DnParser.parse(String dn)
Parse a String and return a DN if the String is a valid DN
|
DN |
FastDnParser.parse(String name)
Parses a DN from a String
|
Modifier and Type | Method and Description |
---|---|
DN |
DN.addAll(DN suffix) |
DN |
DN.addAll(int posn,
DN dn) |
DN |
DN.addAllNormalized(int posn,
DN name)
Adds the components of a name -- in order -- at a specified position
within this name.
|
int |
DN.compareTo(DN dn) |
void |
AntlrDnParser.distinguishedName(DN dn)
Parses an DN string.
|
static byte[] |
DN.getBytes(DN dn)
Get an UTF-8 representation of the normalized form of the DN
|
static int |
DN.getNbBytes(DN dn)
Get the number of bytes necessary to store this DN
|
boolean |
DN.hasSuffix(DN dn)
Determines whether this name has a specific suffix.
|
boolean |
DN.isChildOf(DN dn)
Tells if a DN is a child of another DN.
For instance, dc=example, dc=com is a child of dc=com |
boolean |
DN.isParentOf(DN dn)
Tells if the current DN is a parent of another DN.
For instance, dc=com is a parent of dc=example, dc=com |
static DN |
DN.normalize(DN dn,
Map<String,OidNormalizer> oidsMap)
Change the internal DN, using the OID instead of the first name or other
aliases.
|
void |
FastDnParser.parseDn(String name,
DN dn)
Parses the given name string and fills the given DN object.
|
static void |
DnSerializer.serialize(DN dn,
ObjectOutput out)
Serialize a DN
We have to store a DN data efficiently.
|
static Name |
DN.toName(DN dn)
Convert a DN to a
Name |
Constructor and Description |
---|
DN(DN dn)
Copies a DN to an DN.
|
Modifier and Type | Method and Description |
---|---|
DN |
SchemaDao.findDn(String entityName) |
DN |
SchemaManager.getNamingContext() |
Modifier and Type | Method and Description |
---|---|
DN |
UniqueMemberComparator.getDn(Object obj) |
DN |
DnComparator.getDn(Object obj) |
Modifier and Type | Method and Description |
---|---|
DN |
DefaultSchemaManager.getNamingContext() |
Constructor and Description |
---|
DefaultSchemaManager(SchemaLoader loader,
DN namingContext)
Creates a new instance of DefaultSchemaManager, for a specific
naming context
|
Modifier and Type | Method and Description |
---|---|
String |
DnNormalizer.normalize(DN value)
Normalize a DN
|
Modifier and Type | Method and Description |
---|---|
DN |
AntlrSubtreeSpecificationParser.distinguishedName() |
DN |
BaseSubtreeSpecification.getBase() |
DN |
SubtreeSpecification.getBase()
Gets an RDN relative to the administrative context where the subtree
scope begins.
|
Modifier and Type | Method and Description |
---|---|
Set<DN> |
BaseSubtreeSpecification.getChopAfterExclusions() |
Set<DN> |
SubtreeSpecification.getChopAfterExclusions()
A set of RDNs relative to the base entry representing chopAfter
specificExclusions from the subtree.
|
Set<DN> |
BaseSubtreeSpecification.getChopBeforeExclusions() |
Set<DN> |
SubtreeSpecification.getChopBeforeExclusions()
A set of RDNs relative to the base entry representing chopBefore
specificExclusions from the subtree.
|
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> chopAfter)
Sets the set of subordinates entries whose subordinates are to be
excluded.
|
void |
SubtreeSpecificationModifier.setChopBeforeExclusions(Set<DN> chopBefore)
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 | Method and Description |
---|---|
DN |
AntlrTriggerSpecificationParser.distinguishedName() |
DN |
StoredProcedureSearchContextOption.getBaseObject() |
DN |
StoredProcedureParameter.Generic_LDAP_CONTEXT.getCtxName() |
DN |
AntlrTriggerSpecificationParser.storedProcedureSearchContext() |
Modifier and Type | Method and Description |
---|---|
static StoredProcedureParameter |
StoredProcedureParameter.Generic_LDAP_CONTEXT.instance(DN ctxName) |
Constructor and Description |
---|
StoredProcedureSearchContextOption(DN baseObject) |
StoredProcedureSearchContextOption(DN baseObject,
SearchScope searchScope) |
Modifier and Type | Method and Description |
---|---|
DN |
LdapURL.getDn() |
static DN |
NamespaceTools.getRelativeName(DN ancestor,
DN descendant)
Gets the relative name between an ancestor and a potential descendant.
|
Modifier and Type | Method and Description |
---|---|
static DN |
NamespaceTools.getRelativeName(DN ancestor,
DN descendant)
Gets the relative name between an ancestor and a potential descendant.
|
static boolean |
NamespaceTools.isDescendant(DN ancestor,
DN descendant)
Tests to see if a candidate entry is a descendant of a base.
|
static boolean |
NamespaceTools.isSibling(DN name1,
DN name2)
Checks to see if two names are siblings.
|
void |
LdapURL.setDn(DN dn)
Sets the dn.
|
static Entry |
AttributeUtils.toClientEntry(Attributes attributes,
DN dn)
Check if an attribute contains a specific value and remove it using the associated
matchingRule for the attribute type supplied.
|
Modifier and Type | Method and Description |
---|---|
void |
DnBranchNode.add(DN dn,
N element)
TODO add.
|
N |
DnBranchNode.getParentElement(DN dn)
Get the parent of a given DN, if present in the tree.
|
boolean |
DnBranchNode.hasParentElement(DN dn)
Tells if the DN contains a parent in the tree.
|
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.