Uses of Class
org.apache.directory.api.ldap.model.name.Dn
-
-
Uses of Dn in org.apache.directory.api.dsmlv2.request
Methods in org.apache.directory.api.dsmlv2.request that return Dn Modifier and Type Method Description Dn
SearchRequestDsml. getBase()
Gets the search base as a distinguished name.Dn
BindRequestDsml. getDn()
Gets the DN of the subject in this authentication request.Dn
DelRequestDsml. getEntry()
Get the entry to be deletedDn
AddRequestDsml. getEntryDn()
Get the added DnDn
CompareRequestDsml. getName()
Get the entry to be comparedDn
DelRequestDsml. getName()
Gets the distinguished name of the leaf entry to be deleted by this request.Dn
ModifyDNRequestDsml. getName()
Get the modification's DnDn
ModifyRequestDsml. getName()
Gets the distinguished name of the entry to be modified by this request.Dn
ModifyDNRequestDsml. getNewSuperior()
Get the newSuperiorMethods in org.apache.directory.api.dsmlv2.request with parameters of type Dn Modifier and Type Method Description SearchRequest
SearchRequestDsml. setBase(Dn baseDn)
Sets the search base as a distinguished name.BindRequest
BindRequestDsml. setDn(Dn dn)
Sets the DN of the subject in this authentication request.void
DelRequestDsml. setEntry(Dn entry)
Set the entry to be deletedvoid
ModifyDNRequestDsml. setEntry(Dn name)
Set the modification Dn.AddRequest
AddRequestDsml. setEntryDn(Dn entryDn)
Sets the distinguished name of the entry to add.CompareRequest
CompareRequestDsml. setName(Dn entry)
Set the entry to be comparedDeleteRequest
DelRequestDsml. setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this request.ModifyDnRequest
ModifyDNRequestDsml. setName(Dn name)
Sets the entry's distinguished name representing the entry PDU field.ModifyRequest
ModifyRequestDsml. setName(Dn name)
Sets the distinguished name of the entry to be modified by this request.ModifyDnRequest
ModifyDNRequestDsml. setNewSuperior(Dn newSuperior)
Set the new superior -
Uses of Dn in org.apache.directory.api.dsmlv2.response
Methods in org.apache.directory.api.dsmlv2.response that return Dn Modifier and Type Method Description Dn
LdapResultDsml. getMatchedDn()
Get the matched DnDn
SearchResultEntryDsml. getObjectName()
Get the entry DnMethods in org.apache.directory.api.dsmlv2.response with parameters of type Dn Modifier and Type Method Description void
LdapResultDsml. setMatchedDn(Dn matchedDn)
Set the Matched Dnvoid
SearchResultEntryDsml. setObjectName(Dn objectName)
Set the entry Dn -
Uses of Dn in org.apache.directory.api.ldap.aci
Methods in org.apache.directory.api.ldap.aci that return Dn Modifier and Type Method Description Dn
AntlrACIItemParser. distinguishedName()
-
Uses of Dn in org.apache.directory.api.ldap.codec.api
Constructors in org.apache.directory.api.ldap.codec.api with parameters of type Dn Constructor Description ResponseCarryingException(String message, ResultResponse response, ResultCodeEnum code, Dn matchedDn, Throwable cause)
Creates a DecoderException -
Uses of Dn in org.apache.directory.api.ldap.extras.extended.whoAmI
Methods in org.apache.directory.api.ldap.extras.extended.whoAmI that return Dn Modifier and Type Method Description Dn
WhoAmIResponse. getDn()
Get the DN authzid.Dn
WhoAmIResponseImpl. getDn()
Get the DN authzid.Methods in org.apache.directory.api.ldap.extras.extended.whoAmI with parameters of type Dn Modifier and Type Method Description void
WhoAmIResponseImpl. setDn(Dn dn)
Set the DN -
Uses of Dn in org.apache.directory.api.ldap.model.cursor
Methods in org.apache.directory.api.ldap.model.cursor that return Dn Modifier and Type Method Description Dn
CursorLdapReferralException. getRemainingDn()
-
Uses of Dn in org.apache.directory.api.ldap.model.entry
Methods in org.apache.directory.api.ldap.model.entry that return Dn Modifier and Type Method Description Dn
DefaultEntry. getDn()
Get this entry's Dn.Dn
Entry. getDn()
Get this entry's Dn.Dn
ImmutableEntry. getDn()
Get this entry's Dn.Methods in org.apache.directory.api.ldap.model.entry with parameters of type Dn Modifier and Type Method Description void
DefaultEntry. setDn(Dn dn)
Set this entry's Dn.void
Entry. 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 EntryConstructors in org.apache.directory.api.ldap.model.entry with parameters of type Dn Constructor 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. -
Uses of Dn in org.apache.directory.api.ldap.model.exception
Methods in org.apache.directory.api.ldap.model.exception that return Dn Modifier and Type Method Description Dn
AbstractLdapReferralException. getRemainingDn()
Dn
LdapReferralException. getRemainingDn()
Dn
LdapOperationException. getResolvedDn()
Methods in org.apache.directory.api.ldap.model.exception with parameters of type Dn Modifier and Type Method Description void
AbstractLdapReferralException. setRemainingDn(Dn remainingDn)
void
LdapReferralException. setRemainingDn(Dn remainingDn)
void
LdapOperationException. setResolvedDn(Dn resolvedDn)
-
Uses of Dn in org.apache.directory.api.ldap.model.filter
Methods in org.apache.directory.api.ldap.model.filter that return Dn Modifier and Type Method Description Dn
ScopeNode. getBaseDn()
Gets the base dn.Constructors in org.apache.directory.api.ldap.model.filter with parameters of type Dn Constructor Description ScopeNode(AliasDerefMode aliasDerefAliases, Dn baseDn, String baseId, SearchScope scope)
Creates a new ScopeNode object. -
Uses of Dn in org.apache.directory.api.ldap.model.ldif
Methods in org.apache.directory.api.ldap.model.ldif that return Dn Modifier and Type Method Description Dn
LdifEntry. getDn()
Methods in org.apache.directory.api.ldap.model.ldif with parameters of type Dn Modifier and Type Method 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 NameConstructors in org.apache.directory.api.ldap.model.ldif with parameters of type Dn Constructor Description LdifEntry(Dn dn, Object... avas)
Creates a LdifEntry using a list of strings representing the Ldif element -
Uses of Dn in org.apache.directory.api.ldap.model.message
Methods in org.apache.directory.api.ldap.model.message that return Dn Modifier and Type Method Description Dn
SearchRequest. getBase()
Gets the search base as a distinguished name.Dn
SearchRequestImpl. getBase()
Gets the search base as a distinguished name.Dn
BindRequest. getDn()
Gets the DN of the subject in this authentication request.Dn
BindRequestImpl. 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
LdapResult. getMatchedDn()
Gets the lowest entry in the directory that was matched.Dn
LdapResultImpl. 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
CompareRequestImpl. getName()
Gets the distinguished name of the entry to be compared using the attribute value assertion.Dn
DeleteRequest. getName()
Gets the distinguished name of the leaf entry to be deleted by this request.Dn
DeleteRequestImpl. getName()
Gets the distinguished name of the leaf entry to be deleted by this request.Dn
ModifyDnRequest. getName()
Gets the entry's distinguished name representing the entry PDU field.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
ModifyRequestImpl. getName()
Gets the distinguished name of the entry to be modified by this request.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.Methods in org.apache.directory.api.ldap.model.message with parameters of type Dn Modifier and Type Method 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
BindRequest. setDn(Dn name)
Sets the DN of the subject in this authentication request.BindRequest
BindRequestImpl. setDn(Dn dn)
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
LdapResult. setMatchedDn(Dn dn)
Sets the lowest entry in the directory that was matched.void
LdapResultImpl. setMatchedDn(Dn matchedDn)
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.CompareRequest
CompareRequestImpl. setName(Dn name)
Sets the distinguished name of the entry to be compared using the attribute value assertion.DeleteRequest
DeleteRequest. setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this request.DeleteRequest
DeleteRequestImpl. setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this request.ModifyDnRequest
ModifyDnRequest. setName(Dn name)
Sets the entry's distinguished name representing the entry PDU field.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.ModifyRequest
ModifyRequestImpl. setName(Dn name)
Sets the distinguished name of the entry to be modified by this request.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. -
Uses of Dn in org.apache.directory.api.ldap.model.message.controls
Methods in org.apache.directory.api.ldap.model.message.controls that return Dn Modifier and Type Method Description Dn
EntryChange. getPreviousDn()
Dn
EntryChangeImpl. getPreviousDn()
Methods in org.apache.directory.api.ldap.model.message.controls with parameters of type Dn Modifier and Type Method Description void
EntryChange. setPreviousDn(Dn previousDn)
Sets the previous DNvoid
EntryChangeImpl. setPreviousDn(Dn previousDn)
Sets the previous DN -
Uses of Dn in org.apache.directory.api.ldap.model.name
Fields in org.apache.directory.api.ldap.model.name declared as Dn Modifier and Type Field Description static Dn
Dn. EMPTY_DN
A null Dnstatic Dn
Dn. ROOT_DSE
The rootDSEMethods in org.apache.directory.api.ldap.model.name that return Dn Modifier and Type Method Description Dn
Dn. add(String rdn)
Adds a single Rdn to the (leaf) end of this name.Dn
Dn. add(Dn rdns)
Adds all RDNs of the provided DN to the (leaf) end of this name.Dn
Dn. add(Rdn newRdn)
Adds a single Rdn to the (leaf) end of this name.Dn
Dn. getAncestorOf(String descendant)
Get the ancestor of a given DN, using the descendant DN.Dn
Dn. getAncestorOf(Dn descendant)
Get the ancestor of a given DN, using the descendant DN.Dn
Dn. getDescendantOf(String ancestor)
Get the descendant of a given DN, using the ancestr DN.Dn
Dn. getDescendantOf(Dn ancestor)
Get the descendant of a given DN, using the ancestr DN.Dn
Dn. getParent()
Gets the parent Dn of this Dn.Methods in org.apache.directory.api.ldap.model.name with parameters of type Dn Modifier and Type Method Description Dn
Dn. add(Dn rdns)
Adds all RDNs of the provided DN to the (leaf) end of this name.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=comboolean
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=comstatic boolean
Dn. isNullOrEmpty(Dn dn)
Check if a DistinguishedName is null or empty.Constructors in org.apache.directory.api.ldap.model.name with parameters of type Dn Constructor 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 -
Uses of Dn in org.apache.directory.api.ldap.model.schema
Methods in org.apache.directory.api.ldap.model.schema that return Dn Modifier and Type Method Description Dn
SchemaManager. getNamingContext()
-
Uses of Dn in org.apache.directory.api.ldap.model.schema.comparators
Methods in org.apache.directory.api.ldap.model.schema.comparators that return Dn Modifier and Type Method Description Dn
UniqueMemberComparator. getDn(Object obj)
Get the DN from the given object -
Uses of Dn in org.apache.directory.api.ldap.model.schema.normalizers
Methods in org.apache.directory.api.ldap.model.schema.normalizers with parameters of type Dn Modifier and Type Method Description String
DnNormalizer. normalize(Dn value)
Normalize a Dn -
Uses of Dn in org.apache.directory.api.ldap.model.subtree
Methods in org.apache.directory.api.ldap.model.subtree that return Dn Modifier and Type Method Description Dn
AntlrSubtreeSpecificationParser. distinguishedName()
Dn
BaseSubtreeSpecification. getBase()
Dn
SubtreeSpecification. getBase()
Gets an Rdn relative to the administrative context where the subtree scope begins.Methods in org.apache.directory.api.ldap.model.subtree that return types with arguments of type Dn Modifier and Type Method 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.Methods in org.apache.directory.api.ldap.model.subtree with parameters of type Dn Modifier and Type Method Description void
SubtreeSpecificationModifier. setBase(Dn base)
Sets the subtree base relative to the administration point.Method parameters in org.apache.directory.api.ldap.model.subtree with type arguments of type Dn Modifier and Type Method 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.Constructors in org.apache.directory.api.ldap.model.subtree with parameters of type Dn Constructor 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 parameters in org.apache.directory.api.ldap.model.subtree with type arguments of type Dn Constructor 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, ExprNode refinement)
Creates a subtree which may be a refinement filter where all aspects of the specification can be set. -
Uses of Dn in org.apache.directory.api.ldap.model.url
Methods in org.apache.directory.api.ldap.model.url that return Dn Modifier and Type Method Description Dn
LdapUrl. getDn()
Methods in org.apache.directory.api.ldap.model.url with parameters of type Dn Modifier and Type Method Description void
LdapUrl. setDn(Dn dn)
Sets the dn. -
Uses of Dn in org.apache.directory.api.ldap.schema.manager.impl
Methods in org.apache.directory.api.ldap.schema.manager.impl that return Dn Modifier and Type Method Description Dn
DefaultSchemaManager. getNamingContext()
-
Uses of Dn in org.apache.directory.api.ldap.trigger
Methods in org.apache.directory.api.ldap.trigger that return Dn Modifier and Type Method Description Dn
AntlrTriggerSpecificationParser. distinguishedName()
Dn
StoredProcedureSearchContextOption. getBaseObject()
Gets the base object.Dn
StoredProcedureParameter.Generic_LDAP_CONTEXT. getCtxName()
Dn
AntlrTriggerSpecificationParser. storedProcedureSearchContext()
Methods in org.apache.directory.api.ldap.trigger with parameters of type Dn Modifier and Type Method Description static StoredProcedureParameter
StoredProcedureParameter.Generic_LDAP_CONTEXT. instance(Dn ctxName)
Creates a new instance of StoredProcedureParameterConstructors in org.apache.directory.api.ldap.trigger with parameters of type Dn Constructor Description StoredProcedureSearchContextOption(Dn baseObject)
Instantiates a new stored procedure search context option.StoredProcedureSearchContextOption(Dn baseObject, SearchScope searchScope)
Instantiates a new stored procedure search context option. -
Uses of Dn in org.apache.directory.api.ldap.util
Methods in org.apache.directory.api.ldap.util that return Dn Modifier and Type Method Description static Dn
JndiUtils. fromName(Name name)
Convert aName
to a DnMethods in org.apache.directory.api.ldap.util with parameters of type Dn Modifier and Type Method Description static Name
JndiUtils. toName(Dn dn)
Convert a Dn to aName
-
Uses of Dn in org.apache.directory.api.ldap.util.tree
Methods in org.apache.directory.api.ldap.util.tree that return Dn Modifier and Type Method Description Dn
DnNode. getDn()
Methods in org.apache.directory.api.ldap.util.tree with parameters of type Dn Modifier and Type Method Description DnNode<N>
DnNode. add(Dn dn)
Add a new node in the tree.DnNode<N>
DnNode. add(Dn dn, N element)
Add a new node in the tree.List<N>
DnNode. getDescendantElements(Dn dn)
N
DnNode. getElement(Dn dn)
DnNode<N>
DnNode. getNode(Dn dn)
Get the Node for a given Dn, if present in the tree.
For instance, if we have stored dc=acme, dc=org into the tree, the Dn: ou=example, dc=acme, dc=org will have a parent, and dc=acme, dc=org will be returned.DnNode<N>
DnNode. getParentWithElement(Dn dn)
Get the closest Node for a given Dn which has an element, if present in the tree.
For instance, if we have stored dc=acme, dc=org into the tree, the Dn: ou=example, dc=acme, dc=org will have a parent, and dc=acme, dc=org will be returned if it has an associated element.boolean
DnNode. hasChildren(Dn dn)
Tells if a node has some children or not.boolean
DnNode. hasDescendantElement(Dn dn)
boolean
DnNode. hasElement(Dn dn)
boolean
DnNode. hasParent(Dn dn)
Tells if there is a parent for a given Dn,.boolean
DnNode. hasParentElement(Dn dn)
Get the closest Node for a given Dn which has an element, if present in the tree.
For instance, if we have stored dc=acme, dc=org into the tree, the Dn: ou=example, dc=acme, dc=org will have a parent, and dc=acme, dc=org will be returned if it has an associated element.boolean
DnNode. isLeaf(Dn dn)
Tells if the implementation is a leaf node.void
DnNode. move(Dn newParent)
move the DnNode's Dnvoid
DnNode. remove(Dn dn)
Removes a node from the tree.Constructors in org.apache.directory.api.ldap.util.tree with parameters of type Dn Constructor Description DnNode(Dn dn, N element)
Creates a new instance of DnNode. -
Uses of Dn in org.apache.directory.ldap.client.api
Methods in org.apache.directory.ldap.client.api with parameters of type Dn Modifier and Type Method Description void
AbstractLdapConnection. bind(Dn name)
Unauthenticated authentication bind on a server.void
AbstractLdapConnection. bind(Dn name, String credentials)
Simple bind on a server.void
LdapConnection. bind(Dn name)
Unauthenticated authentication bind on a server.void
LdapConnection. bind(Dn name, String credentials)
Simple bind on a server.void
LdapConnectionWrapper. bind(Dn name)
Unauthenticated authentication bind on a server.void
LdapConnectionWrapper. bind(Dn name, String credentials)
Simple bind on a server.void
MonitoringLdapConnection. bind(Dn name)
Unauthenticated authentication bind on a server.void
MonitoringLdapConnection. bind(Dn name, String credentials)
Simple bind on a server.BindFuture
LdapAsyncConnection. bindAsync(Dn name, String credentials)
Simple asynchronous Bind on a server.BindFuture
LdapNetworkConnection. bindAsync(Dn name)
Asynchronous unauthenticated authentication Bind on a server.BindFuture
LdapNetworkConnection. bindAsync(Dn name, String credentials)
Simple asynchronous Bind on a server.boolean
LdapConnection. compare(Dn dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnection. compare(Dn dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnection. compare(Dn dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnectionWrapper. compare(Dn dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnectionWrapper. compare(Dn dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnectionWrapper. compare(Dn dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapNetworkConnection. compare(Dn dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapNetworkConnection. compare(Dn dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapNetworkConnection. compare(Dn dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.void
LdapConnection. delete(Dn dn)
Deletes the entry with the given distinguished name.void
LdapConnectionWrapper. delete(Dn dn)
Deletes the entry with the given distinguished name.void
LdapNetworkConnection. delete(Dn dn)
Deletes the entry with the given distinguished name.void
LdapNetworkConnection. deleteTree(Dn dn)
deletes the entry with the given Dn, and all its childrenboolean
LdapConnection. exists(Dn dn)
Tells if an Entry exists in the server.boolean
LdapConnectionWrapper. exists(Dn dn)
Tells if an Entry exists in the server.boolean
LdapNetworkConnection. exists(Dn dn)
Tells if an Entry exists in the server.Entry
LdapConnection. lookup(Dn dn)
Searches for an entry having the given distinguished name..Entry
LdapConnection. lookup(Dn dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnection. lookup(Dn dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnectionWrapper. lookup(Dn dn)
Searches for an entry having the given distinguished name..Entry
LdapConnectionWrapper. lookup(Dn dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnectionWrapper. lookup(Dn dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapNetworkConnection. lookup(Dn dn)
Searches for an entry having the given distinguished name..Entry
LdapNetworkConnection. lookup(Dn dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapNetworkConnection. lookup(Dn dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.void
LdapConnection. modify(Dn dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.void
LdapConnectionWrapper. modify(Dn dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.void
LdapNetworkConnection. modify(Dn dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.void
LdapConnection. move(Dn entryDn, Dn newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapConnectionWrapper. move(Dn entryDn, Dn newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapNetworkConnection. move(Dn entryDn, Dn newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapConnection. moveAndRename(Dn entryDn, Dn newDn)
Moves and renames the given entryDn.void
LdapConnection. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.void
LdapConnectionWrapper. moveAndRename(Dn entryDn, Dn newDn)
Moves and renames the given entryDn.void
LdapConnectionWrapper. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.void
LdapNetworkConnection. moveAndRename(Dn entryDn, Dn newDn)
Moves and renames the given entryDn.void
LdapNetworkConnection. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.void
LdapConnection. rename(Dn entryDn, Rdn newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapConnection. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.void
LdapConnectionWrapper. rename(Dn entryDn, Rdn newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapConnectionWrapper. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.void
LdapNetworkConnection. rename(Dn entryDn, Rdn newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapNetworkConnection. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.EntryCursor
LdapConnection. search(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.EntryCursor
LdapConnectionWrapper. search(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.EntryCursor
LdapNetworkConnection. search(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.SearchFuture
LdapAsyncConnection. searchAsync(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do an asynchronous search, on the base object, using the given filter.SearchFuture
LdapNetworkConnection. searchAsync(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do an asynchronous search, on the base object, using the given filter.Constructors in org.apache.directory.ldap.client.api with parameters of type Dn Constructor Description DefaultSchemaLoader(LdapConnection connection, Dn subschemaSubentryDn)
Creates a new instance of NetworkSchemaLoader. -
Uses of Dn in org.apache.directory.ldap.client.template
Methods in org.apache.directory.ldap.client.template that return Dn Modifier and Type Method Description Dn
LdapConnectionTemplate. newDn(String dn)
Returns aDn
that representsdn
.Dn
ModelFactory. newDn(String dn)
Returns aDn
that representsdn
.Methods in org.apache.directory.ldap.client.template with parameters of type Dn Modifier and Type Method Description AddResponse
LdapConnectionOperations. add(Dn dn, Attribute... attributes)
Adds an entry specified by a Dn and an array of Attribute's to the LDAP server.AddResponse
LdapConnectionOperations. add(Dn dn, RequestBuilder<AddRequest> requestBuilder)
Adds an entry specified by a Dn, to be filled out by a RequestBuilder, to the LDAP server.AddResponse
LdapConnectionTemplate. add(Dn dn, Attribute... attributes)
Adds an entry specified by a Dn and an array of Attribute's to the LDAP server.AddResponse
LdapConnectionTemplate. add(Dn dn, RequestBuilder<AddRequest> requestBuilder)
Adds an entry specified by a Dn, to be filled out by a RequestBuilder, to the LDAP server.PasswordWarning
LdapConnectionOperations. authenticate(Dn userDn, char[] password)
Attempts to authenticate the supplied credentials.PasswordWarning
LdapConnectionOperations. authenticate(Dn baseDn, String filter, SearchScope scope, char[] password)
Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.PasswordWarning
LdapConnectionTemplate. authenticate(Dn userDn, char[] password)
Attempts to authenticate the supplied credentials.PasswordWarning
LdapConnectionTemplate. authenticate(Dn baseDn, String filter, SearchScope scope, char[] password)
Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.DeleteResponse
LdapConnectionOperations. delete(Dn dn)
Deletes an entry specified by Dn from the LDAP server.DeleteResponse
LdapConnectionOperations. delete(Dn dn, RequestBuilder<DeleteRequest> requestBuilder)
Deletes an entry specified by Dn, and whose request is configured by a RequestBuilder, from the LDAP server.DeleteResponse
LdapConnectionTemplate. delete(Dn dn)
Deletes an entry specified by Dn from the LDAP server.DeleteResponse
LdapConnectionTemplate. delete(Dn dn, RequestBuilder<DeleteRequest> requestBuilder)
Deletes an entry specified by Dn, and whose request is configured by a RequestBuilder, from the LDAP server.<T> T
LdapConnectionOperations. lookup(Dn dn, String[] attributes, EntryMapper<T> entryMapper)
Performs a lookup, requestingattributes
, and supplies the matching entry to theentryMapper
.<T> T
LdapConnectionOperations. lookup(Dn dn, EntryMapper<T> entryMapper)
Performs a lookup, and supplies the matching entry to theentryMapper
.<T> T
LdapConnectionTemplate. lookup(Dn dn, String[] attributes, EntryMapper<T> entryMapper)
Performs a lookup, requestingattributes
, and supplies the matching entry to theentryMapper
.<T> T
LdapConnectionTemplate. lookup(Dn dn, EntryMapper<T> entryMapper)
Performs a lookup, and supplies the matching entry to theentryMapper
.ModifyResponse
LdapConnectionOperations. modify(Dn dn, RequestBuilder<ModifyRequest> requestBuilder)
Modifies an entry specified by Dn, and whose request is configured by a RequestBuilder, on the LDAP server.ModifyResponse
LdapConnectionTemplate. modify(Dn dn, RequestBuilder<ModifyRequest> requestBuilder)
Modifies an entry specified by Dn, and whose request is configured by a RequestBuilder, on the LDAP server.void
LdapConnectionOperations. modifyPassword(Dn userDn, char[] newPassword)
Modifies the password foruserDn
tonewPassword
using the admin account.void
LdapConnectionOperations. modifyPassword(Dn userDn, char[] oldPassword, char[] newPassword)
Modifies the password foruserDn
fromoldPassword
tonewPassword
.void
LdapConnectionOperations. modifyPassword(Dn userDn, char[] oldPassword, char[] newPassword, boolean asAdmin)
Modifies the password foruserDn
fromoldPassword
tonewPassword
, optionally using an admin account.void
LdapConnectionTemplate. modifyPassword(Dn userDn, char[] newPassword)
Modifies the password foruserDn
tonewPassword
using the admin account.void
LdapConnectionTemplate. modifyPassword(Dn userDn, char[] oldPassword, char[] newPassword)
Modifies the password foruserDn
fromoldPassword
tonewPassword
.void
LdapConnectionTemplate. modifyPassword(Dn userDn, char[] oldPassword, char[] newPassword, boolean asAdmin)
Modifies the password foruserDn
fromoldPassword
tonewPassword
, optionally using an admin account.DeleteRequest
LdapConnectionTemplate. newDeleteRequest(Dn dn)
Returns a newDeleteRequest
for thedn
.DeleteRequest
ModelFactory. newDeleteRequest(Dn dn)
Returns a newDeleteRequest
for thedn
.Entry
LdapConnectionTemplate. newEntry(Dn dn)
Returns aEntry
with the specifieddn
.Entry
ModelFactory. newEntry(Dn dn)
Returns aEntry
with the specifieddn
.ModifyRequest
LdapConnectionTemplate. newModifyRequest(Dn dn)
Returns a newModifyRequest
for thedn
.ModifyRequest
ModelFactory. newModifyRequest(Dn dn)
Returns a newModifyRequest
for thedn
.SearchRequest
LdapConnectionTemplate. newSearchRequest(Dn baseDn, String filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(Dn baseDn, String filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
ModelFactory. newSearchRequest(Dn baseDn, String filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
ModelFactory. newSearchRequest(Dn baseDn, String filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
ModelFactory. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
ModelFactory. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.<T> List<T>
LdapConnectionOperations. search(Dn baseDn, String filter, SearchScope scope, String[] attributes, EntryMapper<T> entryMapper)
Searches for the entries matching the supplied criteria, feeding the result into theentryMapper
, querying only the requested attributes.<T> List<T>
LdapConnectionOperations. search(Dn baseDn, String filter, SearchScope scope, EntryMapper<T> entryMapper)
Searches for the entries matching the supplied criteria, feeding the result into theentryMapper
.<T> List<T>
LdapConnectionOperations. search(Dn baseDn, FilterBuilder filter, SearchScope scope, String[] attributes, EntryMapper<T> entryMapper)
Searches for the entries matching the supplied criteria, feeding the result into theentryMapper
, querying only the requested attributes.<T> List<T>
LdapConnectionOperations. search(Dn baseDn, FilterBuilder filter, SearchScope scope, EntryMapper<T> entryMapper)
Searches for the entries matching the supplied criteria, feeding the result into theentryMapper
.<T> List<T>
LdapConnectionTemplate. search(Dn baseDn, String filter, SearchScope scope, String[] attributes, EntryMapper<T> entryMapper)
Searches for the entries matching the supplied criteria, feeding the result into theentryMapper
, querying only the requested attributes.<T> List<T>
LdapConnectionTemplate. search(Dn baseDn, String filter, SearchScope scope, EntryMapper<T> entryMapper)
Searches for the entries matching the supplied criteria, feeding the result into theentryMapper
.<T> List<T>
LdapConnectionTemplate. search(Dn baseDn, FilterBuilder filter, SearchScope scope, String[] attributes, EntryMapper<T> entryMapper)
Searches for the entries matching the supplied criteria, feeding the result into theentryMapper
, querying only the requested attributes.<T> List<T>
LdapConnectionTemplate. search(Dn baseDn, FilterBuilder filter, SearchScope scope, EntryMapper<T> entryMapper)
Searches for the entries matching the supplied criteria, feeding the result into theentryMapper
.<T> T
LdapConnectionOperations. searchFirst(Dn baseDn, String filter, SearchScope scope, String[] attributes, EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper
, querying only the requested attributes.<T> T
LdapConnectionOperations. searchFirst(Dn baseDn, String filter, SearchScope scope, EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper
.<T> T
LdapConnectionOperations. searchFirst(Dn baseDn, FilterBuilder filter, SearchScope scope, String[] attributes, EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper
, querying only the requested attributes.<T> T
LdapConnectionOperations. searchFirst(Dn baseDn, FilterBuilder filter, SearchScope scope, EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper
.<T> T
LdapConnectionTemplate. searchFirst(Dn baseDn, String filter, SearchScope scope, String[] attributes, EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper
, querying only the requested attributes.<T> T
LdapConnectionTemplate. searchFirst(Dn baseDn, String filter, SearchScope scope, EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper
.<T> T
LdapConnectionTemplate. searchFirst(Dn baseDn, FilterBuilder filter, SearchScope scope, String[] attributes, EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper
, querying only the requested attributes.<T> T
LdapConnectionTemplate. searchFirst(Dn baseDn, FilterBuilder filter, SearchScope scope, EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper
.
-