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 DnSearchRequestDsml. getBase()Gets the search base as a distinguished name.DnBindRequestDsml. getDn()Gets the DN of the subject in this authentication request.DnDelRequestDsml. getEntry()Get the entry to be deletedDnAddRequestDsml. getEntryDn()Get the added DnDnCompareRequestDsml. getName()Get the entry to be comparedDnDelRequestDsml. getName()Gets the distinguished name of the leaf entry to be deleted by this request.DnModifyDNRequestDsml. getName()Get the modification's DnDnModifyRequestDsml. getName()Gets the distinguished name of the entry to be modified by this request.DnModifyDNRequestDsml. getNewSuperior()Get the newSuperiorMethods in org.apache.directory.api.dsmlv2.request with parameters of type Dn Modifier and Type Method Description SearchRequestSearchRequestDsml. setBase(Dn baseDn)Sets the search base as a distinguished name.BindRequestBindRequestDsml. setDn(Dn dn)Sets the DN of the subject in this authentication request.voidDelRequestDsml. setEntry(Dn entry)Set the entry to be deletedvoidModifyDNRequestDsml. setEntry(Dn name)Set the modification Dn.AddRequestAddRequestDsml. setEntryDn(Dn entryDn)Sets the distinguished name of the entry to add.CompareRequestCompareRequestDsml. setName(Dn entry)Set the entry to be comparedDeleteRequestDelRequestDsml. setName(Dn name)Sets the distinguished name of the leaf entry to be deleted by this request.ModifyDnRequestModifyDNRequestDsml. setName(Dn name)Sets the entry's distinguished name representing the entry PDU field.ModifyRequestModifyRequestDsml. setName(Dn name)Sets the distinguished name of the entry to be modified by this request.ModifyDnRequestModifyDNRequestDsml. 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 DnLdapResultDsml. getMatchedDn()Get the matched DnDnSearchResultEntryDsml. getObjectName()Get the entry DnMethods in org.apache.directory.api.dsmlv2.response with parameters of type Dn Modifier and Type Method Description voidLdapResultDsml. setMatchedDn(Dn matchedDn)Set the Matched DnvoidSearchResultEntryDsml. 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 DnAntlrACIItemParser. 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 DnWhoAmIResponse. getDn()Get the DN authzid.DnWhoAmIResponseImpl. 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 voidWhoAmIResponseImpl. 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 DnCursorLdapReferralException. 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 DnDefaultEntry. getDn()Get this entry's Dn.DnEntry. getDn()Get this entry's Dn.DnImmutableEntry. 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 voidDefaultEntry. setDn(Dn dn)Set this entry's Dn.voidEntry. setDn(Dn dn)Set this entry's Dn.voidImmutableEntry. setDn(Dn dn)Set this entry's Dn.static EntryAttributeUtils. 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
Fields in org.apache.directory.api.ldap.model.exception declared as Dn Modifier and Type Field Description protected DnLdapOperationException. resolvedDnThe resolved DnMethods in org.apache.directory.api.ldap.model.exception that return Dn Modifier and Type Method Description DnAbstractLdapReferralException. getRemainingDn()DnLdapReferralException. getRemainingDn()DnLdapOperationException. getResolvedDn()Methods in org.apache.directory.api.ldap.model.exception with parameters of type Dn Modifier and Type Method Description voidAbstractLdapReferralException. setRemainingDn(Dn remainingDn)voidLdapReferralException. setRemainingDn(Dn remainingDn)voidLdapOperationException. 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 DnScopeNode. 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 DnLdifEntry. getDn()Methods in org.apache.directory.api.ldap.model.ldif with parameters of type Dn Modifier and Type Method Description static StringLdifUtils. convertToLdif(Attributes attrs, Dn dn)Convert an Attributes as LDIF.static StringLdifUtils. convertToLdif(Attributes attrs, Dn dn, int length)Convert an Attributes as LDIF.static LdifEntryLdifRevertor. reverseAdd(Dn dn)Compute a reverse LDIF of an AddRequest.static LdifEntryLdifRevertor. reverseDel(Dn dn, Entry deletedEntry)Compute a reverse LDIF of a DeleteRequest.static LdifEntryLdifRevertor. reverseModify(Dn dn, List<Modification> forwardModifications, Entry modifiedEntry)Compute the reversed LDIF for a modify request.static LdifEntryLdifRevertor. 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.voidLdifEntry. 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 DnSearchRequest. getBase()Gets the search base as a distinguished name.DnSearchRequestImpl. getBase()Gets the search base as a distinguished name.DnBindRequest. getDn()Gets the DN of the subject in this authentication request.DnBindRequestImpl. getDn()Gets the DN of the subject in this authentication request.DnAddRequest. getEntryDn()Gets the distinguished name of the entry to add.DnAddRequestImpl. getEntryDn()Gets the distinguished name of the entry to add.DnLdapResult. getMatchedDn()Gets the lowest entry in the directory that was matched.DnLdapResultImpl. getMatchedDn()Gets the lowest entry in the directory that was matched.DnCompareRequest. getName()Gets the distinguished name of the entry to be compared using the attribute value assertion.DnCompareRequestImpl. getName()Gets the distinguished name of the entry to be compared using the attribute value assertion.DnDeleteRequest. getName()Gets the distinguished name of the leaf entry to be deleted by this request.DnDeleteRequestImpl. getName()Gets the distinguished name of the leaf entry to be deleted by this request.DnModifyDnRequest. getName()Gets the entry's distinguished name representing the entry PDU field.DnModifyDnRequestImpl. getName()Gets the entry's distinguished name representing the entry PDU field.DnModifyRequest. getName()Gets the distinguished name of the entry to be modified by this request.DnModifyRequestImpl. getName()Gets the distinguished name of the entry to be modified by this request.DnModifyDnRequest. getNewSuperior()Gets the optional distinguished name of the new superior entry where the candidate entry is to be moved.DnModifyDnRequestImpl. getNewSuperior()Gets the optional distinguished name of the new superior entry where the candidate entry is to be moved.DnSearchResultEntry. getObjectName()Gets the distinguished name of the entry object returned.DnSearchResultEntryImpl. 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 SearchRequestSearchRequest. setBase(Dn baseDn)Sets the search base as a distinguished name.SearchRequestSearchRequestImpl. setBase(Dn base)Sets the search base as a distinguished name.BindRequestBindRequest. setDn(Dn name)Sets the DN of the subject in this authentication request.BindRequestBindRequestImpl. setDn(Dn dn)Sets the DN of the subject in this authentication request.AddRequestAddRequest. setEntryDn(Dn entry)Sets the distinguished name of the entry to add.AddRequestAddRequestImpl. setEntryDn(Dn dn)Sets the distinguished name of the entry to add.voidLdapResult. setMatchedDn(Dn dn)Sets the lowest entry in the directory that was matched.voidLdapResultImpl. setMatchedDn(Dn matchedDn)Sets the lowest entry in the directory that was matched.CompareRequestCompareRequest. setName(Dn name)Sets the distinguished name of the entry to be compared using the attribute value assertion.CompareRequestCompareRequestImpl. setName(Dn name)Sets the distinguished name of the entry to be compared using the attribute value assertion.DeleteRequestDeleteRequest. setName(Dn name)Sets the distinguished name of the leaf entry to be deleted by this request.DeleteRequestDeleteRequestImpl. setName(Dn name)Sets the distinguished name of the leaf entry to be deleted by this request.ModifyDnRequestModifyDnRequest. setName(Dn name)Sets the entry's distinguished name representing the entry PDU field.ModifyDnRequestModifyDnRequestImpl. setName(Dn name)Sets the entry's distinguished name representing the entry PDU field.ModifyRequestModifyRequest. setName(Dn name)Sets the distinguished name of the entry to be modified by this request.ModifyRequestModifyRequestImpl. setName(Dn name)Sets the distinguished name of the entry to be modified by this request.ModifyDnRequestModifyDnRequest. setNewSuperior(Dn newSuperior)Sets the optional distinguished name of the new superior entry where the candidate entry is to be moved.ModifyDnRequestModifyDnRequestImpl. setNewSuperior(Dn newSuperior)Sets the optional distinguished name of the new superior entry where the candidate entry is to be moved.voidSearchResultEntry. setObjectName(Dn objectName)Sets the distinguished name of the entry object returned.voidSearchResultEntryImpl. 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 DnEntryChange. getPreviousDn()DnEntryChangeImpl. getPreviousDn()Methods in org.apache.directory.api.ldap.model.message.controls with parameters of type Dn Modifier and Type Method Description voidEntryChange. setPreviousDn(Dn previousDn)Sets the previous DNvoidEntryChangeImpl. 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 DnDn. EMPTY_DNA null Dnstatic DnDn. ROOT_DSEThe rootDSEMethods in org.apache.directory.api.ldap.model.name that return Dn Modifier and Type Method Description DnDn. add(String rdn)Adds a single Rdn to the (leaf) end of this name.DnDn. add(Dn rdns)Adds all RDNs of the provided DN to the (leaf) end of this name.DnDn. add(Rdn newRdn)Adds a single Rdn to the (leaf) end of this name.DnDn. getAncestorOf(String descendant)Get the ancestor of a given DN, using the descendant DN.DnDn. getAncestorOf(Dn descendant)Get the ancestor of a given DN, using the descendant DN.DnDn. getDescendantOf(String ancestor)Get the descendant of a given DN, using the ancestr DN.DnDn. getDescendantOf(Dn ancestor)Get the descendant of a given DN, using the ancestr DN.DnDn. getParent()Gets the parent Dn of this Dn.(package private) static DnFastDnParser. parse(String name)Parses a Dn from a String(package private) static DnFastDnParser. parse(SchemaManager schemaManager, String name)Parses a Dn from a StringMethods in org.apache.directory.api.ldap.model.name with parameters of type Dn Modifier and Type Method Description DnDn. add(Dn rdns)Adds all RDNs of the provided DN to the (leaf) end of this name.voidAntlrDnParser. distinguishedName(SchemaManager schemaManager, Dn dn)Parses a Dn string.DnDn. getAncestorOf(Dn descendant)Get the ancestor of a given DN, using the descendant DN.DnDn. getDescendantOf(Dn ancestor)Get the descendant of a given DN, using the ancestr DN.booleanDn. 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=combooleanDn. 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 booleanDn. isNullOrEmpty(Dn dn)Check if a DistinguishedName is null or empty.(package private) static voidFastDnParser. parseDn(SchemaManager schemaManager, String name, Dn dn)Parses the given name string and fills the given Dn object.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 DnSchemaManager. 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 DnUniqueMemberComparator. 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 StringDnNormalizer. 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 DnAntlrSubtreeSpecificationParser. distinguishedName()DnBaseSubtreeSpecification. getBase()DnSubtreeSpecification. 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 voidSubtreeSpecificationModifier. 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 voidSubtreeSpecificationModifier. setChopAfterExclusions(Set<Dn> chopAfterExclusions)Sets the set of subordinates entries whose subordinates are to be excluded.voidSubtreeSpecificationModifier. 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 DnLdapUrl. getDn()Methods in org.apache.directory.api.ldap.model.url with parameters of type Dn Modifier and Type Method Description voidLdapUrl. 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 DnDefaultSchemaManager. 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 DnAntlrTriggerSpecificationParser. distinguishedName()DnStoredProcedureSearchContextOption. getBaseObject()Gets the base object.DnStoredProcedureParameter.Generic_LDAP_CONTEXT. getCtxName()DnAntlrTriggerSpecificationParser. storedProcedureSearchContext()Methods in org.apache.directory.api.ldap.trigger with parameters of type Dn Modifier and Type Method Description static StoredProcedureParameterStoredProcedureParameter.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 DnJndiUtils. fromName(Name name)Convert aNameto a DnMethods in org.apache.directory.api.ldap.util with parameters of type Dn Modifier and Type Method Description static NameJndiUtils. 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 DnDnNode. 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)NDnNode. 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.booleanDnNode. hasChildren(Dn dn)Tells if a node has some children or not.booleanDnNode. hasDescendantElement(Dn dn)booleanDnNode. hasElement(Dn dn)booleanDnNode. hasParent(Dn dn)Tells if there is a parent for a given Dn,.booleanDnNode. 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.booleanDnNode. isLeaf(Dn dn)Tells if the implementation is a leaf node.voidDnNode. move(Dn newParent)move the DnNode's DnvoidDnNode. 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 voidAbstractLdapConnection. bind(Dn name)Unauthenticated authentication bind on a server.voidAbstractLdapConnection. bind(Dn name, String credentials)Simple bind on a server.voidLdapConnection. bind(Dn name)Unauthenticated authentication bind on a server.voidLdapConnection. bind(Dn name, String credentials)Simple bind on a server.voidLdapConnectionWrapper. bind(Dn name)Unauthenticated authentication bind on a server.voidLdapConnectionWrapper. bind(Dn name, String credentials)Simple bind on a server.voidMonitoringLdapConnection. bind(Dn name)Unauthenticated authentication bind on a server.voidMonitoringLdapConnection. bind(Dn name, String credentials)Simple bind on a server.BindFutureLdapAsyncConnection. bindAsync(Dn name, String credentials)Simple asynchronous Bind on a server.BindFutureLdapNetworkConnection. bindAsync(Dn name)Asynchronous unauthenticated authentication Bind on a server.BindFutureLdapNetworkConnection. bindAsync(Dn name, String credentials)Simple asynchronous Bind on a server.booleanLdapConnection. 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.booleanLdapConnection. 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.booleanLdapConnection. 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.booleanLdapConnectionWrapper. 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.booleanLdapConnectionWrapper. 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.booleanLdapConnectionWrapper. 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.booleanLdapNetworkConnection. 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.booleanLdapNetworkConnection. 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.booleanLdapNetworkConnection. 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.voidLdapConnection. delete(Dn dn)Deletes the entry with the given distinguished name.voidLdapConnectionWrapper. delete(Dn dn)Deletes the entry with the given distinguished name.voidLdapNetworkConnection. delete(Dn dn)Deletes the entry with the given distinguished name.voidLdapNetworkConnection. deleteTree(Dn dn)deletes the entry with the given Dn, and all its childrenbooleanLdapConnection. exists(Dn dn)Tells if an Entry exists in the server.booleanLdapConnectionWrapper. exists(Dn dn)Tells if an Entry exists in the server.booleanLdapNetworkConnection. exists(Dn dn)Tells if an Entry exists in the server.EntryLdapConnection. lookup(Dn dn)Searches for an entry having the given distinguished name..EntryLdapConnection. lookup(Dn dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnection. lookup(Dn dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnectionWrapper. lookup(Dn dn)Searches for an entry having the given distinguished name..EntryLdapConnectionWrapper. lookup(Dn dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapConnectionWrapper. lookup(Dn dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.EntryLdapNetworkConnection. lookup(Dn dn)Searches for an entry having the given distinguished name..EntryLdapNetworkConnection. lookup(Dn dn, String... attributes)Searches for an entry having the given distinguished name.EntryLdapNetworkConnection. lookup(Dn dn, Control[] controls, String... attributes)Searches for an entry having the given distinguished name.voidLdapConnection. modify(Dn dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.voidLdapConnectionWrapper. modify(Dn dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.voidLdapNetworkConnection. modify(Dn dn, Modification... modifications)Applies all the modifications to the entry specified by its distinguished name.voidLdapConnection. move(Dn entryDn, Dn newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapConnectionWrapper. move(Dn entryDn, Dn newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapNetworkConnection. move(Dn entryDn, Dn newSuperiorDn)Moves the given entry distinguished name under the new superior distinguished name.voidLdapConnection. moveAndRename(Dn entryDn, Dn newDn)Moves and renames the given entryDn.voidLdapConnection. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)Moves and renames the given entryDn.voidLdapConnectionWrapper. moveAndRename(Dn entryDn, Dn newDn)Moves and renames the given entryDn.voidLdapConnectionWrapper. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)Moves and renames the given entryDn.voidLdapNetworkConnection. moveAndRename(Dn entryDn, Dn newDn)Moves and renames the given entryDn.voidLdapNetworkConnection. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)Moves and renames the given entryDn.voidLdapConnection. rename(Dn entryDn, Rdn newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapConnection. 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.voidLdapConnectionWrapper. rename(Dn entryDn, Rdn newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapConnectionWrapper. 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.voidLdapNetworkConnection. rename(Dn entryDn, Rdn newRdn)Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.voidLdapNetworkConnection. 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.EntryCursorLdapConnection. search(Dn baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.EntryCursorLdapConnectionWrapper. search(Dn baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.EntryCursorLdapNetworkConnection. search(Dn baseDn, String filter, SearchScope scope, String... attributes)Do a search, on the base object, using the given filter and scope.SearchFutureLdapAsyncConnection. searchAsync(Dn baseDn, String filter, SearchScope scope, String... attributes)Do an asynchronous search, on the base object, using the given filter.SearchFutureLdapNetworkConnection. 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 DnLdapConnectionTemplate. newDn(String dn)Returns aDnthat representsdn.DnModelFactory. newDn(String dn)Returns aDnthat representsdn.DnModelFactoryImpl. newDn(String dn)Returns aDnthat representsdn.Methods in org.apache.directory.ldap.client.template with parameters of type Dn Modifier and Type Method Description AddResponseLdapConnectionOperations. add(Dn dn, Attribute... attributes)Adds an entry specified by a Dn and an array of Attribute's to the LDAP server.AddResponseLdapConnectionOperations. add(Dn dn, RequestBuilder<AddRequest> requestBuilder)Adds an entry specified by a Dn, to be filled out by a RequestBuilder, to the LDAP server.AddResponseLdapConnectionTemplate. add(Dn dn, Attribute... attributes)Adds an entry specified by a Dn and an array of Attribute's to the LDAP server.AddResponseLdapConnectionTemplate. add(Dn dn, RequestBuilder<AddRequest> requestBuilder)Adds an entry specified by a Dn, to be filled out by a RequestBuilder, to the LDAP server.PasswordWarningLdapConnectionOperations. authenticate(Dn userDn, char[] password)Attempts to authenticate the supplied credentials.PasswordWarningLdapConnectionOperations. authenticate(Dn baseDn, String filter, SearchScope scope, char[] password)Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.PasswordWarningLdapConnectionTemplate. authenticate(Dn userDn, char[] password)Attempts to authenticate the supplied credentials.PasswordWarningLdapConnectionTemplate. authenticate(Dn baseDn, String filter, SearchScope scope, char[] password)Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.DeleteResponseLdapConnectionOperations. delete(Dn dn)Deletes an entry specified by Dn from the LDAP server.DeleteResponseLdapConnectionOperations. delete(Dn dn, RequestBuilder<DeleteRequest> requestBuilder)Deletes an entry specified by Dn, and whose request is configured by a RequestBuilder, from the LDAP server.DeleteResponseLdapConnectionTemplate. delete(Dn dn)Deletes an entry specified by Dn from the LDAP server.DeleteResponseLdapConnectionTemplate. 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> TLdapConnectionOperations. lookup(Dn dn, String[] attributes, EntryMapper<T> entryMapper)Performs a lookup, requestingattributes, and supplies the matching entry to theentryMapper.<T> TLdapConnectionOperations. lookup(Dn dn, EntryMapper<T> entryMapper)Performs a lookup, and supplies the matching entry to theentryMapper.<T> TLdapConnectionTemplate. lookup(Dn dn, String[] attributes, EntryMapper<T> entryMapper)Performs a lookup, requestingattributes, and supplies the matching entry to theentryMapper.<T> TLdapConnectionTemplate. lookup(Dn dn, EntryMapper<T> entryMapper)Performs a lookup, and supplies the matching entry to theentryMapper.ModifyResponseLdapConnectionOperations. modify(Dn dn, RequestBuilder<ModifyRequest> requestBuilder)Modifies an entry specified by Dn, and whose request is configured by a RequestBuilder, on the LDAP server.ModifyResponseLdapConnectionTemplate. modify(Dn dn, RequestBuilder<ModifyRequest> requestBuilder)Modifies an entry specified by Dn, and whose request is configured by a RequestBuilder, on the LDAP server.voidLdapConnectionOperations. modifyPassword(Dn userDn, char[] newPassword)Modifies the password foruserDntonewPasswordusing the admin account.voidLdapConnectionOperations. modifyPassword(Dn userDn, char[] oldPassword, char[] newPassword)Modifies the password foruserDnfromoldPasswordtonewPassword.voidLdapConnectionOperations. modifyPassword(Dn userDn, char[] oldPassword, char[] newPassword, boolean asAdmin)Modifies the password foruserDnfromoldPasswordtonewPassword, optionally using an admin account.voidLdapConnectionTemplate. modifyPassword(Dn userDn, char[] newPassword)Modifies the password foruserDntonewPasswordusing the admin account.voidLdapConnectionTemplate. modifyPassword(Dn userDn, char[] oldPassword, char[] newPassword)Modifies the password foruserDnfromoldPasswordtonewPassword.voidLdapConnectionTemplate. modifyPassword(Dn userDn, char[] oldPassword, char[] newPassword, boolean asAdmin)Modifies the password foruserDnfromoldPasswordtonewPassword, optionally using an admin account.DeleteRequestLdapConnectionTemplate. newDeleteRequest(Dn dn)Returns a newDeleteRequestfor thedn.DeleteRequestModelFactory. newDeleteRequest(Dn dn)Returns a newDeleteRequestfor thedn.DeleteRequestModelFactoryImpl. newDeleteRequest(Dn dn)Returns a newDeleteRequestfor thedn.EntryLdapConnectionTemplate. newEntry(Dn dn)Returns aEntrywith the specifieddn.EntryModelFactory. newEntry(Dn dn)Returns aEntrywith the specifieddn.EntryModelFactoryImpl. newEntry(Dn dn)Returns aEntrywith the specifieddn.ModifyRequestLdapConnectionTemplate. newModifyRequest(Dn dn)Returns a newModifyRequestfor thedn.ModifyRequestModelFactory. newModifyRequest(Dn dn)Returns a newModifyRequestfor thedn.ModifyRequestModelFactoryImpl. newModifyRequest(Dn dn)Returns a newModifyRequestfor thedn.SearchRequestLdapConnectionTemplate. newSearchRequest(Dn baseDn, String filter, SearchScope scope)Returns a newSearchRequestoverbaseDninscopematchingfilterreturning all normal attributes for each matching entry.SearchRequestLdapConnectionTemplate. newSearchRequest(Dn baseDn, String filter, SearchScope scope, String... attributes)Returns a newSearchRequestoverbaseDninscopematchingfilterreturningattributesfor each matching entry.SearchRequestLdapConnectionTemplate. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope)Returns a newSearchRequestoverbaseDninscopematchingfilterreturning all normal attributes for each matching entry.SearchRequestLdapConnectionTemplate. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope, String... attributes)Returns a newSearchRequestoverbaseDninscopematchingfilterreturningattributesfor each matching entry.SearchRequestModelFactory. newSearchRequest(Dn baseDn, String filter, SearchScope scope)Returns a newSearchRequestoverbaseDninscopematchingfilterreturning all normal attributes for each matching entry.SearchRequestModelFactory. newSearchRequest(Dn baseDn, String filter, SearchScope scope, String... attributes)Returns a newSearchRequestoverbaseDninscopematchingfilterreturningattributesfor each matching entry.SearchRequestModelFactory. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope)Returns a newSearchRequestoverbaseDninscopematchingfilterreturning all normal attributes for each matching entry.SearchRequestModelFactory. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope, String... attributes)Returns a newSearchRequestoverbaseDninscopematchingfilterreturningattributesfor each matching entry.SearchRequestModelFactoryImpl. newSearchRequest(Dn baseDn, String filter, SearchScope scope)Returns a newSearchRequestoverbaseDninscopematchingfilterreturning all normal attributes for each matching entry.SearchRequestModelFactoryImpl. newSearchRequest(Dn baseDn, String filter, SearchScope scope, String... attributes)Returns a newSearchRequestoverbaseDninscopematchingfilterreturningattributesfor each matching entry.SearchRequestModelFactoryImpl. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope)Returns a newSearchRequestoverbaseDninscopematchingfilterreturning all normal attributes for each matching entry.SearchRequestModelFactoryImpl. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope, String... attributes)Returns a newSearchRequestoverbaseDninscopematchingfilterreturningattributesfor 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> TLdapConnectionOperations. 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> TLdapConnectionOperations. 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> TLdapConnectionOperations. 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> TLdapConnectionOperations. 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> TLdapConnectionTemplate. 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> TLdapConnectionTemplate. 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> TLdapConnectionTemplate. 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> TLdapConnectionTemplate. searchFirst(Dn baseDn, FilterBuilder filter, SearchScope scope, EntryMapper<T> entryMapper)Searches for the first entry matching the supplied criteria, feeding the result into theentryMapper.
-