Uses of Class
org.forgerock.opendj.ldap.Dn
-
Packages that use Dn Package Description org.forgerock.opendj.config Common administration classes.org.forgerock.opendj.config.server Server-side administration interface.org.forgerock.opendj.config.server.spi Contains a number of API declarations for use throughout the Directory Server.org.forgerock.opendj.discovery Contains the Service Discovery Mechanisms and APIs.org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.controls Classes and interfaces for common LDAP controls.org.forgerock.opendj.ldap.messages Classes and interfaces for core LDAP requests/responses.org.forgerock.opendj.ldap.schema Classes and interfaces for constructing and querying LDAP schemas.org.forgerock.opendj.ldif Classes and interfaces for reading and writing LDIF.org.forgerock.opendj.rest2ldap.authz This package containsFilter
to authenticate and authorize LDAP connections.org.forgerock.opendj.rest2ldap.schema This package contains LDAP schema syntaxes and matching rules for JSON based attributes.org.forgerock.opendj.security An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF basedKeyStore
service.org.forgerock.opendj.server.config.client Provides client-side interfaces for querying and managing the Core directory server administrative components.org.forgerock.opendj.server.config.server Provides server-side interfaces for accessing the Core directory server administrative components.org.forgerock.opendj.server.core Classes implementing core server APIs.org.forgerock.opendj.server.embedded Provides support for an embedded directory server.org.forgerock.opendj.setup.model Contains code of the opendj setup model.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.api.plugin Defines the Directory Server plugin API.org.opends.server.authorization.dseecompat Contains the Directory Server Sun Java System Directory Server Enterprise Edition (dseecompat) compatability access control handler implementation.org.opends.server.authorization.policy Contains the policy based access control handler implementation.org.opends.server.backends Contains various Directory Server backend implementations.org.opends.server.backends.pluggable Contains the code for implementing Directory Server pluggable storage backends.org.opends.server.backends.pluggable.spi Interfaces and classes required when implementing new storage engines for the pluggable backend.org.opends.server.backends.task Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.org.opends.server.config Contains code used to interact with the Directory Server configuration.org.opends.server.core Contains various classes that comprise the core of the Directory Server codebase.org.opends.server.discovery Contains the Service Discovery Mechanisms and APIs.org.opends.server.extensions Contains various implementations of Directory Server APIs that are not appropriate for other packages.org.opends.server.loggers Contains implementations of Directory Server access, error, and debug loggers.org.opends.server.monitors Contains various Directory Server monitor provider implementations.org.opends.server.plugins Contains the implementation for various Directory Server plugins.org.opends.server.protocols Contains various Directory Server connection handler implementations which will be used to accept connections from and perform communication with clients over various protocols.org.opends.server.protocols.http Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using HTTP.org.opends.server.protocols.http.authz Contains factories to build the authorization stage of the HTTP request processing.org.opends.server.protocols.jmx Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using JMX.org.opends.server.protocols.ldap Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using LDAPv3.org.opends.server.replication.common This package contains utilities that can are used by all the packages below org.opends.server.replication.org.opends.server.replication.plugin This package contains the part of the Multi-master replication code that works on the Directory Server side.org.opends.server.replication.protocol This package contains the code used by the replication server and by the code running on the Directory Server side to exchange their information.org.opends.server.replication.server This package contains the code for the Replication Server part of the Multimaster replication feature.org.opends.server.replication.server.changelog.api This package contains the API for the changelog database.org.opends.server.replication.server.changelog.file This package contains a file-based log implementation for the changelog database API.org.opends.server.replication.service This package contains the generic of the Multi-Master replication code that works on the Directory Server side.org.opends.server.snmp This package contains Simple Network Management Protocol (SNMP) connection handler, the required classes to support MIB 2605 objects and SNMP requests, and the SNMP adaptor that allows a SNMP manager to access OpenDS monitoring information.org.opends.server.tasks Contains implementations for various Directory Server tasks.org.opends.server.tools Contains various Directory Server tool implementations.org.opends.server.tools.dsbackup Classes related to dsbackup tool.org.opends.server.tools.tasks This package contains classes that support client tool interaction with the tasks backend.org.opends.server.types Contains implementations for a number of Directory Server data types.org.opends.server.types.operation Contains a number of interfaces that are implemented by the various types of Directory Server operations.org.opends.server.util Contains implementations for various Directory Server utility classes and methods which may be used throughout the server but do not necessarily fit in elsewhere. -
-
Uses of Dn in org.forgerock.opendj.config
Methods in org.forgerock.opendj.config that return Dn Modifier and Type Method Description Dn
Configuration. dn()
Gets the DN of the LDAP entry associated with this configuration.Dn
DnPropertyDefinition. getBaseDn()
Get the base DN which all valid values must be immediately subordinate to, ornull
if there is no based DN.Dn
AggregationPropertyDefinition. getChildDn(String name)
Constructs a DN for a referenced managed object having the provided name.Dn
ManagedObjectPath. toDn()
Creates a DN representation of this managed object path.Dn
Reference. toDn()
Gets the DN of the referenced managed object.Methods in org.forgerock.opendj.config with parameters of type Dn Modifier and Type Method Description void
DnPropertyDefinition.Builder. setBaseDn(Dn baseDN)
Set the base DN which all valid values must be immediately subordinate to.Method parameters in org.forgerock.opendj.config with type arguments of type Dn Modifier and Type Method Description <R,P>
RDnPropertyDefinition. accept(PropertyValueVisitor<R,P> v, ValueOrExpression<Dn> value, P p)
protected DnPropertyDefinition
DnPropertyDefinition.Builder. buildInstance(AbstractManagedObjectDefinition<?,?> d, String propertyName, EnumSet<PropertyOption> options, AdministratorAction adminAction, DefaultBehaviorProvider<ValueOrExpression<Dn>> defaultBehavior)
R
PropertyValueVisitor. visitDn(DnPropertyDefinition pd, ValueOrExpression<Dn> v, P p)
Visit a DN. -
Uses of Dn in org.forgerock.opendj.config.server
Methods in org.forgerock.opendj.config.server that return Dn Modifier and Type Method Description Dn
ServerManagedObject. getDn()
Get the DN of the LDAP entry associated with this server managed object. -
Uses of Dn in org.forgerock.opendj.config.server.spi
Methods in org.forgerock.opendj.config.server.spi that return types with arguments of type Dn Modifier and Type Method Description Set<Dn>
ConfigurationRepository. getChildren(Dn dn)
Returns the set of DNs of children of the entry corresponding to the provided DN.Methods in org.forgerock.opendj.config.server.spi with parameters of type Dn Modifier and Type Method Description void
ConfigurationRepository. deregisterAddListener(Dn dn, ConfigAddListener listener)
Deregisters the provided add listener so that it will no longer be notified if any new entries are added immediately below the entry corresponding to the provided DN.void
ConfigurationRepository. deregisterChangeListener(Dn dn, ConfigChangeListener listener)
Attempts to deregister the provided change listener with the provided DN.void
ConfigurationRepository. deregisterDeleteListener(Dn dn, ConfigDeleteListener listener)
Deregisters the provided delete listener so that it will no longer be notified if any entries are deleted immediately below the entry corresponding to the provided DN.List<ConfigAddListener>
ConfigurationRepository. getAddListeners(Dn dn)
Retrieves the add listeners that have been registered with the provided DN.List<ConfigChangeListener>
ConfigurationRepository. getChangeListeners(Dn dn)
Retrieves the change listeners that have been registered with the provided DN.Set<Dn>
ConfigurationRepository. getChildren(Dn dn)
Returns the set of DNs of children of the entry corresponding to the provided DN.List<ConfigDeleteListener>
ConfigurationRepository. getDeleteListeners(Dn dn)
Retrieves the delete listeners that have been registered with the provided DN.Entry
ConfigurationRepository. getEntry(Dn dn)
Returns the configuration entry for the provided DN.boolean
ConfigurationRepository. hasEntry(Dn dn)
Checks if the provided DN corresponds to a configuration entry.void
ConfigurationRepository. registerAddListener(Dn dn, ConfigAddListener listener)
Registers the provided add listener so that it will be notified if any new entries are added immediately below the entry corresponding to the provided DN.void
ConfigurationRepository. registerChangeListener(Dn dn, ConfigChangeListener listener)
Registers the provided change listener so that it will be notified of any changes to the entry corrresponding to provided DN.void
ConfigurationRepository. registerDeleteListener(Dn dn, ConfigDeleteListener listener)
Registers the provided delete listener so that it will be notified if any entries are deleted immediately below the entry corresponding to the provided DN. -
Uses of Dn in org.forgerock.opendj.discovery
Method parameters in org.forgerock.opendj.discovery with type arguments of type Dn Modifier and Type Method Description Partition
ReplicationServiceDiscoveryMechanism. getPartition(Collection<Dn> baseDNs)
Partition
ServiceDiscoveryMechanism. getPartition(Collection<Dn> baseDNs)
Returns the partition.Partition
StaticServiceDiscoveryMechanism. getPartition(Collection<Dn> baseDns)
-
Uses of Dn in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io with parameters of type Dn Modifier and Type Method Description Asn1Writer
Asn1Writer. writeName(Dn dn)
Writes the X.501 type Name as an RDN sequence. -
Uses of Dn in org.forgerock.opendj.ldap
Fields in org.forgerock.opendj.ldap with type parameters of type Dn Modifier and Type Field Description static Option<Collection<Dn>>
LdapClients. LOAD_BALANCER_BASE_DNS
Specifies the base DN(s) for the data that the ldap service handles.static Option<Set<Dn>>
LdapClients. LOAD_BALANCER_PARTITION_BASE_DNS
Specifies partition base DNs.Methods in org.forgerock.opendj.ldap that return Dn Modifier and Type Method Description Dn
AttributeParser. asDn()
Returns the first value decoded as aDN
using the schema associated with this parser, ornull
if the attribute does not contain any values.Dn
AttributeParser. asDn(String defaultValue)
Returns the first value decoded as aDN
using the schema associated with this parser, ordefaultValue
if the attribute does not contain any values.Dn
AttributeParser. asDn(Dn defaultValue)
Returns the first value decoded as aDN
using the schema associated with this parser, ordefaultValue
if the attribute does not contain any values.Dn
Dn. child(String dn)
Returns a DN which is subordinate to this DN and having the additional RDN components contained in the provided DN decoded using the default schema.Dn
Dn. child(String attributeType, Object attributeValue)
Returns a DN which is an immediate child of this DN and with an RDN having the provided attribute type and value decoded using the default schema.Dn
Dn. child(Dn dn)
Returns a DN which is subordinate to this DN and having the additional RDN components contained in the provided DN.Dn
Dn. child(Rdn rdn)
Returns a DN which is an immediate child of this DN and having the specified RDN.static Dn
Dn. emptyDn()
Returns the empty DN.static Dn
Dn. format(String template, Object... attributeValues)
Creates a new DN using the provided DN template and unescaped attribute values using the default schema.static Dn
Dn. format(String template, Schema schema, Object... attributeValues)
Creates a new DN using the provided DN template and unescaped attribute values using the provided schema.Dn
AbstractMapEntry. getName()
Dn
Entries.NullEntry. getName()
Dn
Entry. getName()
Returns the distinguished name of this entry.Dn
LdapUrl. getName()
Returns the distinguished name of the base entry relative to which the search is to be performed.Dn
RootDse. getSubschemaSubentry()
Returns a string which represents the DN of the subschema subentry holding the schema controlling the Root DSE.Dn
Dn. localName(int index)
Returns the DN whose content is the specified number of RDNs from this DN.Dn
Dn. parent()
Returns the DN which is the immediate parent of this DN, ornull
if this DN is the empty DN.Dn
Dn. parent(int index)
Returns the DN which is equal to this DN with the specified number of RDNs removed.Dn
Dn. rename(Dn fromDN, Dn toDN)
Returns a copy of this DN whose parent DN,fromDN
, has been renamed to the new parent DN,toDN
.Dn
Dn. rename(Rdn newRdn, Dn newSuperior)
Returns a DN whose value is the result of applying LDAP modify DN semantics to this DN.static Dn
Dn. rootDn()
Deprecated.useemptyDn()
insteadstatic Dn
Dn. valueOf(String dn)
Parses the provided LDAP string representation of a DN using the default schema.static Dn
Dn. valueOf(String dn, Schema schema)
Parses the provided LDAP string representation of a DN using the provided schema.static Dn
Dn. valueOf(ByteString dn)
Parses the provided LDAP string representation of a DN using the default schema.Methods in org.forgerock.opendj.ldap that return types with arguments of type Dn Modifier and Type Method Description Set<Dn>
AttributeParser. asSetOfDn()
Returns the values decoded as a set ofDN
s using the schema associated with this parser, or an empty set if the attribute does not contain any values.Set<Dn>
AttributeParser. asSetOfDn(String... defaultValues)
Returns the values decoded as a set ofDN
s using the schema associated with this parser, ordefaultValues
if the attribute does not contain any values.Set<Dn>
AttributeParser. asSetOfDn(Collection<Dn> defaultValues)
Returns the values decoded as a set ofDN
s using the schema associated with this parser, ordefaultValues
if the attribute does not contain any values.Set<Dn>
AttributeParser. asSetOfDn(Dn... defaultValues)
Returns the values decoded as a set ofDN
s using the schema associated with this parser, ordefaultValues
if the attribute does not contain any values.static Function<ByteString,Dn,LocalizedIllegalArgumentException>
Functions. byteStringToDn()
Returns a function which parsesDN
s using the default schema.static Function<ByteString,Dn,LocalizedIllegalArgumentException>
Functions. byteStringToDn(Schema schema)
Returns a function which parsesDN
s using the provided schema.Function<Dn,Entry>
DecodeOptions. getEntryFactory()
Returns the function which will be used for creating newEntry
instances when decoding entries.Collection<Dn>
RootDse. getNamingContexts()
Returns an unmodifiable list of DNs identifying the context prefixes of the naming contexts that the Directory Server masters or shadows (in part or in whole).Methods in org.forgerock.opendj.ldap with parameters of type Dn Modifier and Type Method Description Dn
AttributeParser. asDn(Dn defaultValue)
Returns the first value decoded as aDN
using the schema associated with this parser, ordefaultValue
if the attribute does not contain any values.Set<Dn>
AttributeParser. asSetOfDn(Dn... defaultValues)
Returns the values decoded as a set ofDN
s using the schema associated with this parser, ordefaultValues
if the attribute does not contain any values.Dn
Dn. child(Dn dn)
Returns a DN which is subordinate to this DN and having the additional RDN components contained in the provided DN.int
Dn. compareTo(Dn dn)
boolean
MemoryBackend. contains(Dn dn)
Returnstrue
if the named entry exists in this memory backend.default Result
Connection. delete(Dn name)
Deletes the named entry from the Directory Server.Entry
MemoryBackend. get(Dn dn)
Returns a deep copy of the named entry contained in this memory backend, ornull
if it does not exist.boolean
MemoryBackend. hasSubordinates(Dn dn)
Returnstrue
if the named entry exists and has at least one child entry.boolean
Dn. isChildOf(Dn dn)
Returnstrue
if this DN is an immediate child of the provided DN.boolean
Dn. isInScopeOf(Dn dn, SearchScope scope)
Returnstrue
if this DN matches the provided base DN and search scope.boolean
Dn. isParentOf(Dn dn)
Returnstrue
if this DN is the immediate parent of the provided DN.boolean
Dn. isSubordinateOrEqualTo(Dn dn)
Returnstrue
if this DN is subordinate to or equal to the provided DN.boolean
Dn. isSubordinateTo(Dn dn)
Returnstrue
if this DN is subordinate to, but not equal to the provided DN.boolean
Dn. isSuperiorOrEqualTo(Dn dn)
Returnstrue
if this DN is superior to or equal to the provided DN.boolean
Dn. isSuperiorTo(Dn dn)
Returnstrue
if this DN is superior to, but not equal to the provided DN.static LdapException
LdapException. newLdapException(ResultCode resultCode, CharSequence diagnosticMessage, Dn matchedDn, Throwable cause)
Creates a new LDAP exception with the provided resultCode, diagnosticMessage, matched DN and cause.static Entry
Entries. nullEntry(Dn dn)
Returns a read-only empty entry having the provided distinguished name.int
MemoryBackend. numSubordinates(Dn dn)
Returns the number of entries which are immediately subordinate to the named entry, or0
if the named entry does not exist.SearchResultEntry
AbstractConnection. readEntry(Dn baseObject, String... attributeDescriptions)
SearchResultEntry
AbstractConnectionWrapper. readEntry(Dn name, String... attributeDescriptions)
Reads the named entry from the Directory Server.SearchResultEntry
Connection. readEntry(Dn name, String... attributeDescriptions)
Reads the named entry from the Directory Server.default Single<SearchResultEntry>
LdapClientSocket. readEntry(Dn name, String... attributeDescriptions)
Reads the named entry from the Directory Server.LdapPromise<SearchResultEntry>
AbstractConnection. readEntryAsync(Dn name, Collection<String> attributeDescriptions)
LdapPromise<SearchResultEntry>
AbstractConnectionWrapper. readEntryAsync(Dn name, Collection<String> attributeDescriptions)
Asynchronously reads the named entry from the Directory Server.LdapPromise<SearchResultEntry>
Connection. readEntryAsync(Dn name, Collection<String> attributeDescriptions)
Asynchronously reads the named entry from the Directory Server.Dn
Dn. rename(Dn fromDN, Dn toDN)
Returns a copy of this DN whose parent DN,fromDN
, has been renamed to the new parent DN,toDN
.Dn
Dn. rename(Rdn newRdn, Dn newSuperior)
Returns a DN whose value is the result of applying LDAP modify DN semantics to this DN.Entry
AbstractMapEntry. setName(Dn dn)
Entry
Entries.NullEntry. setName(Dn dn)
default Entry
Entry. setName(Dn dn)
Sets the distinguished name of this entry (optional operation).Method parameters in org.forgerock.opendj.ldap with type arguments of type Dn Modifier and Type Method Description MemoryBackend
MemoryBackend. addVirtualAttributes(AttributeDescription attributeDescription, BiFunction<Dn,MemoryBackend,Attribute> virtualAttributeFactory)
Adds a virtual attribute to the backend.Set<Dn>
AttributeParser. asSetOfDn(Collection<Dn> defaultValues)
Returns the values decoded as a set ofDN
s using the schema associated with this parser, ordefaultValues
if the attribute does not contain any values.static LdapClient
LdapClients. newFixedSizeDistributionLoadBalancer(Set<Dn> partitionBaseDns, ConsistentHashMap<? extends LdapClient> partitions, Options options)
Creates a distribution load balancer which uses consistent hashing to distributes requests across a set of partitions based on a hash of each request's target DN.DecodeOptions
DecodeOptions. setEntryFactory(Function<Dn,Entry> factory)
Sets the function which will be used for creating newEntry
instances when decoding entries.Constructors in org.forgerock.opendj.ldap with parameters of type Dn Constructor Description AbstractMapEntry(Dn name, M attributes)
Creates an empty entry using the provided distinguished name andMap
.LdapUrl(boolean isSecured, String host, Integer port, Dn name)
Creates a new LDAP URL referring to a single entry on the specified server.LdapUrl(boolean isSecured, String host, Integer port, Dn name, SearchScope scope, Filter filter, String... attributes)
Creates a new LDAP URL including the full set of parameters for a search request.LinkedHashMapEntry(Dn name)
Creates an empty entry using the provided distinguished name and no attributes.TreeMapEntry(Dn name)
Creates an empty entry using the provided distinguished name and no attributes. -
Uses of Dn in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls that return Dn Modifier and Type Method Description Dn
ProxiedAuthV1RequestControl. getAuthorizationDnName()
Returns the distinguished name of the user whose authorization is to be used when performing the operation.Dn
GetEffectiveRightsRequestControl. getAuthorizationName()
Returns the distinguished name of the user for which effective rights are to be returned, ornull
if the client's authentication ID is to be used.Dn
EntryChangeNotificationResponseControl. getPreviousName()
Returns the distinguished name that the entry had prior to a modify DN operation, ornull
if the operation was not a modify DN.Methods in org.forgerock.opendj.ldap.controls with parameters of type Dn Modifier and Type Method Description static AuthorizationIdentityResponseControl
AuthorizationIdentityResponseControl. newControl(Dn authorizationDn)
Creates a new authorization identity response control using the provided authorization ID.static EntryChangeNotificationResponseControl
EntryChangeNotificationResponseControl. newControl(PersistentSearchChangeType type, Dn previousName, long changeNumber)
Creates a new entry change notification response control with the provided change type and optional previous distinguished name and change number.static GetEffectiveRightsRequestControl
GetEffectiveRightsRequestControl. newControl(boolean isCritical, Dn authorizationName, Collection<AttributeType> attributes)
Creates a new get effective rights request control with the provided criticality, optional authorization name and attribute list.static ProxiedAuthV1RequestControl
ProxiedAuthV1RequestControl. newControl(Dn authorizationName)
Creates a new proxy authorization v1 request control with the provided authorization name. -
Uses of Dn in org.forgerock.opendj.ldap.messages
Methods in org.forgerock.opendj.ldap.messages that return Dn Modifier and Type Method Description static Dn
Requests. dnOfRequest(Request request)
Returns the DN of the entry targeted by the provided request, ornull
if the target entry cannot be determined.Dn
AddRequest. getName()
Dn
BindRequest. getName()
Returns the name of the Directory object that the client wishes to bind as.Dn
CompareRequest. getName()
Returns the distinguished name of the entry to be compared.Dn
DeleteRequest. getName()
Returns the distinguished name of the entry to be deleted.Dn
ModifyDnRequest. getName()
Returns the distinguished name of the entry to be renamed.Dn
ModifyRequest. getName()
Returns the distinguished name of the entry to be modified.Dn
SearchRequest. getName()
Returns the distinguished name of the base entry relative to which the search is to be performed.Dn
ModifyDnRequest. getNewSuperior()
Returns the distinguished name of an existing entry that will become the immediate superior (parent) of the entry to be renamed.Methods in org.forgerock.opendj.ldap.messages with parameters of type Dn Modifier and Type Method Description static AddRequest
Requests. newAddRequest(Dn name)
Creates a new add request using the provided distinguished name.static CompareRequest
Requests. newCompareRequest(Dn name, AttributeDescription attributeDescription, Object assertionValue)
Creates a new compare request using the provided distinguished name, attribute name, and assertion value.static DeleteRequest
Requests. newDeleteRequest(Dn name)
Creates a new delete request using the provided distinguished name.static ModifyDnRequest
Requests. newModifyDnRequest(Dn name, Rdn newRDN)
Creates a new modify DN request using the provided distinguished name and new RDN.static ModifyRequest
Requests. newModifyRequest(Dn name)
Creates a new modify request using the provided distinguished name.static SearchRequest
Requests. newSearchRequest(Dn name, SearchScope scope)
Creates a new search request using the provided distinguished name and scope.static SearchRequest
Requests. newSearchRequest(Dn name, SearchScope scope, Filter filter, String... attributeDescriptions)
Creates a new search request using the provided distinguished name, scope, and filter.static SearchResultEntry
Responses. newSearchResultEntry(Dn name)
Creates a new search result entry using the provided distinguished name.static BindRequest
Requests. newSimpleBindRequest(Dn name, byte[] password)
Creates a new simple bind request having the provided name and password suitable for name/password authentication.static BindRequest
Requests. newSimpleBindRequest(Dn name, char[] password)
Creates a new simple bind request having the provided name and password suitable for name/password authentication.static BindRequest
Requests. newSimpleBindRequest(Dn name, String password)
Creates a new simple bind request having the provided name and password suitable for name/password authentication.static SearchRequest
Requests. newSingleEntrySearchRequest(Dn name, SearchScope scope, Filter filter, String... attributeDescriptions)
Creates a new search request for a single entry, using the provided distinguished name, scope, and filter.BindResult
BindResult. setMatchedDn(Dn dn)
CompareResult
CompareResult. setMatchedDn(Dn dn)
ExtendedResult
ExtendedResult. setMatchedDn(Dn dn)
GenericExtendedResult
GenericExtendedResult. setMatchedDn(Dn dn)
PasswordModifyExtendedResult
PasswordModifyExtendedResult. setMatchedDn(Dn dn)
Result
Result. setMatchedDn(Dn dn)
Sets the matched DN associated with this result.WhoAmIExtendedResult
WhoAmIExtendedResult. setMatchedDn(Dn dn)
AddRequest
AddRequest. setName(Dn dn)
BindRequest
BindRequest. setName(Dn name)
Sets the name of the Directory object that the client wishes to bind as.CompareRequest
CompareRequest. setName(Dn dn)
Sets the distinguished name of the entry to be compared.DeleteRequest
DeleteRequest. setName(Dn dn)
Sets the distinguished name of the entry to be deleted.ModifyDnRequest
ModifyDnRequest. setName(Dn dn)
Sets the distinguished name of the entry to be renamed.ModifyRequest
ModifyRequest. setName(Dn dn)
Sets the distinguished name of the entry to be modified.SearchRequest
SearchRequest. setName(Dn dn)
Sets the distinguished name of the base entry relative to which the search is to be performed.default SearchResultEntry
SearchResultEntry. setName(Dn dn)
ModifyDnRequest
ModifyDnRequest. setNewSuperior(Dn dn)
Sets the distinguished name of an existing entry that will become the immediate superior (parent) of the entry to be renamed. -
Uses of Dn in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return types with arguments of type Dn Modifier and Type Method Description Function<Dn,Entry,LdapException>
SchemaValidationPolicy. checkDitStructureRulesParentEntryResolver()
Returns the parent entry resolver which should be used for retrieving the parent entry during DIT structure rule validation.Methods in org.forgerock.opendj.ldap.schema with parameters of type Dn Modifier and Type Method Description SchemaBuilder
SchemaBuilder. addSchema(Connection connection, Dn name, boolean overwrite)
Reads the schema elements contained in the named subschema sub-entry and adds them to this schema builder.Single<SchemaBuilder>
SchemaBuilder. addSchema(LdapClientSocket socket, Dn name, boolean overwrite)
Reads the schema elements contained in the named subschema sub-entry and adds them to this schema builder.LdapPromise<SchemaBuilder>
SchemaBuilder. addSchemaAsync(Connection connection, Dn name, boolean overwrite)
Asynchronously reads the schema elements contained in the named subschema sub-entry and adds them to this schema builder.SchemaBuilder
SchemaBuilder. addSchemaForEntry(Connection connection, Dn name, boolean overwrite)
Reads the schema elements contained in the subschema sub-entry which applies to the named entry and adds them to this schema builder.Single<SchemaBuilder>
SchemaBuilder. addSchemaForEntry(LdapClientSocket socket, Dn name, boolean overwrite)
Reads the schema elements contained in the subschema sub-entry which applies to the named entry and adds them to this schema builder.LdapPromise<SchemaBuilder>
SchemaBuilder. addSchemaForEntryAsync(Connection connection, Dn name, boolean overwrite)
Asynchronously reads the schema elements contained in the subschema sub-entry which applies to the named entry and adds them to this schema builder.static SearchRequest
Schema. getReadSchemaSearchRequest(Dn name)
Constructs a search request for retrieving the named subschema sub-entry.static Schema
Schema. readSchema(Connection connection, Dn name)
Reads the schema contained in the named subschema sub-entry.static Single<Schema>
Schema. readSchema(LdapClientSocket socket, Dn name)
Reads the schema contained in the named subschema sub-entry.static LdapPromise<Schema>
Schema. readSchemaAsync(Connection connection, Dn name)
Asynchronously reads the schema contained in the named subschema sub-entry.static Schema
Schema. readSchemaForEntry(Connection connection, Dn name)
Reads the schema contained in the subschema sub-entry which applies to the named entry.static Single<Schema>
Schema. readSchemaForEntry(LdapClientSocket socket, Dn name)
Reads the schema contained in the subschema sub-entry which applies to the named entry.static LdapPromise<Schema>
Schema. readSchemaForEntryAsync(Connection connection, Dn name)
Asynchronously reads the schema contained in the subschema sub-entry which applies to the named entry.Method parameters in org.forgerock.opendj.ldap.schema with type arguments of type Dn Modifier and Type Method Description SchemaValidationPolicy
SchemaValidationPolicy. checkDitStructureRules(SchemaValidationPolicy.Action policy, Function<Dn,Entry,LdapException> parentEntryResolver)
Specifies the policy for validating entries against structure rules defined in the schema. -
Uses of Dn in org.forgerock.opendj.ldif
Methods in org.forgerock.opendj.ldif that return Dn Modifier and Type Method Description Dn
ChangeRecord. getName()
Returns the distinguished name of the entry being modified by thisChangeRecord
.Methods in org.forgerock.opendj.ldif with parameters of type Dn Modifier and Type Method Description LdifChangeRecordReader
LdifChangeRecordReader. setExcludeBranch(Dn excludeBranch)
Excludes all change records which target entries beneath the named entry (inclusive) from being read from LDIF.LdifChangeRecordWriter
LdifChangeRecordWriter. setExcludeBranch(Dn excludeBranch)
Excludes all change records which target entries beneath the named entry (inclusive) from being written to LDIF.LdifEntryReader
LdifEntryReader. setExcludeBranch(Dn excludeBranch)
Excludes all entries beneath the named entry (inclusive) from being read from LDIF.LdifEntryWriter
LdifEntryWriter. setExcludeBranch(Dn excludeBranch)
Excludes all entries beneath the named entry (inclusive) from being written to LDIF.LdifChangeRecordReader
LdifChangeRecordReader. setIncludeBranch(Dn includeBranch)
Ensures that all change records which target entries beneath the named entry (inclusive) are read from LDIF.LdifChangeRecordWriter
LdifChangeRecordWriter. setIncludeBranch(Dn includeBranch)
Ensures that all change records which target entries beneath the named entry (inclusive) are written to LDIF.LdifEntryReader
LdifEntryReader. setIncludeBranch(Dn includeBranch)
Ensures that all entries beneath the named entry (inclusive) are read from LDIF.LdifEntryWriter
LdifEntryWriter. setIncludeBranch(Dn includeBranch)
Ensures that all entries beneath the named entry (inclusive) are written to LDIF.ChangeRecord
ChangeRecord. setName(Dn dn)
Sets the distinguished name of the entry to be updated. -
Uses of Dn in org.forgerock.opendj.rest2ldap.authz
Methods in org.forgerock.opendj.rest2ldap.authz with parameters of type Dn Modifier and Type Method Description static AuthenticationStrategy
AuthenticationStrategies. newSearchThenBindStrategy(LdapClient searchLdapClient, LdapClient bindLdapClient, Dn baseDN, SearchScope searchScope, String filterTemplate)
Creates anAuthenticationStrategy
performing authentication against an LDAP server by first performing a lookup of the entry to bind with. -
Uses of Dn in org.forgerock.opendj.rest2ldap.schema
Methods in org.forgerock.opendj.rest2ldap.schema that return Dn Modifier and Type Method Description static Dn
JsonSchema. byteStringToNameWithoutJson(Schema schema, ByteSequence value)
Decodes the provided value as a Name and JSON value but without decoding the JSON value.Methods in org.forgerock.opendj.rest2ldap.schema that return types with arguments of type Dn Modifier and Type Method Description static Pair<Dn,Object>
JsonSchema. byteStringToNameAndJson(Schema schema, ByteSequence value)
Decodes the provided value as a Name and JSON value.Methods in org.forgerock.opendj.rest2ldap.schema with parameters of type Dn Modifier and Type Method Description static ByteString
JsonSchema. nameAndJsonToByteString(ByteSequence nameAndJsonValue, Dn newName)
static ByteString
JsonSchema. nameAndJsonToByteString(Dn name, Object json)
-
Uses of Dn in org.forgerock.opendj.security
Methods in org.forgerock.opendj.security with parameters of type Dn Modifier and Type Method Description Pair<PrivateKey,X509Certificate>
DeploymentId. generateSslKeyPair(Dn subjectDn, Collection<String> dnsNames)
Generates an SSL private key and an SSL certificate signed by the root CA certificate associated with this deployment ID.Pair<PrivateKey,X509Certificate>
DeploymentId. generateSslKeyPair(Dn subjectDn, Collection<String> dnsNames, Instant notBefore, Duration validity)
Generates an SSL private key and an SSL certificate signed by the root CA certificate associated with this deployment ID.Pair<PrivateKey,X509Certificate>
DeploymentId. generateSslKeyPairForWritableReplica(Dn subjectDn, Collection<String> dnsNames, Instant notBefore, Duration validity)
Generates an SSL private key and an SSL certificate, same asDeploymentId.generateSslKeyPair(Dn, Collection, Instant, Duration)
, but theExtendedKeyUsage
extension has an additional ForgeRock defined usage for recognizing replicas allowed to send updates.X509CertificateBuilder
X509CertificateBuilder. issuerDn(Dn issuerDn)
Sets the certificate issuer name.static KeyStoreParameters
KeyStoreParameters. newKeyStoreParameters(ConnectionFactory factory, Dn baseDN)
Creates a set of LDAP key store parameters with default options.static KeyStoreParameters
KeyStoreParameters. newKeyStoreParameters(ConnectionFactory factory, Dn baseDN, Options options)
Creates a set of LDAP key store parameters with custom options.static KeyStore
OpenDjSecurityProvider. newLdapKeyStore(ConnectionFactory factory, Dn baseDN)
Creates a new LDAP key store with default options.static KeyStore
OpenDjSecurityProvider. newLdapKeyStore(ConnectionFactory factory, Dn baseDN, Options options)
Creates a new LDAP key store with custom options.static KeyStore
OpenDjSecurityProvider. newLdifKeyStore(File ldifFile, Dn baseDN)
Creates a new LDIF based key store which will read and write key store objects to the provided key store file.static KeyStore
OpenDjSecurityProvider. newLdifKeyStore(File ldifFile, Dn baseDN, Options options)
Creates a new LDIF based key store which will read and write key store objects to the provided key store file.X509CertificateBuilder
X509CertificateBuilder. subjectDn(Dn subjectDn)
Sets the certificate subject name. -
Uses of Dn in org.forgerock.opendj.server.config.client
Methods in org.forgerock.opendj.server.config.client that return types with arguments of type Dn Modifier and Type Method Description ValueOrExpression<Dn>
ProxyBackendCfgClient. getAvailabilityCheckSearchRequestBaseDn()
Gets the "availability-check-search-request-base-dn" property.ValueOrExpression<Dn>
BackendVlvIndexCfgClient. getBaseDn()
Gets the "base-dn" property.ValueOrExpression<Dn>
LdapKeyManagerProviderCfgClient. getBaseDn()
Gets the "base-dn" property.ValueOrExpression<Dn>
LdapTrustManagerProviderCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
LdifBackendCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
MemoryBackendCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
NullBackendCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
PluggableBackendCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
ProxyBackendCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
ReferentialIntegrityPluginCfgClient. getBaseDn()
Gets the "base-dn" property.ValueOrExpression<Dn>
ReplicationDomainCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
SevenBitCleanPluginCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
UniqueAttributePluginCfgClient. getBaseDn()
Gets the "base-dn" property.SortedSet<ValueOrExpression<Dn>>
VirtualAttributeCfgClient. getBaseDn()
Gets the "base-dn" property.ValueOrExpression<Dn>
ReplicationServiceDiscoveryMechanismCfgClient. getBindDn()
Gets the "bind-dn" property.SortedSet<ValueOrExpression<Dn>>
ReplicationServerCfgClient. getChangelogEnabledExcludedDomains()
Gets the "changelog-enabled-excluded-domains" property.SortedSet<ValueOrExpression<Dn>>
VirtualAttributeCfgClient. getGroupDn()
Gets the "group-dn" property.ValueOrExpression<Dn>
ProxyBackendCfgClient. getKeepAliveSearchRequestBaseDn()
Gets the "keep-alive-search-request-base-dn" property.SortedSet<ValueOrExpression<Dn>>
LdapPassThroughAuthenticationPolicyCfgClient. getMappedSearchBaseDn()
Gets the "mapped-search-base-dn" property.ValueOrExpression<Dn>
LdapPassThroughAuthenticationPolicyCfgClient. getMappedSearchBindDn()
Gets the "mapped-search-bind-dn" property.SortedSet<ValueOrExpression<Dn>>
ExactMatchIdentityMapperCfgClient. getMatchBaseDn()
Gets the "match-base-dn" property.SortedSet<ValueOrExpression<Dn>>
RegularExpressionIdentityMapperCfgClient. getMatchBaseDn()
Gets the "match-base-dn" property.SortedSet<ValueOrExpression<Dn>>
ProxyBackendCfgClient. getPartitionBaseDn()
Gets the "partition-base-dn" property.ValueOrExpression<Dn>
ProxyBackendCfgClient. getProxyUserDn()
Gets the "proxy-user-dn" property.ValueOrExpression<Dn>
SambaPasswordPluginCfgClient. getSambaAdministratorDn()
Gets the "samba-administrator-dn" property.SortedSet<ValueOrExpression<Dn>>
SchemaBackendCfgClient. getSchemaEntryDn()
Gets the "schema-entry-dn" property.SortedSet<ValueOrExpression<Dn>>
GlobalCfgClient. getSubordinateBaseDn()
Gets the "subordinate-base-dn" property.SortedSet<ValueOrExpression<Dn>>
FingerprintCertificateMapperCfgClient. getUserBaseDn()
Gets the "user-base-dn" property.SortedSet<ValueOrExpression<Dn>>
SubjectAttributeToUserAttributeCertificateMapperCfgClient. getUserBaseDn()
Gets the "user-base-dn" property.SortedSet<ValueOrExpression<Dn>>
SubjectDnToUserAttributeCertificateMapperCfgClient. getUserBaseDn()
Gets the "user-base-dn" property.ValueOrExpression<Dn>
HttpAnonymousAuthorizationMechanismCfgClient. getUserDn()
Gets the "user-dn" property.SortedSet<ValueOrExpression<Dn>>
AccessLogFilteringCriteriaCfgClient. getUserIsMemberOf()
Gets the "user-is-member-of" property.SortedSet<ValueOrExpression<Dn>>
AccessLogFilteringCriteriaCfgClient. getUserIsNotMemberOf()
Gets the "user-is-not-member-of" property.Method parameters in org.forgerock.opendj.server.config.client with type arguments of type Dn Modifier and Type Method Description void
ProxyBackendCfgClient. setAvailabilityCheckSearchRequestBaseDn(ValueOrExpression<Dn> value)
Sets the "availability-check-search-request-base-dn" property.void
BackendVlvIndexCfgClient. setBaseDn(ValueOrExpression<Dn> value)
Sets the "base-dn" property.void
LdapKeyManagerProviderCfgClient. setBaseDn(ValueOrExpression<Dn> value)
Sets the "base-dn" property.void
LdapTrustManagerProviderCfgClient. setBaseDn(ValueOrExpression<Dn> value)
Sets the "base-dn" property.void
LdifBackendCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
MemoryBackendCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
NullBackendCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
PluggableBackendCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
ProxyBackendCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
ReferentialIntegrityPluginCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
ReplicationDomainCfgClient. setBaseDn(ValueOrExpression<Dn> value)
Sets the "base-dn" property.void
SevenBitCleanPluginCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
UniqueAttributePluginCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
VirtualAttributeCfgClient. setBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "base-dn" property.void
ReplicationServiceDiscoveryMechanismCfgClient. setBindDn(ValueOrExpression<Dn> value)
Sets the "bind-dn" property.void
ReplicationServerCfgClient. setChangelogEnabledExcludedDomains(Collection<ValueOrExpression<Dn>> values)
Sets the "changelog-enabled-excluded-domains" property.void
VirtualAttributeCfgClient. setGroupDn(Collection<ValueOrExpression<Dn>> values)
Sets the "group-dn" property.void
ProxyBackendCfgClient. setKeepAliveSearchRequestBaseDn(ValueOrExpression<Dn> value)
Sets the "keep-alive-search-request-base-dn" property.void
LdapPassThroughAuthenticationPolicyCfgClient. setMappedSearchBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "mapped-search-base-dn" property.void
LdapPassThroughAuthenticationPolicyCfgClient. setMappedSearchBindDn(ValueOrExpression<Dn> value)
Sets the "mapped-search-bind-dn" property.void
ExactMatchIdentityMapperCfgClient. setMatchBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "match-base-dn" property.void
RegularExpressionIdentityMapperCfgClient. setMatchBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "match-base-dn" property.void
ProxyBackendCfgClient. setPartitionBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "partition-base-dn" property.void
ProxyBackendCfgClient. setProxyUserDn(ValueOrExpression<Dn> value)
Sets the "proxy-user-dn" property.void
SambaPasswordPluginCfgClient. setSambaAdministratorDn(ValueOrExpression<Dn> value)
Sets the "samba-administrator-dn" property.void
SchemaBackendCfgClient. setSchemaEntryDn(Collection<ValueOrExpression<Dn>> values)
Sets the "schema-entry-dn" property.void
GlobalCfgClient. setSubordinateBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "subordinate-base-dn" property.void
FingerprintCertificateMapperCfgClient. setUserBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "user-base-dn" property.void
SubjectAttributeToUserAttributeCertificateMapperCfgClient. setUserBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "user-base-dn" property.void
SubjectDnToUserAttributeCertificateMapperCfgClient. setUserBaseDn(Collection<ValueOrExpression<Dn>> values)
Sets the "user-base-dn" property.void
HttpAnonymousAuthorizationMechanismCfgClient. setUserDn(ValueOrExpression<Dn> value)
Sets the "user-dn" property.void
AccessLogFilteringCriteriaCfgClient. setUserIsMemberOf(Collection<ValueOrExpression<Dn>> values)
Sets the "user-is-member-of" property.void
AccessLogFilteringCriteriaCfgClient. setUserIsNotMemberOf(Collection<ValueOrExpression<Dn>> values)
Sets the "user-is-not-member-of" property. -
Uses of Dn in org.forgerock.opendj.server.config.server
Methods in org.forgerock.opendj.server.config.server that return Dn Modifier and Type Method Description Dn
ProxyBackendCfg. getAvailabilityCheckSearchRequestBaseDn()
Gets the "availability-check-search-request-base-dn" property.Dn
BackendVlvIndexCfg. getBaseDn()
Gets the "base-dn" property.Dn
LdapKeyManagerProviderCfg. getBaseDn()
Gets the "base-dn" property.Dn
LdapTrustManagerProviderCfg. getBaseDn()
Gets the "base-dn" property.Dn
ReplicationDomainCfg. getBaseDn()
Gets the "base-dn" property.Dn
ReplicationServiceDiscoveryMechanismCfg. getBindDn()
Gets the "bind-dn" property.Dn
LdapPassThroughAuthenticationPolicyCfg. getCachedPasswordStorageSchemeDn()
Gets the "cached-password-storage-scheme" property as a DN.Dn
GlobalCfg. getDefaultPasswordPolicyDn()
Gets the "default-password-policy" property as a DN.Dn
ProxyBackendCfg. getKeepAliveSearchRequestBaseDn()
Gets the "keep-alive-search-request-base-dn" property.Dn
AdministrationConnectorCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
CryptoManagerCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
HttpConnectionHandlerCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
HttpOauth2OpenamAuthorizationMechanismCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
HttpOauth2TokenIntrospectionAuthorizationMechanismCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
JmxConnectionHandlerCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
LdapConnectionHandlerCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
ProxyBackendCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
ReplicationServiceDiscoveryMechanismCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
ReplicationSynchronizationProviderCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
StaticServiceDiscoveryMechanismCfg. getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.Dn
LdapPassThroughAuthenticationPolicyCfg. getMappedSearchBindDn()
Gets the "mapped-search-bind-dn" property.Dn
PasswordPolicyCfg. getPasswordGeneratorDn()
Gets the "password-generator" property as a DN.Dn
ProxyBackendCfg. getProxyUserDn()
Gets the "proxy-user-dn" property.Dn
SambaPasswordPluginCfg. getSambaAdministratorDn()
Gets the "samba-administrator-dn" property.Dn
HttpOauth2OpenamAuthorizationMechanismCfg. getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.Dn
HttpOauth2TokenIntrospectionAuthorizationMechanismCfg. getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.Dn
LdapPassThroughAuthenticationPolicyCfg. getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.Dn
MailServerCfg. getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.Dn
ReplicationServiceDiscoveryMechanismCfg. getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.Dn
StaticServiceDiscoveryMechanismCfg. getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.Dn
HttpAnonymousAuthorizationMechanismCfg. getUserDn()
Gets the "user-dn" property.Methods in org.forgerock.opendj.server.config.server that return types with arguments of type Dn Modifier and Type Method Description SortedSet<Dn>
PasswordPolicyCfg. getAccountStatusNotificationHandlerDns()
Gets the "account-status-notification-handler" property as a set of DNs.SortedSet<Dn>
HttpEndpointCfg. getAuthorizationMechanismDns()
Gets the "authorization-mechanism" property as a set of DNs.SortedSet<Dn>
LdifBackendCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
MemoryBackendCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
NullBackendCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
PluggableBackendCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
ProxyBackendCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
ReferentialIntegrityPluginCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
SevenBitCleanPluginCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
UniqueAttributePluginCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
VirtualAttributeCfg. getBaseDn()
Gets the "base-dn" property.SortedSet<Dn>
ExternalSaslMechanismHandlerCfg. getCertificateMapperDns()
Gets the "certificate-mapper" property as a set of DNs.SortedSet<Dn>
ReplicationServerCfg. getChangelogEnabledExcludedDomains()
Gets the "changelog-enabled-excluded-domains" property.SortedSet<Dn>
PasswordPolicyImportPluginCfg. getDefaultAuthPasswordStorageSchemeDns()
Gets the "default-auth-password-storage-scheme" property as a set of DNs.SortedSet<Dn>
PasswordPolicyCfg. getDefaultPasswordStorageSchemeDns()
Gets the "default-password-storage-scheme" property as a set of DNs.SortedSet<Dn>
PasswordPolicyImportPluginCfg. getDefaultUserPasswordStorageSchemeDns()
Gets the "default-user-password-storage-scheme" property as a set of DNs.SortedSet<Dn>
PasswordPolicyCfg. getDeprecatedPasswordStorageSchemeDns()
Gets the "deprecated-password-storage-scheme" property as a set of DNs.SortedSet<Dn>
VirtualAttributeCfg. getGroupDn()
Gets the "group-dn" property.SortedSet<Dn>
CramMd5SaslMechanismHandlerCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
DigestMd5SaslMechanismHandlerCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
GssapiSaslMechanismHandlerCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
HttpBasicAuthorizationMechanismCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
HttpOauth2AuthorizationMechanismCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
PasswordModifyExtendedOperationHandlerCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
PlainSaslMechanismHandlerCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
ScramSha256SaslMechanismHandlerCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
ScramSha512SaslMechanismHandlerCfg. getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.SortedSet<Dn>
LdapPassThroughAuthenticationPolicyCfg. getMappedSearchBaseDn()
Gets the "mapped-search-base-dn" property.SortedSet<Dn>
ExactMatchIdentityMapperCfg. getMatchBaseDn()
Gets the "match-base-dn" property.SortedSet<Dn>
RegularExpressionIdentityMapperCfg. getMatchBaseDn()
Gets the "match-base-dn" property.SortedSet<Dn>
ProxyBackendCfg. getPartitionBaseDn()
Gets the "partition-base-dn" property.SortedSet<Dn>
PasswordPolicyCfg. getPasswordValidatorDns()
Gets the "password-validator" property as a set of DNs.SortedSet<Dn>
GlobalCfg. getProxiedAuthorizationIdentityMapperDns()
Gets the "proxied-authorization-identity-mapper" property as a set of DNs.SortedSet<Dn>
CsvFileAccessLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
CsvFileHttpAccessLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
FileBasedAccessLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
FileBasedAuditLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
FileBasedDebugLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
FileBasedErrorLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
FileBasedHttpAccessLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
JsonFileAccessLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
JsonFileHttpAccessLogPublisherCfg. getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.SortedSet<Dn>
CsvFileAccessLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
CsvFileHttpAccessLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
FileBasedAccessLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
FileBasedAuditLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
FileBasedDebugLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
FileBasedErrorLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
FileBasedHttpAccessLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
JsonFileAccessLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
JsonFileHttpAccessLogPublisherCfg. getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SortedSet<Dn>
SchemaBackendCfg. getSchemaEntryDn()
Gets the "schema-entry-dn" property.SortedSet<Dn>
ProxyBackendCfg. getShardDns()
Gets the "shard" property as a set of DNs.SortedSet<Dn>
GlobalCfg. getSubordinateBaseDn()
Gets the "subordinate-base-dn" property.SortedSet<Dn>
AdministrationConnectorCfg. getTrustManagerProviderDns()
Gets the "trust-manager-provider" property as a set of DNs.SortedSet<Dn>
HttpConnectionHandlerCfg. getTrustManagerProviderDns()
Gets the "trust-manager-provider" property as a set of DNs.SortedSet<Dn>
LdapConnectionHandlerCfg. getTrustManagerProviderDns()
Gets the "trust-manager-provider" property as a set of DNs.SortedSet<Dn>
ReplicationSynchronizationProviderCfg. getTrustManagerProviderDns()
Gets the "trust-manager-provider" property as a set of DNs.SortedSet<Dn>
FingerprintCertificateMapperCfg. getUserBaseDn()
Gets the "user-base-dn" property.SortedSet<Dn>
SubjectAttributeToUserAttributeCertificateMapperCfg. getUserBaseDn()
Gets the "user-base-dn" property.SortedSet<Dn>
SubjectDnToUserAttributeCertificateMapperCfg. getUserBaseDn()
Gets the "user-base-dn" property.SortedSet<Dn>
AccessLogFilteringCriteriaCfg. getUserIsMemberOf()
Gets the "user-is-member-of" property.SortedSet<Dn>
AccessLogFilteringCriteriaCfg. getUserIsNotMemberOf()
Gets the "user-is-not-member-of" property. -
Uses of Dn in org.forgerock.opendj.server.core
Methods in org.forgerock.opendj.server.core that return Dn Modifier and Type Method Description Dn
RequestContext. getAuthenticationDn()
Returns the authentication Dn for logging.Dn
RequestContext. getAuthorizationDn()
Returns the authorization Dn for logging, which could be from proxy auth.Dn
RequestContext. getProxiedAuthorizationDn()
Returns the proxied authorization DN if proxy authorization has been requested.Methods in org.forgerock.opendj.server.core with parameters of type Dn Modifier and Type Method Description void
RequestContext. setProxiedAuthorizationDn(Dn proxiedAuthorizationDn)
Set the proxied authorization DN for this operation if any. -
Uses of Dn in org.forgerock.opendj.server.embedded
Methods in org.forgerock.opendj.server.embedded with parameters of type Dn Modifier and Type Method Description Connection
EmbeddedDirectoryServer. getConnection(Dn userDn)
Returns a connection to the embedded server that will be authenticated as the specified user. -
Uses of Dn in org.forgerock.opendj.setup.model
Fields in org.forgerock.opendj.setup.model declared as Dn Modifier and Type Field Description static Dn
SetupConstants. ADMIN_DATA_DN
DN of the administration data replication domain.static Dn
SetupConstants. DEFAULT_ROOT_DN
Root user default distinguish name.Methods in org.forgerock.opendj.setup.model that return Dn Modifier and Type Method Description Dn
Profile.DnParameter. parseStringValue(String strValue)
Dn
Profile.DomainParameter. parseStringValue(String strValue)
Methods in org.forgerock.opendj.setup.model with parameters of type Dn Modifier and Type Method Description Setup
Setup. monitorUserDn(Dn monitorUserDn)
Specifies the DN of the monitor user, having access to monitor information.Setup
Setup. rootUserDn(Dn rootUserDn)
Specifies the user root distinguish name of the instance to setup. -
Uses of Dn in org.opends.server.api
Methods in org.opends.server.api that return Dn Modifier and Type Method Description protected Dn
EntryCache. computeMonitorInstanceDn()
protected Dn
KeyManagerProvider.CertificateMonitor. computeMonitorInstanceDn()
protected abstract Dn
MonitorProvider. computeMonitorInstanceDn()
Returns the monitor instance DN for this monitor provider.static Dn
MonitorProvider. configurationDnToMonitorDn(Dn configDn)
Convenience method for mapping a component's configuration DN to its equivalent monitoring DN.Dn
DITCacheMap. getBaseDn(Dn entryDn)
Find the Base DN of the provided DN.Dn
AlertGenerator. getComponentEntryDN()
Retrieves the DN of the configuration entry with which this alert generator is associated.abstract Dn
ConnectionHandler. getComponentEntryDN()
Retrieves the DN of the configuration entry with which this alert generator is associated.abstract Dn
AuthenticationPolicy. getDN()
Returns the name of the configuration entry associated with this authentication policy.abstract Dn
EntryCache. getEntryDN(String backendID, long entryID)
Retrieves the entry DN for the entry with the specified ID on the specific backend from the cache.Dn
Group. getGroupDN()
Retrieves the DN of the entry that contains the definition for this group.Dn
ClientConnection. getKeyManagerProviderDN()
Retrieves the DN of the key manager provider that should be used for operations requiring access to a key manager.Dn
MonitorProvider. getMonitorInstanceDn()
Returns the DN of this monitor provider.Methods in org.opends.server.api that return types with arguments of type Dn Modifier and Type Method Description Iterator<Map.Entry<Dn,T>>
DITCacheMap. childrenIterator(Dn baseDn)
Returns a filtered-view of this map containing only the immediate children of base-dn.Set<Map.Entry<Dn,T>>
DITCacheMap. entrySet()
abstract Set<Dn>
Backend. getBaseDNs()
Retrieves the set of base-level DNs that may be used within this backend.List<Dn>
DITCacheMap. getChildrenDns(Dn key, long maxNumberOfChildren)
Returns the list of the children's DNs, size bounded.Flowable<Dn>
Group. getMemberDns()
Retrieves an iterator that may be used to cursor through the Dns of the members contained in this group.Methods in org.opends.server.api with parameters of type Dn Modifier and Type Method Description boolean
AccessControlHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
Checks whether the ACIs prevent sending information about the provided entry, or entryDN if entry is null.Iterator<Map.Entry<Dn,T>>
DITCacheMap. childrenIterator(Dn baseDn)
Returns a filtered-view of this map containing only the immediate children of base-dn.static Dn
MonitorProvider. configurationDnToMonitorDn(Dn configDn)
Convenience method for mapping a component's configuration DN to its equivalent monitoring DN.abstract boolean
EntryCache. containsEntry(Dn entryDN)
Indicates whether the entry cache currently contains the entry with the specified DN.boolean
DITCacheMap. containsSubtree(Dn key)
Returnstrue
if there are stored objects associated with the subtree having the provided base DN.abstract void
LocalBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
Removes the specified entry from this backend.boolean
LocalBackend. entryExists(Dn entryDN)
Indicates whether an entry with the specified DN exists in the backend.Flowable<Entry>
Group. getAllMembers(Dn baseDN, SearchScope scope, Filter filter)
Retrieves an iterator that may be used to cursor through the entries of the members contained in this group, or its nested groups.Dn
DITCacheMap. getBaseDn(Dn entryDn)
Find the Base DN of the provided DN.List<Dn>
DITCacheMap. getChildrenDns(Dn key, long maxNumberOfChildren)
Returns the list of the children's DNs, size bounded.abstract SizedEntry
EntryCache. getEntry(Dn entryDN)
Retrieves the entry with its size, with the specified DN from the cache.abstract Entry
LocalBackend. getEntry(Dn entryDN)
Retrieves the requested entry from this backend.abstract long
LocalBackend. getNumberOfChildren(Dn parentDN)
Retrieves the number of subordinates immediately below the requested entry.abstract long
LocalBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
Retrieves the number of entries for the specified base DN including all entries from the requested entry to the lowest level in the tree.Collection<T>
DITCacheMap. getSubtreeValues(Dn key)
Returns values from the stored objects associated with the subtree having the provided base DN.boolean
LocalBackend. handlesEntry(Dn entryDN)
Indicates whether this backend should be used to handle operations for the provided entry.static boolean
LocalBackend. handlesEntry(Dn entryDN, Collection<Dn> baseDNs, Collection<Dn> excludeDNs)
Indicates whether a backend should be used to handle operations for the provided entry given the set of base DNs and exclude DNs.boolean
DITCacheMap. hasChildren(Dn key)
Returnstrue
if there are objects below the DN, excluding the DN itself.abstract ConditionResult
LocalBackend. hasSubordinates(Dn entryDN)
Indicates whether the requested entry has any subordinates.boolean
AccessControlHandler. isAllowed(Dn dn, Operation op, Control control)
Indicates whether the provided control is allowed based on the access control configuration and the specified operation.default boolean
Group. isMember(Dn userDN)
Indicates whether the user with the specified DN is a member of this group.boolean
Group. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)
Indicates whether the user with the specified DN is a member of this group.boolean
AccessControlHandler. maySend(Dn dn, Operation operation, SearchResultReference searchReference)
Indicates whether the provided search result reference may be sent to the client based on the access control configuration.T
DITCacheMap. put(Dn key, T value)
abstract void
EntryCache. removeEntry(Dn entryDN)
Removes the specified entry from the cache.boolean
DITCacheMap. removeSubtree(Dn key, Collection<? super T> removedValues)
Removes the stored objects associated with the subtree having the provided base DN.abstract void
LocalBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
Moves and/or renames the provided entry in this backend, altering any subordinate entries as necessary.void
LocalBackend. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
Consumes all or a subset of entries contained in this backend under the provided base DN.void
Group. setGroupDN(Dn groupDN)
Sets the DN of the entry that contains the definition for this group.Method parameters in org.opends.server.api with type arguments of type Dn Modifier and Type Method Description static boolean
LocalBackend. handlesEntry(Dn entryDN, Collection<Dn> baseDNs, Collection<Dn> excludeDNs)
Indicates whether a backend should be used to handle operations for the provided entry given the set of base DNs and exclude DNs.void
DITCacheMap. putAll(Map<? extends Dn,? extends T> m)
-
Uses of Dn in org.opends.server.api.plugin
Methods in org.opends.server.api.plugin that return Dn Modifier and Type Method Description Dn
DirectoryServerPlugin. getPluginEntryDN()
Retrieves the DN of the configuration entry for this plugin.Methods in org.opends.server.api.plugin with parameters of type Dn Modifier and Type Method Description void
DirectoryServerPlugin. initializeInternal(ServerContext serverContext, Dn pluginDN, Set<PluginType> pluginTypes, boolean invokeForInternalOps)
Performs any initialization that should be done for all types of plugins regardless of type.PluginResult.SubordinateDelete
DirectoryServerPlugin. processSubordinateDelete(DeleteOperation deleteOperation, Dn entryDn, boolean isCommited)
Performs any necessary processing that should be done whenever a subordinate entry is deleted as part of subtree delete operation.PluginResult.SubordinateModifyDN
DirectoryServerPlugin. processSubordinateModifyDN(SubordinateModifyDNOperation modifyDNOperation, Dn oldEntryDn, Dn newEntryDn)
Performs any necessary processing that should be done whenever a subordinate entry is moved or renamed as part of a modify DN operation.static PluginResult.IntermediateResponse
PluginResult.IntermediateResponse. stopProcessing(boolean sendResponse, ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)
Defines a new stop processing intermediate response plugin result.static PluginResult.PostOperation
PluginResult.PostOperation. stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)
Defines a new stop processing post operation plugin result.static PluginResult.PreOperation
PluginResult.PreOperation. stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)
Defines a new stop processing pre operation plugin result.static PluginResult.PreParse
PluginResult.PreParse. stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)
Defines a new stop processing pre parse plugin result.static PluginResult.SubordinateDelete
PluginResult.SubordinateDelete. stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)
Defines a new stop processing subordinate delete plugin result.static PluginResult.SubordinateModifyDN
PluginResult.SubordinateModifyDN. stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)
Defines a new stop processing subordinate modify DN plugin result.Constructors in org.opends.server.api.plugin with parameters of type Dn Constructor Description InternalDirectoryServerPlugin(Dn componentDN, ServerContext serverContext, Set<PluginType> pluginTypes)
Creates a new internal directory server plugin using the provided component name and plugin types. -
Uses of Dn in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat that return Dn Modifier and Type Method Description Dn
ParentInheritance. getBaseDN()
Return the DN that groupdn must be under.Dn
AciEvalContext. getClientDN()
Get client DN.Dn
AciListenerManager. getComponentEntryDN()
Dn
Aci. getDN()
Return the DN of the entry containing the ACI.Dn
Target. getDN()
Returns the URL DN of the expression.Dn
AciEvalContext. getResourceDN()
Get the resource DN.Methods in org.opends.server.authorization.dseecompat with parameters of type Dn Modifier and Type Method Description void
AciList. addAci(Dn dn, SortedSet<Aci> acis)
Add a set of ACIs to the ACI list.boolean
AciHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
static Aci
Aci. decode(String aciString, Dn dn)
Decode an ACI byte string.static AciTargets
AciTargets. decode(String input, Dn dn, ServerContext serverContext)
Decode an ACI's target part of the syntax from the string provided.static Target
Target. decode(EnumTargetOperator operator, String expr, Dn aciDN)
Decode an expression string representing a target keyword expression.static boolean
UserDN. evaluate(Entry e, Dn clientDN, AttributeType attrType)
This method searches an entry for an attribute value that is treated as a DN.boolean
AciHandler. isAllowed(Dn entryDN, Operation op, Control control)
boolean
PatternDN. matchesDN(Dn dn, Schema schema)
Determine whether a given DN matches this pattern.boolean
Target. matchesPattern(Dn dn, Schema schema)
This method tries to match a pattern against a DN.boolean
AciHandler. maySend(Dn dn, Operation operation, SearchResultReference reference)
void
AciList. renameAci(Dn oldDN, Dn newDN)
Rename all ACIs under the specified old DN to the new DN.Constructors in org.opends.server.authorization.dseecompat with parameters of type Dn Constructor Description AciList(Dn configDN)
Constructor to create an ACI list to cache ACI attribute types.AciListenerManager(AciList aciList, Dn cfgDN, ServerContext serverContext)
Save the list created by the AciHandler routine. -
Uses of Dn in org.opends.server.authorization.policy
Methods in org.opends.server.authorization.policy with parameters of type Dn Modifier and Type Method Description boolean
PolicyBasedAccessControlHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
boolean
PolicyBasedAccessControlHandler. isAllowed(Dn dn, Operation op, Control control)
boolean
PolicyBasedAccessControlHandler. maySend(Dn dn, Operation operation, SearchResultReference searchReference)
-
Uses of Dn in org.opends.server.backends
Fields in org.opends.server.backends declared as Dn Modifier and Type Field Description static Dn
ChangelogBackend. CHANGELOG_BASE_DN
The base DN for the external change log.Methods in org.opends.server.backends that return Dn Modifier and Type Method Description Dn
ConfigurationBackend.ConfigurationBackendCfg. dn()
Dn
RebuildConfig. getBaseDN()
Get the base DN to rebuild.Dn
VerifyConfig. getBaseDN()
Get the base DN to be verified.Dn
LDIFBackend. getComponentEntryDN()
Dn
SchemaBackend. getComponentEntryDN()
Methods in org.opends.server.backends that return types with arguments of type Dn Modifier and Type Method Description Set<Dn>
ChangelogBackend. getBaseDNs()
Set<Dn>
ConfigurationBackend. getBaseDNs()
Set<Dn>
LDIFBackend. getBaseDNs()
Set<Dn>
MemoryBackend. getBaseDNs()
Set<Dn>
MonitorBackend. getBaseDNs()
Set<Dn>
NullBackend. getBaseDNs()
Set<Dn>
ProxyBackend. getBaseDNs()
Set<Dn>
RootDSEBackend. getBaseDNs()
Set<Dn>
SchemaBackend. getBaseDNs()
Methods in org.opends.server.backends with parameters of type Dn Modifier and Type Method Description void
ChangelogBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
ConfigurationBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
LDIFBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
MemoryBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
MonitorBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
NullBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
RootDSEBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
SchemaBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
boolean
ConfigurationBackend. entryExists(Dn entryDN)
boolean
LDIFBackend. entryExists(Dn entryDN)
boolean
MemoryBackend. entryExists(Dn entryDN)
boolean
MonitorBackend. entryExists(Dn entryDN)
boolean
NullBackend. entryExists(Dn entryDN)
boolean
RootDSEBackend. entryExists(Dn entryDN)
boolean
SchemaBackend. entryExists(Dn entryDN)
Entry
ChangelogBackend. getEntry(Dn entryDN)
Entry
ConfigurationBackend. getEntry(Dn entryDN)
Entry
LDIFBackend. getEntry(Dn entryDN)
Entry
MemoryBackend. getEntry(Dn entryDN)
Entry
MonitorBackend. getEntry(Dn entryDN)
Entry
NullBackend. getEntry(Dn entryDn)
Entry
RootDSEBackend. getEntry(Dn entryDN)
Entry
SchemaBackend. getEntry(Dn entryDN)
long
ChangelogBackend. getNumberOfChildren(Dn parentDN)
long
ConfigurationBackend. getNumberOfChildren(Dn parentDN)
long
LDIFBackend. getNumberOfChildren(Dn parentDN)
long
MemoryBackend. getNumberOfChildren(Dn parentDN)
long
MonitorBackend. getNumberOfChildren(Dn parentDN)
long
NullBackend. getNumberOfChildren(Dn parentDN)
long
RootDSEBackend. getNumberOfChildren(Dn parentDN)
long
SchemaBackend. getNumberOfChildren(Dn parentDN)
long
ChangelogBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
ConfigurationBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
LDIFBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
MemoryBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
MonitorBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
NullBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
RootDSEBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
SchemaBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
ConditionResult
ChangelogBackend. hasSubordinates(Dn entryDN)
ConditionResult
ConfigurationBackend. hasSubordinates(Dn entryDN)
ConditionResult
LDIFBackend. hasSubordinates(Dn entryDN)
ConditionResult
MemoryBackend. hasSubordinates(Dn entryDN)
ConditionResult
MonitorBackend. hasSubordinates(Dn entryDN)
ConditionResult
NullBackend. hasSubordinates(Dn entryDN)
ConditionResult
RootDSEBackend. hasSubordinates(Dn entryDN)
ConditionResult
SchemaBackend. hasSubordinates(Dn entryDN)
void
ChangelogBackend. notifyChangeNumberEntryAdded(Dn baseDN, long changeNumber, String cookie, LDAPUpdateMsg updateMsg)
Notifies persistent searches of this backend that a new change number entry was added to it.void
ChangelogBackend. notifyCookieEntryAdded(Dn baseDN, LDAPUpdateMsg updateMsg)
Notifies persistent searches of this backend that a new cookie entry was added to it.void
ChangelogBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
ConfigurationBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
LDIFBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
MemoryBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
MonitorBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
NullBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
RootDSEBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
SchemaBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
LDIFBackend. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
Constructors in org.opends.server.backends with parameters of type Dn Constructor Description RebuildConfig(Dn baseDN)
Builds a new rebuild config object.VerifyConfig(Dn baseDN)
builds a new verify config object. -
Uses of Dn in org.opends.server.backends.pluggable
Methods in org.opends.server.backends.pluggable that return types with arguments of type Dn Modifier and Type Method Description Set<Dn>
BackendImpl. getBaseDNs()
Methods in org.opends.server.backends.pluggable with parameters of type Dn Modifier and Type Method Description void
BackendImpl. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
boolean
BackendImpl. entryExists(Dn entryDN)
Entry
BackendImpl. getEntry(Dn entryDN)
long
BackendImpl. getNumberOfChildren(Dn parentDN)
long
BackendImpl. getNumberOfEntriesInBaseDN(Dn baseDN)
ConditionResult
BackendImpl. hasSubordinates(Dn entryDN)
void
BackendImpl. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
BackendImpl. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
-
Uses of Dn in org.opends.server.backends.pluggable.spi
Methods in org.opends.server.backends.pluggable.spi with parameters of type Dn Modifier and Type Method Description static void
StorageUtils. checkDBDirPermissions(String dbDirPermissions, Dn configDN, ConfigChangeResult ccr)
Returns false if directory permissions in the configuration are invalid.static void
StorageUtils. setDBDirPermissions(Path backendDir, String dbDirPermissions, Dn configDN, ConfigChangeResult ccr)
Sets files permissions on the backend directory.static void
StorageUtils. setupStorageFiles(Path backendDir, String dbDirPermissions, Dn configDN)
Ensure backendDir exists (creating it if not) and has the specified dbDirPermissions. -
Uses of Dn in org.opends.server.backends.task
Methods in org.opends.server.backends.task that return Dn Modifier and Type Method Description Dn
TaskScheduler. getComponentEntryDN()
Dn
TaskBackend. getConfigEntryDN()
Retrieves the DN of the configuration entry for this task backend.Dn
TaskBackend. getRecurringTasksParentDN()
Retrieves the DN of the entry that is the immediate parent for all recurring task information in the Directory Server.Dn
TaskBackend. getScheduledTasksParentDN()
Retrieves the DN of the entry that is the immediate parent for all scheduled task information in the Directory Server.Dn
TaskBackend. getTaskRootDN()
Retrieves the DN of the entry that is the root for all task information in the Directory Server.Methods in org.opends.server.backends.task that return types with arguments of type Dn Modifier and Type Method Description Set<Dn>
TaskBackend. getBaseDNs()
Methods in org.opends.server.backends.task with parameters of type Dn Modifier and Type Method Description void
TaskBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
Entry
TaskBackend. getEntry(Dn entryDN)
long
TaskBackend. getNumberOfChildren(Dn parentDN)
long
TaskBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
RecurringTask
TaskScheduler. getRecurringTask(Dn recurringTaskEntryDN)
Retrieves the recurring task with the given recurring task ID.Entry
TaskScheduler. getRecurringTaskEntry(Dn recurringTaskEntryDN)
Retrieves the recurring task entry with the provided DN.Task
TaskBackend. getScheduledTask(Dn taskEntryDN)
Retrieves the scheduled task for the entry with the provided DN.Task
TaskScheduler. getScheduledTask(Dn taskEntryDN)
Retrieves the scheduled task created from the specified entry.Entry
TaskScheduler. getScheduledTaskEntry(Dn scheduledTaskEntryDN)
Retrieves the scheduled task entry with the provided DN.ConditionResult
TaskBackend. hasSubordinates(Dn entryDN)
void
TaskBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
-
Uses of Dn in org.opends.server.config
Fields in org.opends.server.config declared as Dn Modifier and Type Field Description static Dn
ConfigConstants. DN_BACKEND_BASE
The DN of the entry that will serve as the base for all Directory Server backends.static Dn
ConfigConstants. DN_CONFIG_ROOT
The DN of the entry that will serve as the root for the Directory Server configuration.static Dn
ConfigConstants. DN_DEFAULT_SCHEMA_ROOT
The DN of the entry that will serve as the default root for the Directory Server schema information, unless an alternate location is defined in the configuration.static Dn
ConfigConstants. DN_ENTRY_CACHE_BASE
The DN of the entry that will hold the configuration for the Directory Server entry cache.static Dn
ConfigConstants. DN_MONITOR_ROOT
The DN of the entry that will serve as the base for all Directory Server monitor information.static Dn
ConfigConstants. DN_TASK_ROOT
The DN of the entry that will serve as the base for all Directory Server task information.Methods in org.opends.server.config that return Dn Modifier and Type Method Description Dn
ConfigurationHandler. getComponentEntryDN()
Methods in org.opends.server.config that return types with arguments of type Dn Modifier and Type Method Description Set<Dn>
ConfigurationHandler. getChildren(Dn dn)
Methods in org.opends.server.config with parameters of type Dn Modifier and Type Method Description void
ConfigurationHandler. deleteEntry(Dn dn)
Delete a configuration entry.void
ConfigurationHandler. deregisterAddListener(Dn dn, ConfigAddListener listener)
void
ConfigurationHandler. deregisterChangeListener(Dn dn, ConfigChangeListener listener)
void
ConfigurationHandler. deregisterDeleteListener(Dn dn, ConfigDeleteListener listener)
List<ConfigAddListener>
ConfigurationHandler. getAddListeners(Dn dn)
List<ConfigChangeListener>
ConfigurationHandler. getChangeListeners(Dn dn)
Set<Dn>
ConfigurationHandler. getChildren(Dn dn)
List<ConfigDeleteListener>
ConfigurationHandler. getDeleteListeners(Dn dn)
Entry
ConfigurationHandler. getEntry(Dn dn)
static String
JMXMBean. getJmxName(Dn monitorEntryDN)
Creates a JMX object name string based on a DN.boolean
ConfigurationHandler. hasEntry(Dn dn)
long
ConfigurationHandler. numSubordinates(Dn entryDN, boolean subtree)
Retrieves the number of subordinates for the requested entry.void
ConfigurationHandler. registerAddListener(Dn dn, ConfigAddListener listener)
void
ConfigurationHandler. registerChangeListener(Dn dn, ConfigChangeListener listener)
void
ConfigurationHandler. registerDeleteListener(Dn dn, ConfigDeleteListener listener)
Constructors in org.opends.server.config with parameters of type Dn Constructor Description JMXMBean(Dn monitorEntryDN, ServerContext serverContext)
Creates a new dynamic JMX MBean for use with the Directory Server. -
Uses of Dn in org.opends.server.core
Methods in org.opends.server.core that return Dn Modifier and Type Method Description Dn
BackendConfigManager. findNamingContextForEntry(Dn entryDn)
Retrieves the naming context that should be used to handle operations on the specified entry.Dn
SearchOperation. getBaseDN()
Dn
BindOperation. getBindDN()
Dn
AccessControlConfigManager. getComponentEntryDN()
Dn
DirectoryServer. getComponentEntryDN()
Dn
CoreConfigManager. getDefaultPasswordPolicyDN()
Retrieves the DN of the configuration entry for the default password policy for the Directory Server.abstract Dn
PasswordPolicy. getDN()
Dn
SubentryPasswordPolicy. getDN()
Dn
AddOperation. getEntryDN()
Dn
CompareOperation. getEntryDN()
Retrieves the DN of the entry to compare.Dn
DeleteOperation. getEntryDN()
Retrieves the DN of the entry to delete.Dn
ModifyDnOperation. getEntryDN()
Dn
ModifyOperation. getEntryDN()
Dn
ModifyDnOperation. getNewSuperior()
Dn
BackendConfigManager. getParentDNInSuffix(Dn dn)
Retrieves the DN that is the immediate parent for this DN.Dn
AbandonOperation. getProxiedAuthorizationDN()
Dn
AddOperation. getProxiedAuthorizationDN()
Dn
BindOperation. getProxiedAuthorizationDN()
Dn
CompareOperation. getProxiedAuthorizationDN()
Dn
DeleteOperation. getProxiedAuthorizationDN()
Dn
ExtendedOperation. getProxiedAuthorizationDN()
Dn
ModifyDnOperation. getProxiedAuthorizationDN()
Dn
ModifyOperation. getProxiedAuthorizationDN()
Dn
SearchOperation. getProxiedAuthorizationDN()
Dn
UnbindOperation. getProxiedAuthorizationDN()
Dn
BindOperation. getUserEntryDN()
Methods in org.opends.server.core that return types with arguments of type Dn Modifier and Type Method Description Iterator<Dn>
BackendConfigManager. findNamingContextChildren(Dn entryDn)
Retrieves the set of local naming contexts that are subordinates of the naming context that should be used to handle operations on the specified entry.ConcurrentMap<Dn,MonitorProvider>
DirectoryServer. getMonitorProviders()
ConcurrentMap<Dn,MonitorProvider>
ServerContext. getMonitorProviders()
Retrieves the set of monitor providers that have been registered with the Directory Server, as a mapping between the monitor name (in all lowercase characters) and the monitor implementation.Set<Dn>
BackendConfigManager. getNamingContexts(Predicate<org.opends.server.core.BackendConfigManager.NamingContext> filter)
Retrieves naming contexts corresponding to backends, according to the specified filter.SortedSet<Dn>
CoreConfigManager. getProxiedAuthorizationIdentityMapperDNs()
Retrieves the DNs of the configuration entry for the identity mappers that should be used in conjunction with proxied authorization V2 controls.Set<Dn>
CoreConfigManager. getSubordinateBaseDNs()
Retrieves the restricted set of subordinate base DNs to use when searching the root suffix "".Pair<Set<Dn>,Set<Dn>>
BackendConfigManager. registerBaseDNs(Backend<? extends BackendCfg> backend, Set<Dn> newBaseDns)
Registers the provided base DNs for the provided backend.Pair<Set<Dn>,Set<Dn>>
BackendConfigManager. registerBaseDNs(Backend<? extends BackendCfg> backend, Set<Dn> newBaseDns)
Registers the provided base DNs for the provided backend.Methods in org.opends.server.core with parameters of type Dn Modifier and Type Method Description boolean
BackendConfigManager. containsLocalNamingContext(Dn dn)
Indicates whether the specified DN is contained in the local backends as a naming context.void
DirectoryServer. deregisterAccountStatusNotificationHandler(Dn handlerDN)
void
ServerContext. deregisterAccountStatusNotificationHandler(Dn handlerDN)
Deregisters the specified account status notification handler with the Directory Server.void
DirectoryServer. deregisterAuthenticationPolicy(Dn configEntryDN)
void
ServerContext. deregisterAuthenticationPolicy(Dn configEntryDN)
Deregisters the provided authentication policy with the Directory Server.void
DirectoryServer. deregisterCertificateMapper(Dn mapperDN)
void
ServerContext. deregisterCertificateMapper(Dn mapperDN)
Deregisters the specified certificate mapper with the Directory Server.void
DirectoryServer. deregisterIdentityMapper(Dn configEntryDN)
void
ServerContext. deregisterIdentityMapper(Dn configEntryDN)
Deregisters the provided identity mapper for use with the Directory Server.void
DirectoryServer. deregisterPasswordGenerator(Dn configEntryDN)
void
ServerContext. deregisterPasswordGenerator(Dn configEntryDN)
Deregisters the provided password generator for use with the Directory Server.void
DirectoryServer. deregisterPasswordStorageScheme(Dn configEntryDN)
void
ServerContext. deregisterPasswordStorageScheme(Dn configEntryDN)
Deregisters the specified password storage scheme with the Directory Server.void
DirectoryServer. deregisterPasswordValidator(Dn configEntryDN)
void
ServerContext. deregisterPasswordValidator(Dn configEntryDN)
Deregisters the provided password validator for use with the Directory Server.void
DirectoryServer. deregisterRetentionPolicy(Dn configEntryDN)
void
ServerContext. deregisterRetentionPolicy(Dn configEntryDN)
Deregisters the provided log retention policy with the Directory Server.void
DirectoryServer. deregisterRotationPolicy(Dn configEntryDN)
void
ServerContext. deregisterRotationPolicy(Dn configEntryDN)
Deregisters the provided log rotation policy with the Directory Server.boolean
DirectoryServer. entryExists(Dn entryDN)
boolean
ServerContext. entryExists(Dn entryDN)
Indicates whether the specified entry exists in the Directory Server.Backend<?>
BackendConfigManager. findBackendForEntry(Dn entryDn)
Retrieves the backend that should be used to handle operations on the specified entry.LocalBackend<?>
BackendConfigManager. findLocalBackendForEntry(Dn entryDn)
Retrieves the local backend and the corresponding baseDN that should be used to handle operations on the specified entry.Iterator<Dn>
BackendConfigManager. findNamingContextChildren(Dn entryDn)
Retrieves the set of local naming contexts that are subordinates of the naming context that should be used to handle operations on the specified entry.Dn
BackendConfigManager. findNamingContextForEntry(Dn entryDn)
Retrieves the naming context that should be used to handle operations on the specified entry.Set<ClientConnection>
AuthenticatedUsers. get(Dn userDN)
Retrieves the set of client connections authenticated as the specified user.AccountStatusNotificationHandler<?>
DirectoryServer. getAccountStatusNotificationHandler(Dn handlerDN)
AccountStatusNotificationHandler<?>
ServerContext. getAccountStatusNotificationHandler(Dn handlerDN)
Retrieves the account status notification handler with the specified configuration entry DN.AuthenticationPolicy
DirectoryServer. getAuthenticationPolicy(Dn configEntryDN)
AuthenticationPolicy
ServerContext. getAuthenticationPolicy(Dn configEntryDN)
Retrieves the authentication policy registered for the provided configuration entry.Backend<?>
BackendConfigManager. getBackendWithBaseDn(Dn baseDn)
Retrieves the backend with the specified base DN.CertificateMapper<?>
DirectoryServer. getCertificateMapper(Dn mapperDN)
CertificateMapper<?>
ServerContext. getCertificateMapper(Dn mapperDN)
Retrieves the certificate mapper registered with the provided entry DN.List<SubEntry>
SubentryManager. getCollectiveSubentries(Dn dn)
Returns collective subentries applicable to specific DN.Entry
DirectoryServer. getConfigEntry(Dn entryDN)
Deprecated.useDirectoryServer.getEntry(Dn)
when possibleEntry
ServerContext. getConfigEntry(Dn entryDN)
Deprecated.useServerContext.getEntry(Dn)
when possibleEntry
DirectoryServer. getEntry(Dn entryDN)
Entry
ServerContext. getEntry(Dn entryDN)
Retrieves the entry with the requested DN.Group
GroupManager. getGroupInstance(Dn entryDN)
Retrieves the group instance defined in the entry with the specified DN.IdentityMapper<?>
DirectoryServer. getIdentityMapper(Dn configEntryDN)
IdentityMapper<?>
ServerContext. getIdentityMapper(Dn configEntryDN)
Retrieves the Directory Server identity mapper whose configuration resides in the specified configuration entry.KeyManagerProvider<?>
DirectoryServer. getKeyManagerProvider(Dn keyManagerProviderDn)
KeyManagerProvider<?>
KeyManagerProviderConfigManager. getKeyManagerProvider(Dn dn)
Retrieves the key manager provider registered with the provided entry DN.KeyManagerProvider<?>
ServerContext. getKeyManagerProvider(Dn keyManagerProviderDN)
Returns the key manager provider matching the provided DN.LocalBackend<?>
BackendConfigManager. getLocalBackendWithBaseDN(Dn baseDn)
Retrieves the local backend with the specified base DN.Dn
BackendConfigManager. getParentDNInSuffix(Dn dn)
Retrieves the DN that is the immediate parent for this DN.Entry
DirectoryServer. getParentEntry(Dn childDn)
Entry
ServerContext. getParentEntry(Dn childDn)
Retrieves the entry that is the immediate parent of the entry having the provided DN.PasswordGenerator<?>
DirectoryServer. getPasswordGenerator(Dn configEntryDN)
PasswordGenerator<?>
ServerContext. getPasswordGenerator(Dn configEntryDN)
Retrieves the password generator registered with the provided configuration entry DN.PasswordStorageScheme<?>
DirectoryServer. getPasswordStorageScheme(Dn configEntryDN)
PasswordStorageScheme<?>
ServerContext. getPasswordStorageScheme(Dn configEntryDN)
Retrieves the password storage scheme defined in the specified configuration entry.PasswordValidator<? extends PasswordValidatorCfg>
DirectoryServer. getPasswordValidator(Dn configEntryDN)
PasswordValidator<? extends PasswordValidatorCfg>
ServerContext. getPasswordValidator(Dn configEntryDN)
Retrieves the password validator registered with the provided configuration entry DN.DirectoryServerPlugin<?>
PluginConfigManager. getRegisteredPlugin(Dn pluginDN)
Retrieves the plugin with the specified configuration entry DN.RetentionPolicy<?>
DirectoryServer. getRetentionPolicy(Dn configEntryDN)
RetentionPolicy<?>
ServerContext. getRetentionPolicy(Dn configEntryDN)
Retrieves the log retention policy registered for the provided configuration entry.RotationPolicy<?>
DirectoryServer. getRotationPolicy(Dn configEntryDN)
RotationPolicy<?>
ServerContext. getRotationPolicy(Dn configEntryDN)
Retrieves the log rotation policy registered for the provided configuration entry.List<SubEntry>
SubentryManager. getSubentries(Dn dn)
Returns subentries applicable to specific DN.TrustManagerProvider<?>
DirectoryServer. getTrustManagerProvider(Dn trustManagerProviderDN)
TrustManagerProvider<?>
ServerContext. getTrustManagerProvider(Dn trustManagerProviderDN)
Returns the trust manager provider matching the provided DN.TrustManagerProvider<?>
TrustManagerProviderConfigManager. getTrustManagerProvider(Dn dn)
Retrieves the trust manager provider registered with the provided entry DN.boolean
BackendConfigManager. hasSubordinateNamingContextsForEntry(Dn entryDn)
Returns whether the provided Dn has subordinate base DNs.PluginResult.SubordinateDelete
PluginConfigManager. invokeSubordinateDeletePlugins(DeleteOperation deleteOperation, Dn entryDn, boolean isCommitted)
Invokes the set of subordinate delete plugins that have been configured in the Directory Server.PluginResult.SubordinateModifyDN
PluginConfigManager. invokeSubordinateModifyDNPlugins(SubordinateModifyDNOperation modifyDNOperation, Dn oldEntryDn, Dn newEntryDn)
Invokes the set of subordinate modify DN plugins that have been configured in the Directory Server.void
PersistentSearch. processModifyDN(Entry entry, Dn oldDN)
Notifies the persistent searches that an entry has been renamed.void
AuthenticatedUsers. put(Dn userDN, ClientConnection clientConnection)
Registers the provided user DN and client connection with this object.void
DirectoryServer. registerAccountStatusNotificationHandler(Dn handlerDN, AccountStatusNotificationHandler<?> handler)
void
ServerContext. registerAccountStatusNotificationHandler(Dn handlerDN, AccountStatusNotificationHandler<?> handler)
Registers the provided account status notification handler with the Directory Server.void
DirectoryServer. registerCertificateMapper(Dn mapperDN, CertificateMapper<?> mapper)
void
ServerContext. registerCertificateMapper(Dn mapperDN, CertificateMapper<?> mapper)
Registers the provided certificate mapper with the Directory Server.void
DirectoryServer. registerIdentityMapper(Dn configEntryDN, IdentityMapper<?> identityMapper)
void
ServerContext. registerIdentityMapper(Dn configEntryDN, IdentityMapper<?> identityMapper)
Registers the provided identity mapper for use with the Directory Server.void
DirectoryServer. registerPasswordGenerator(Dn configEntryDN, PasswordGenerator<?> generator)
void
ServerContext. registerPasswordGenerator(Dn configEntryDN, PasswordGenerator<?> generator)
Registers the provided password generator for use with the Directory Server.void
DirectoryServer. registerPasswordStorageScheme(Dn configEntryDN, PasswordStorageScheme<?> scheme)
void
ServerContext. registerPasswordStorageScheme(Dn configEntryDN, PasswordStorageScheme<?> scheme)
Registers the provided password storage scheme with the Directory Server.void
DirectoryServer. registerPasswordValidator(Dn configEntryDN, PasswordValidator<? extends PasswordValidatorCfg> validator)
void
ServerContext. registerPasswordValidator(Dn configEntryDN, PasswordValidator<? extends PasswordValidatorCfg> validator)
Registers the provided password validator for use with the Directory Server.void
DirectoryServer. registerRetentionPolicy(Dn configEntryDN, RetentionPolicy<?> policy)
void
ServerContext. registerRetentionPolicy(Dn configEntryDN, RetentionPolicy<?> policy)
Registers the provided log retention policy with the Directory Server.void
DirectoryServer. registerRotationPolicy(Dn configEntryDN, RotationPolicy<?> policy)
void
ServerContext. registerRotationPolicy(Dn configEntryDN, RotationPolicy<?> policy)
Registers the provided log rotation policy with the Directory Server.void
AuthenticatedUsers. remove(Dn userDN, ClientConnection clientConnection)
Deregisters the provided user DN and client connection with this object.boolean
SearchOperation. returnReference(Dn dn, SearchResultReference reference)
Used as a callback for backends to indicate that the provided search reference was encountered during processing and that additional processing should be performed to potentially send it back to the client.static void
BindOperation. runFakePasswordMatches(Dn bindDn, ByteString password)
When using cost based hashes, ensure similar response times when login with non-existing vs.void
SearchOperation. setBaseDN(Dn baseDN)
Specifies the base DN as included in the request from the client.void
BindOperation. setBindDN(Dn bindDN)
void
AddOperation. setEntryDN(Dn entryDN)
void
CompareOperation. setEntryDN(Dn entryDN)
Specifies the entry DN as included in the client request.void
DeleteOperation. setEntryDN(Dn entryDN)
Specifies the entry DN as included in the client request.void
ModifyDnOperation. setEntryDN(Dn entryDN)
void
ModifyOperation. setEntryDN(Dn entryDN)
void
ModifyDnOperation. setNewSuperior(Dn newSuperior)
void
AbandonOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
void
AddOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
void
BindOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
void
CompareOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
void
DeleteOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
void
ExtendedOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
void
ModifyDnOperation. setProxiedAuthorizationDN(Dn dn)
void
ModifyOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
void
SearchOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
void
UnbindOperation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
Method parameters in org.opends.server.core with type arguments of type Dn Modifier and Type Method Description List<IdentityMapper<?>>
DirectoryServer. getIdentityMappers(Collection<Dn> configEntriesDNs)
List<IdentityMapper<?>>
ServerContext. getIdentityMappers(Collection<Dn> configEntriesDNs)
Retrieves the Directory Server identity mappers whose configurations reside in the specified configuration entries.Pair<Set<Dn>,Set<Dn>>
BackendConfigManager. registerBaseDNs(Backend<? extends BackendCfg> backend, Set<Dn> newBaseDns)
Registers the provided base DNs for the provided backend. -
Uses of Dn in org.opends.server.discovery
Method parameters in org.opends.server.discovery with type arguments of type Dn Modifier and Type Method Description Partition
ReplicationServiceDiscoveryMechanism. getPartition(Collection<Dn> baseDNs)
Partition
ServiceDiscoveryMechanism. getPartition(Collection<Dn> baseDNs)
Returns the partitions.Partition
StaticServiceDiscoveryMechanism. getPartition(Collection<Dn> baseDns)
-
Uses of Dn in org.opends.server.extensions
Methods in org.opends.server.extensions that return Dn Modifier and Type Method Description protected Dn
DefaultEntryCache. computeMonitorInstanceDn()
Dn
DiskSpaceMonitor. getComponentEntryDN()
Dn
DefaultEntryCache. getEntryDN(String backendID, long entryID)
Dn
FIFOEntryCache. getEntryDN(String backendID, long entryID)
Dn
NullEntryCache. getEntryDN(String backendID, long entryID)
Dn
SoftReferenceEntryCache. getEntryDN(String backendID, long entryID)
Dn
DynamicGroup. getGroupDN()
Dn
StaticGroup. getGroupDN()
Dn
VirtualStaticGroup. getGroupDN()
Dn
VirtualStaticGroup. getTargetGroupDN()
Retrieves the DN of the target group for this virtual static group.Methods in org.opends.server.extensions that return types with arguments of type Dn Modifier and Type Method Description static Set<Dn>
IndexedAttributesChecks. getBaseDns(Set<Dn> baseDns)
If we have an explicit set of base DNs, then use it.Flowable<Dn>
DynamicGroup. getMemberDns()
Flowable<Dn>
StaticGroup. getMemberDns()
Flowable<Dn>
VirtualStaticGroup. getMemberDns()
Methods in org.opends.server.extensions with parameters of type Dn Modifier and Type Method Description static void
IndexedAttributesChecks. checkAllAttributesAreIndexedForEquality(Dn cfgDn, Set<Dn> cfgBaseDNs, Collection<AttributeType> attrTypes, LocalizableMessageDescriptor.Arg3<Object,Object,Object> notIndexedMsg, ConfigChangeResult ccr)
Checks whether all the attribute types are indexed for equality.static void
IndexedAttributesChecks. checkAllAttributesAreIndexedForExtensibleMatchingRule(Dn cfgDn, Set<Dn> cfgBaseDNs, Collection<AttributeType> attrTypes, MatchingRule matchingRule, LocalizableMessageDescriptor.Arg4<Object,Object,Object,Object> notIndexedMsg, ConfigChangeResult ccr)
Checks whether all attribute types are indexed for a given matching rule.boolean
DefaultEntryCache. containsEntry(Dn entryDN)
boolean
FIFOEntryCache. containsEntry(Dn entryDN)
boolean
NullEntryCache. containsEntry(Dn entryDN)
boolean
SoftReferenceEntryCache. containsEntry(Dn entryDN)
Flowable<Entry>
DynamicGroup. getAllMembers(Dn baseDN, SearchScope scope, Filter filter)
Flowable<Entry>
StaticGroup. getAllMembers(Dn baseDN, SearchScope scope, Filter filter)
Flowable<Entry>
VirtualStaticGroup. getAllMembers(Dn baseDN, SearchScope scope, Filter filter)
SizedEntry
DefaultEntryCache. getEntry(Dn entryDN)
SizedEntry
FIFOEntryCache. getEntry(Dn entryDN)
SizedEntry
NullEntryCache. getEntry(Dn entryDN)
SizedEntry
SoftReferenceEntryCache. getEntry(Dn entryDN)
boolean
DynamicGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)
boolean
StaticGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)
boolean
VirtualStaticGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)
void
DefaultEntryCache. removeEntry(Dn entryDN)
void
FIFOEntryCache. removeEntry(Dn entryDN)
void
NullEntryCache. removeEntry(Dn entryDN)
void
SoftReferenceEntryCache. removeEntry(Dn entryDN)
void
DynamicGroup. setGroupDN(Dn groupDN)
void
StaticGroup. setGroupDN(Dn groupDN)
void
VirtualStaticGroup. setGroupDN(Dn groupDN)
Method parameters in org.opends.server.extensions with type arguments of type Dn Modifier and Type Method Description static void
IndexedAttributesChecks. checkAllAttributesAreIndexedForEquality(Dn cfgDn, Set<Dn> cfgBaseDNs, Collection<AttributeType> attrTypes, LocalizableMessageDescriptor.Arg3<Object,Object,Object> notIndexedMsg, ConfigChangeResult ccr)
Checks whether all the attribute types are indexed for equality.static void
IndexedAttributesChecks. checkAllAttributesAreIndexedForExtensibleMatchingRule(Dn cfgDn, Set<Dn> cfgBaseDNs, Collection<AttributeType> attrTypes, MatchingRule matchingRule, LocalizableMessageDescriptor.Arg4<Object,Object,Object,Object> notIndexedMsg, ConfigChangeResult ccr)
Checks whether all attribute types are indexed for a given matching rule.static Set<Dn>
IndexedAttributesChecks. getBaseDns(Set<Dn> baseDns)
If we have an explicit set of base DNs, then use it.Constructors in org.opends.server.extensions with parameters of type Dn Constructor Description DynamicGroup(ServerContext serverContext, Dn groupEntryDN, LinkedHashSet<LdapUrl> memberURLs)
Creates a new dynamic group instance with the provided information. -
Uses of Dn in org.opends.server.loggers
Methods in org.opends.server.loggers that return Dn Modifier and Type Method Description Dn
ConsoleDebugLogPublisher. getDN()
Dn
ConsoleErrorLogPublisher. getDN()
Dn
LogPublisher. getDN()
Gets the DN of the configuration entry for this log publisher.Dn
TextDebugLogPublisher. getDN()
Dn
TextErrorLogPublisher. getDN()
Dn
TextHTTPAccessLogPublisher. getDN()
-
Uses of Dn in org.opends.server.monitors
Methods in org.opends.server.monitors that return Dn Modifier and Type Method Description protected Dn
HealthStatusMonitorProvider. computeMonitorInstanceDn()
protected Dn
JvmMonitorProvider. computeMonitorInstanceDn()
protected Dn
LocalBackendMonitor. computeMonitorInstanceDn()
Dn
LocalBackendMonitor.BaseDnMonitorData. monitorInstanceDn()
Methods in org.opends.server.monitors with parameters of type Dn Modifier and Type Method Description LocalBackendMonitor.BaseDnMonitorData
LocalBackendMonitor. getBaseDnMonitorData(Dn baseDn)
Constructors in org.opends.server.monitors with parameters of type Dn Constructor Description BaseDnMonitorData(String backendType, String backendId, Dn baseDn)
-
Uses of Dn in org.opends.server.plugins
Methods in org.opends.server.plugins that return Dn Modifier and Type Method Description Dn
UniqueAttributePlugin. getComponentEntryDN()
Methods in org.opends.server.plugins with parameters of type Dn Modifier and Type Method Description PluginResult.SubordinateDelete
ReferentialIntegrityPlugin. processSubordinateDelete(DeleteOperation deleteOperation, Dn entryDn, boolean isCommitted)
PluginResult.SubordinateModifyDN
ReferentialIntegrityPlugin. processSubordinateModifyDN(SubordinateModifyDNOperation modifyDNOperation, Dn oldEntryDn, Dn newEntryDn)
-
Uses of Dn in org.opends.server.protocols
Methods in org.opends.server.protocols that return Dn Modifier and Type Method Description Dn
LDIFConnectionHandler. getComponentEntryDN()
-
Uses of Dn in org.opends.server.protocols.http
Methods in org.opends.server.protocols.http that return Dn Modifier and Type Method Description Dn
HTTPConnectionHandler. getComponentEntryDN()
-
Uses of Dn in org.opends.server.protocols.http.authz
Constructors in org.opends.server.protocols.http.authz with parameters of type Dn Constructor Description HttpAuthorizationMechanism(Dn configDN, int priority)
Create a newHttpAuthorizationMechanism
. -
Uses of Dn in org.opends.server.protocols.jmx
Methods in org.opends.server.protocols.jmx that return Dn Modifier and Type Method Description Dn
JmxConnectionHandler. getComponentEntryDN()
Retrieves the DN of the configuration entry with which this alert generator is associated.Dn
JmxConnectionHandler. getKeyManagerProviderDN()
Retrieves the DN of the key manager provider that should be used for operations associated with this connection handler which need access to a key manager. -
Uses of Dn in org.opends.server.protocols.ldap
Methods in org.opends.server.protocols.ldap that return Dn Modifier and Type Method Description Dn
LDAPConnectionHandler. getComponentEntryDN()
-
Uses of Dn in org.opends.server.replication.common
Methods in org.opends.server.replication.common that return types with arguments of type Dn Modifier and Type Method Description Map<Dn,Set<CSN>>
MultiDomainServerState. getSnapshot()
Returns a snapshot of this object.Iterator<Dn>
MultiDomainServerState. iterator()
Methods in org.opends.server.replication.common with parameters of type Dn Modifier and Type Method Description void
Topology. addLocalReplicationDomain(ReplicaId replicaId, Dn baseDn)
Adds a replication domain to the local server in the topology.void
Topology. applyTopologyMessage(TopologyMsg topoMsg, Dn baseDn, ReplicationServerId senderId)
Updates the topology with the provided topology message.void
ShutdownSynchronizer. clearReplicaOfflineMsgNotifications(Dn baseDn)
Clear the notifications for the provided domain.boolean
MultiDomainServerState. cover(Dn baseDN, CSN csn)
Test if this object covers the provided CSN for the provided baseDN.CSN
MultiDomainServerState. getCSN(Dn baseDN, ReplicaId replicaId)
Returns the CSN associated to the provided replication domain's baseDN and replicaId.ServerState
MultiDomainServerState. getServerState(Dn baseDN)
Returns the ServerState associated to the provided replication domain's baseDN.void
ShutdownSynchronizer. notifyReplicaOfflineMsgHasBeenForwardedToRS(Dn baseDn)
Notifies the offline message for the provided domain has been forwarded to a RS.void
ShutdownSynchronizer. notifyReplicaOfflineMsgHasBeenSentByDS(Dn baseDn)
Notifies an offline message has been sent by the DS for the provided domain.void
Topology. removeBootstrapServersForReplicationDomain(Dn domainBaseDn)
Removes the bootstrap servers - i.e the servers known in the configuration - for a replication domain.void
Topology. removeLocalReplicationDomain(ReplicaId replicaId, Dn baseDn)
Removes a replication domain from the local server in the topology.void
MultiDomainServerState. replace(Dn baseDN, ServerState serverState)
Replace the ServerState of the provided baseDN with the provided server state.void
Topology. setBootstrapServersForReplicationDomain(Set<com.forgerock.opendj.util.HostPort> bootstrapServers, Dn domainBaseDn)
Sets the bootstrap servers - i.e the servers known in the configuration - for a replication domain.boolean
MultiDomainServerState. update(Dn baseDN, CSN csn)
Update the ServerState of the provided baseDN with the replicationCSN
provided.void
MultiDomainServerState. update(Dn baseDN, ServerState serverState)
Update the ServerState of the provided baseDN with the provided server state.void
ShutdownSynchronizer. waitForReplicaOfflineMessageToBeForwardedToRS(Dn baseDn)
Waits until a Replication Server can proceed with shutdown. -
Uses of Dn in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin that return Dn Modifier and Type Method Description Dn
LDAPReplicationDomain. getComponentEntryDN()
Methods in org.opends.server.replication.plugin that return types with arguments of type Dn Modifier and Type Method Description static Collection<Dn>
MultimasterReplication. getDomainDns()
Returns the DNs of the replication domains.Methods in org.opends.server.replication.plugin with parameters of type Dn Modifier and Type Method Description void
MultimasterReplication. clearReplicaOfflineMsgNotifications(Dn baseDn)
static void
MultimasterReplication. deleteDomain(Dn dn)
Deletes a domain.static LDAPReplicationDomain
MultimasterReplication. findDomain(Dn dn, ServerContext serverContext)
Finds the domain for a given DN.static LDAPReplicationDomain
MultimasterReplication. findDomain(Dn dn, PluginOperation pluginOp, ServerContext serverContext)
Finds the domain for a given DN.EntryHistorical
EntryHistoricalAttribute. getEntryHistoricalForRead(Dn dn)
Returns the historical information associated with this attribute, computing it if needed.EntryHistorical
EntryHistoricalAttribute. getEntryHistoricalForUpdate(Dn dn)
Returns the historical information associated with this attribute, computing it if needed.void
MultimasterReplication. notifyReplicaOfflineMsgHasBeenForwardedToRS(Dn baseDn)
void
MultimasterReplication. notifyReplicaOfflineMsgHasBeenSentByDS(Dn baseDn)
static LDAPReplicationDomain
LDAPReplicationDomain. retrievesReplicationDomain(Dn baseDN, ServerContext serverContext)
Retrieves a replication domain based on the baseDN.void
MultimasterReplication. waitForReplicaOfflineMessageToBeForwardedToRS(Dn baseDn)
-
Uses of Dn in org.opends.server.replication.protocol
Methods in org.opends.server.replication.protocol that return Dn Modifier and Type Method Description Dn
InitializeRequestMsg. getBaseDN()
Get the base DN from this InitializeRequestMsg.Dn
InitializeTargetMsg. getBaseDN()
Get the base DN of the domain.Dn
ReplServerStartDSMsg. getBaseDN()
Get the base DN from this ReplServerStartDSMsg.Dn
ReplServerStartMsg. getBaseDN()
Get the base DN from this ReplServerStartMsg.Dn
ServerStartMsg. getBaseDN()
Get the baseDN.Dn
LDAPUpdateMsg. getDN()
Get the DN on which the operation happened.Dn
ModifyDNMsg. getNewSuperior()
Get the new superior.Dn
ByteArrayScanner. nextDn()
Reads the next DN.Methods in org.opends.server.replication.protocol with parameters of type Dn Modifier and Type Method Description ByteArrayBuilder
ByteArrayBuilder. appendDn(Dn dn)
Append a DN to this ByteArrayBuilder by converting it to a String then encoding that string to a UTF-8 byte array.AddRequest
AddMsg. createRequest(Dn newDN)
DeleteRequest
DeleteMsg. createRequest(Dn newDN)
abstract ChangeRecord
LDAPUpdateMsg. createRequest(Dn newDN)
Create a request from this message using the provided DN.ModifyDnRequest
ModifyDNMsg. createRequest(Dn newDN)
ModifyRequest
ModifyMsg. createRequest(Dn newDN)
void
LDAPUpdateMsg. setDN(Dn dn)
Set the DN.void
ModifyDNMsg. setNewSuperior(Dn newSuperior)
Set the new superior.Constructors in org.opends.server.replication.protocol with parameters of type Dn Constructor Description AddMsg(CSN csn, Dn dn, UUID entryUuid, UUID parentEntryUuid, byte[] encodedAttributes, byte[] encodedEclIncludes)
Creates a new AddMessage.DeleteMsg(Dn dn, CSN csn, UUID entryUUID)
Creates a new delete message.DeleteMsg(CSN csn, Dn dn, UUID entryUUID, String initiatorsName, byte[] encodedEclIncludes, boolean subtreeDelete)
Creates a new delete message.InitializeRequestMsg(Dn baseDN, ReplicaId replicaId, ReplicaId destination, int initWindow)
Creates a InitializeRequestMsg message.InitializeTargetMsg(Dn baseDN, ReplicaId replicaId, ReplicaId destination, ReplicaId requestorID, long entryCount, int initWindow)
Creates a InitializeTargetMsg.ModifyDNMsg(Dn dn, CSN csn, UUID entryUUID, UUID newSuperiorEntryUUID, boolean deleteOldRdn, Dn newSuperior, Rdn newRDN)
Construct a new Modify DN message (no mods).ModifyDNMsg(Dn dn, CSN csn, UUID entryUUID, UUID newSuperiorEntryUUID, boolean deleteOldRdn, Dn newSuperior, Rdn newRDN, List<Modification> mods)
Construct a new Modify DN message (with mods).ModifyDNMsg(CSN csn, Dn dn, UUID entryUUID, Rdn newRdn, Dn newSuperior, UUID newSuperiorEntryUUID, boolean deleteOldRdn, byte[] encodedMods, byte[] encodedEclIncludes)
Creates a new ModifyDN message.ModifyMsg(CSN csn, Dn dn, UUID entryUUID, byte[] encodedMods, byte[] encodedEclIncludes)
Creates a new Modify message using the provided information.ModifyMsg(CSN csn, Dn dn, UUID entryUUID, List<Modification> mods)
Creates a new Modify message using the provided information.ReplServerStartDSMsg(ReplicationServerId rsId, com.forgerock.opendj.util.HostPort hostPort, Dn baseDN, ServerState serverState, long generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId, int degradedStatusThreshold, int weight, int connectedDSNumber)
Create a ReplServerStartDSMsg.ReplServerStartMsg(ReplicationServerId rsId, com.forgerock.opendj.util.HostPort rsHostPort, Dn baseDN, ServerState serverState, long generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId, int degradedStatusThreshold)
Create a ReplServerStartMsg.ServerStartMsg(ReplicaId replicaId, com.forgerock.opendj.util.HostPort hostPort, Dn baseDN, long heartbeatInterval, ServerState serverState, long generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId)
Creates a new ServerStartMsg. -
Uses of Dn in org.opends.server.replication.server
Methods in org.opends.server.replication.server that return Dn Modifier and Type Method Description protected Dn
ReplicationServerDomain. computeMonitorInstanceDn()
Dn
ReplicationServerDomain. getBaseDN()
Get the baseDN.Methods in org.opends.server.replication.server that return types with arguments of type Dn Modifier and Type Method Description Map<Dn,Long>
ChangelogState. getDomainToGenerationId()
Returns the Map of domainBaseDN to generationId.Set<Dn>
ReplicationServer. getExcludedChangelogDomains()
Returns the domain base DNs which are disabled for the external changelog (ECL).Methods in org.opends.server.replication.server with parameters of type Dn Modifier and Type Method Description long
ReplicationServer. getGenerationId(Dn baseDN)
Get the value of generationId for the replication replicationServerDomain associated with the provided baseDN.ReplicationServerDomain
ReplicationServer. getOrCreateReplicationServerDomain(Dn baseDN)
Get the ReplicationServerDomain associated to the base DN given in parameter.Flowable<UpdateRecord>
ReplicationServerDomain. getPublisher(String name, Dn baseDn, ServerState startState, ServerState endState)
Returns a publisher of changes from the provided domain, using the provided states to determine the starting and ending points of each replica of the domain.ReplicationServerDomain
ReplicationServer. getReplicationServerDomain(Dn baseDN)
Get the ReplicationServerDomain associated to the base DN given in parameter.boolean
ReplicationServer. isEclEnabledDomain(Dn baseDn)
Indicates whether the provided domain is enabled for the external changelog (ECL).ChangelogState
ChangelogState. removeDomain(Dn baseDn)
Returns a new changelog state where supplied replication domain has been removed.ChangelogState
ChangelogState. setDomainGenerationId(Dn baseDn, long generationId)
Returns a new changelog state with the generationId associated to the supplied replication domain.Method parameters in org.opends.server.replication.server with type arguments of type Dn Modifier and Type Method Description static ChangelogState
ChangelogState. newChangelogState(Map<Dn,Long> domainToGenerationId, Set<DomainReplicaId> replicas, Set<DomainReplicaId> replicasNotProperlyStopped)
Builds a changelog state.void
ReplicationServer. validateCookie(MultiDomainServerState cookie, Set<Dn> ignoredBaseDNs)
Validate that provided cookie is coherent with this replication server, when ignoring the provided set of DNs. -
Uses of Dn in org.opends.server.replication.server.changelog.api
Methods in org.opends.server.replication.server.changelog.api that return Dn Modifier and Type Method Description Dn
UpdateRecord. getBaseDn()
Returns the base DN of the replication domain the message belongs to.Dn
ChangeNumberIndexRecord. getBaseDN()
Getter for the baseDN field.Dn
DomainReplicaId. getBaseDN()
Returns the baseDN.Methods in org.opends.server.replication.server.changelog.api with parameters of type Dn Modifier and Type Method Description DBCursor<UpdateMsg>
ReplicationDomainDB. getCursorFrom(Dn baseDN, ServerState startState, DBCursor.CursorOptions options)
Generates aDBCursor
across all the replicaDBs for the specified replication domain starting before, at or after the providedServerState
for each replicaDB, depending on the provided matching and positioning strategies.ServerState
ReplicationDomainDB. getDomainNewestCSNs(Dn baseDN)
Returns the newestCSN
s from the replicaDBs for each replica id in the specified replication domain.ServerState
ReplicationDomainDB. getDomainOldestCSNs(Dn baseDN)
Returns the oldestCSN
s from the replicaDBs for each replica id in the specified replication domain.Flowable<UpdateRecord>
ReplicationDomainDB. getPublisherForDomain(String name, Dn domain, ServerState startState, ServerState endState)
Returns a publisher of changes from the provided domain, using the provided states to determine the starting and ending points of each replica of the domain.RemovedReplicasStates
ReplicationDomainDB. getRemovedReplicasCsns(Dn baseDn)
Returns the latest known CSNs for removed replicas.static UpdateRecord
UpdateRecord. newUpdateRecord(Dn baseDn, UpdateMsg msg)
Creates a new update record with the provided base DN and message.static DomainReplicaId
DomainReplicaId. of(Dn baseDN, ReplicaId replicaId)
Creates a ReplicaId with the provided parameters.boolean
ReplicationDomainDB. publishUpdateMsg(Dn baseDN, UpdateMsg updateMsg)
Publishes the provided change to the changelog DB for the specified replica id and replication domain.void
ReplicationDomainDB. removeDomain(Dn baseDN)
Removes all the data relating to the specified replication domain and shutdown all its replica databases.void
ReplicationDomainDB. replicaHeartbeat(Dn baseDN, CSN heartbeatCSN)
Let the DB know this replica is alive.void
ChangeNumberIndexDB. resetChangeNumberTo(long newFirstCN, Dn baseDN, CSN newFirstCSN)
Resets ChangeNumber index to the given number and CSN.Method parameters in org.opends.server.replication.server.changelog.api with type arguments of type Dn Modifier and Type Method Description MultiDomainDBCursor
ReplicationDomainDB. getCursorFrom(MultiDomainServerState startState, DBCursor.CursorOptions options, Set<Dn> excludedDomainDns)
Generates aDBCursor
across all the domains starting before, at or after the providedMultiDomainServerState
for each domain, excluding a provided set of domain DNs.Flowable<UpdateRecord>
ReplicationDomainDB. getPublisherFromCookie(String name, MultiDomainServerState cookie, Set<Dn> excludedDomains)
Returns a publisher of all changes starting from the provided cookie, excluding the changes from the provided set of excluded domains.Constructors in org.opends.server.replication.server.changelog.api with parameters of type Dn Constructor Description ChangeNumberIndexRecord(long changeNumber, Dn baseDN, CSN csn)
Builds an instance of this class.ChangeNumberIndexRecord(Dn baseDN, CSN csn)
Builds an instance of this class, with changeNumber equal to 0. -
Uses of Dn in org.opends.server.replication.server.changelog.file
Methods in org.opends.server.replication.server.changelog.file that return Dn Modifier and Type Method Description Dn
ReplicationEnvironment.DomainState. domainDn()
Returns the domain DN.Dn
DomainDBCursor. getBaseDN()
Returns the replication domain baseDN of this cursor.Methods in org.opends.server.replication.server.changelog.file with parameters of type Dn Modifier and Type Method Description void
MultiDomainDBCursor. addDomain(Dn baseDN, ServerState startAfterState)
Adds a replication domain for this cursor to iterate over.void
ReplicationEnvironment. clearDomainStateAndWriteGenId(Dn domainDn, long generationId)
Clears the domain state of the provided domain DN, and rewrite its generation id file with the provided generation id.DBCursor<UpdateMsg>
FileChangelogDB. getCursorFrom(Dn baseDN, ServerState startState, DBCursor.CursorOptions options)
ServerState
FileChangelogDB. getDomainNewestCSNs(Dn baseDN)
ServerState
FileChangelogDB. getDomainOldestCSNs(Dn baseDN)
Flowable<UpdateRecord>
FileChangelogDB. getPublisherForDomain(String name, Dn baseDn, ServerState startState, ServerState endState)
RemovedReplicasStates
FileChangelogDB. getRemovedReplicasCsns(Dn baseDn)
void
ChangeNumberIndexer. notifyHeartbeat(Dn baseDn, CSN heartbeatCsn)
Ensures the medium consistency point is updated by heartbeats.void
ChangeNumberIndexer. notifyUpdateMsg(Dn baseDn, UpdateMsg updateMsg)
Ensures the medium consistency point is updated by UpdateMsg.boolean
FileChangelogDB. publishUpdateMsg(Dn baseDN, UpdateMsg updateMsg)
void
FileChangelogDB. removeDomain(Dn baseDN)
void
MultiDomainDBCursor. removeDomain(Dn baseDN)
Removes a replication domain from this cursor and stops iterating over it.void
FileChangelogDB. replicaHeartbeat(Dn baseDN, CSN heartbeatCsn)
Method parameters in org.opends.server.replication.server.changelog.file with type arguments of type Dn Modifier and Type Method Description MultiDomainDBCursor
FileChangelogDB. getCursorFrom(MultiDomainServerState startState, DBCursor.CursorOptions options, Set<Dn> excludedDomainDns)
Flowable<UpdateRecord>
FileChangelogDB. getPublisherFromCookie(String name, MultiDomainServerState cookie, Set<Dn> excludedDomains)
Constructors in org.opends.server.replication.server.changelog.file with parameters of type Dn Constructor Description DomainDBCursor(Dn baseDN, ReplicationDomainDB domainDB, DBCursor.CursorOptions options)
Builds a DomainDBCursor instance.DomainState(Dn domainDn, String domainId, ServerState lastUpdates, ServerState lastMsgs)
Create a new domain state.Constructor parameters in org.opends.server.replication.server.changelog.file with type arguments of type Dn Constructor Description ChangeNumberIndexer(ChangelogDB changelogDB, ChangelogStateProvider changelogStateProvider, Predicate<Dn> isEclEnabledDomain, ServerContext serverContext)
Builds a ChangeNumberIndexer object.ECLMultiDomainDBCursor(Predicate<Dn> isEclEnabledDomain, MultiDomainDBCursor cursor)
Builds an instance of this class filtering updates from the provided cursor. -
Uses of Dn in org.opends.server.replication.service
Methods in org.opends.server.replication.service that return Dn Modifier and Type Method Description Dn
ReplicationDomain. getBaseDN()
Returns the base DN of this ReplicationDomain. -
Uses of Dn in org.opends.server.snmp
Methods in org.opends.server.snmp that return Dn Modifier and Type Method Description Dn
SNMPConnectionHandler. getComponentEntryDN()
-
Uses of Dn in org.opends.server.tasks
Methods in org.opends.server.tasks that return types with arguments of type Dn Modifier and Type Method Description Set<Dn>
ImportExportParams. getExcludeBranches()
Returns the exclude branches.Set<Dn>
ImportExportParams. getIncludeBranches()
Returns the include branches. -
Uses of Dn in org.opends.server.tools
Methods in org.opends.server.tools that return types with arguments of type Dn Modifier and Type Method Description static SortedSet<Dn>
BackendToolUtils. getBaseDn(BackendCfgClient backendCfgClient)
Gets the base DNs from the provided backend configuration.static Set<Dn>
BackendToolUtils. getBaseDn(BackendCfg backendCfg)
Gets the base DNs from the provided backend configuration. -
Uses of Dn in org.opends.server.tools.dsbackup
Methods in org.opends.server.tools.dsbackup that return Dn Modifier and Type Method Description Dn
BackupRunner. getComponentEntryDN()
-
Uses of Dn in org.opends.server.tools.tasks
Methods in org.opends.server.tools.tasks that return Dn Modifier and Type Method Description Dn
TaskEntry. getDN()
Gets the DN of the wrapped entry. -
Uses of Dn in org.opends.server.types
Methods in org.opends.server.types that return Dn Modifier and Type Method Description static Dn
Operation. findMatchedDN(Dn entryDN)
Finds the matched DN associated with the provided entry DN.Dn
AuthenticationInfo. getAuthenticationDN()
Retrieves the DN of the user as whom the client is authenticated.Dn
AuthenticationInfo. getAuthorizationDN()
Retrieves the DN for the user that should be used as the default authorization identity.Dn
Operation. getAuthorizationDN()
Retrieves the authorization DN for this operation.Dn
SubtreeSpecification. getBaseDN()
Get the absolute base DN of the subtree specification.Dn
CacheEntry. getDN()
Retrieves the DN for this cache entry.Dn
SubEntry. getDN()
Retrieves the distinguished name for this subentry.Dn
SubEntry. getInheritFromBaseDN()
Getter to retrieve inheritFromBaseRDN DN for inherited collective attribute subentry.Dn
Operation. getMatchedDN()
Dn
LDAPURL. getName()
Retrieves the processed DN for this LDAP URL.Dn
SizedEntry. getName()
Returns the DN of entry.abstract Dn
Operation. getProxiedAuthorizationDN()
Retrieves the proxied authorization DN for this operation if proxied authorization has been requested.Dn
AccountStatusNotification. getUserDN()
Retrieves the DN of the user entry to which this notification applies.Methods in org.opends.server.types that return types with arguments of type Dn Modifier and Type Method Description Set<Dn>
VirtualAttributeRule. getBaseDNs()
Retrieves the set of base DNs for branches that are eligible to have this virtual attribute.Set<Dn>
VirtualAttributeRule. getGroupDNs()
Retrieves the set of DNs for groups whose members are eligible to have this virtual attribute.Set<Dn>
LDIFExportConfig. getIncludeBranches()
Retrieves the set of base DNs that specify the set of entries to include in the export.Methods in org.opends.server.types with parameters of type Dn Modifier and Type Method Description protected static void
Operation. checkIfBackendIsWritable(LocalBackend<?> backend, Operation op, Dn entryDN, LocalizableMessageDescriptor.Arg1<Object> serverMsg, LocalizableMessageDescriptor.Arg1<Object> backendMsg)
Checks if an update operation can be performed against a backend.protected static LdapException
Operation. createLdapException(Operation operation, Entry entry, Dn entryDN, Result result, Result altResult)
Returns a newLdapException
built from the provided resultCodes and messages.static Dn
Operation. findMatchedDN(Dn entryDN)
Finds the matched DN associated with the provided entry DN.Pair<Boolean,LocalizableMessage>
LDIFImportConfig. includeEntry(Dn dn)
Indicates whether to include the entry with the specified DN in the import.boolean
SubtreeSpecification. isDNWithinScope(Dn dn)
Determine if the specified DN is within the scope of the subtree specification.protected void
Operation. removeAllDisallowedControls(Dn targetDN)
Removes all the disallowed request controls from this operation.void
AuthenticationInfo. setAuthenticationDN(Dn dn)
Sets the DN of the user as whom the client is authenticated, does nothing if the client is unauthenticated.void
AuthenticationInfo. setAuthorizationDN(Dn dn)
Sets the DN for the user that should be used as the default authorization identity, does nothing if the client is unauthorized.void
Operation. setMatchedDN(Dn matchedDN)
Specifies the matched DN for this operation.abstract void
Operation. setProxiedAuthorizationDN(Dn proxiedAuthorizationDN)
Set the proxied authorization DN for this operation if proxied authorization has been requested.protected static void
Operation. setResultCodeAndMessageNoInfoDisclosure(Operation operation, Entry entry, Dn entryDN, Result realResult, Result altResult)
Sets the provided resultCodes and messages on the provided operation.LockManager.DNLock
LockManager. tryReadLockEntry(Dn entryDn)
Acquires the read lock for the specified entry DN.LockManager.DNLock
LockManager. tryWriteLockEntry(Dn entryDn)
Acquires the write lock for the specified entry DN.LockManager.DNLock
LockManager. tryWriteLockSubtree(Dn subtreeDn)
Acquires the write lock for the specified subtree DN.static SubtreeSpecification
SubtreeSpecification. valueOf(Dn rootDN, String s)
Parses the string argument as an RFC3672 subtree specification.Method parameters in org.opends.server.types with type arguments of type Dn Modifier and Type Method Description void
LDIFExportConfig. setExcludeBranches(Set<Dn> excludeBranches)
Specifies the set of base DNs that specify the set of entries to exclude from the export.void
LDIFImportConfig. setExcludeBranches(Set<Dn> excludeBranches)
Specifies the set of base DNs that specify the set of entries to exclude from the import.void
LDIFExportConfig. setIncludeBranches(Set<Dn> includeBranches)
Specifies the set of base DNs that specify the set of entries to include in the export.void
LDIFImportConfig. setIncludeBranches(Set<Dn> includeBranches)
Specifies the set of base DNs that specify the set of entries to include in the import.Constructors in org.opends.server.types with parameters of type Dn Constructor Description SubtreeSpecification(Dn rootDN)
Create a dummy subtree specification.Constructor parameters in org.opends.server.types with type arguments of type Dn Constructor Description VirtualAttributeRule(AttributeType attributeType, VirtualAttributeProvider<? extends VirtualAttributeCfg> provider, Set<Dn> baseDNs, SearchScope scope, Set<Dn> groupDNs, Set<Filter> anyFilter, VirtualAttributeCfgDefn.ConflictBehavior conflictBehavior)
Creates a new virtual attribute rule with the provided information. -
Uses of Dn in org.opends.server.types.operation
Methods in org.opends.server.types.operation that return Dn Modifier and Type Method Description Dn
InProgressOperation. getAuthorizationDN()
Retrieves the authorization DN for this operation.Dn
PostOperationOperation. getAuthorizationDN()
Retrieves the authorization DN for this operation.Dn
PostResponseOperation. getAuthorizationDN()
Retrieves the authorization DN for this operation.Dn
PostSynchronizationOperation. getAuthorizationDN()
Retrieves the authorization DN for this operation.Dn
PreOperationOperation. getAuthorizationDN()
Retrieves the authorization DN for this operation.Dn
InProgressSearchOperation. getBaseDN()
Retrieves the base DN for this search operation.Dn
PostOperationSearchOperation. getBaseDN()
Retrieves the base DN for this search operation.Dn
PostResponseSearchOperation. getBaseDN()
Retrieves the base DN for this search operation.Dn
PreOperationSearchOperation. getBaseDN()
Retrieves the base DN for this search operation.Dn
PreParseSearchOperation. getBaseDN()
Retrieves the base DN as included in the request from the client.Dn
PostOperationBindOperation. getBindDN()
Retrieves the bind DN for this bind operation.Dn
PostResponseBindOperation. getBindDN()
Retrieves the bind DN for this bind operation.Dn
PreOperationBindOperation. getBindDN()
Retrieves the bind DN for this bind operation.Dn
PreParseBindOperation. getBindDN()
Retrieves the bind DN for this bind operation as contained in the client request.Dn
PostOperationAddOperation. getEntryDN()
Retrieves the DN of the entry to add.Dn
PostOperationCompareOperation. getEntryDN()
Retrieves the DN of the entry to compare.Dn
PostOperationDeleteOperation. getEntryDN()
Retrieves the DN of the entry to delete.Dn
PostOperationModifyDNOperation. getEntryDN()
Retrieves the DN of the entry to rename.Dn
PostOperationModifyOperation. getEntryDN()
Retrieves the DN of the entry to modify.Dn
PostResponseAddOperation. getEntryDN()
Retrieves the DN of the entry to add.Dn
PostResponseCompareOperation. getEntryDN()
Retrieves the DN of the entry to compare.Dn
PostResponseDeleteOperation. getEntryDN()
Retrieves the DN of the entry to delete.Dn
PostResponseModifyDNOperation. getEntryDN()
Retrieves the DN of the entry to rename.Dn
PostResponseModifyOperation. getEntryDN()
Retrieves the DN of the entry to modify.Dn
PostSynchronizationAddOperation. getEntryDN()
Retrieves the DN of the entry to add.Dn
PostSynchronizationDeleteOperation. getEntryDN()
Retrieves the DN of the entry to delete.Dn
PostSynchronizationModifyDNOperation. getEntryDN()
Retrieves the DN of the entry to rename.Dn
PostSynchronizationModifyOperation. getEntryDN()
Retrieves the DN of the entry to modify.Dn
PreOperationAddOperation. getEntryDN()
Retrieves the DN of the entry to add.Dn
PreOperationCompareOperation. getEntryDN()
Retrieves the DN of the entry to compare.Dn
PreOperationDeleteOperation. getEntryDN()
Retrieves the DN of the entry to delete.Dn
PreOperationModifyDNOperation. getEntryDN()
Retrieves the DN of the entry to rename.Dn
PreOperationModifyOperation. getEntryDN()
Retrieves the DN of the entry to modify.Dn
PreParseAddOperation. getEntryDN()
Retrieves the DN of the entry to add.Dn
PreParseCompareOperation. getEntryDN()
Retrieves the entry DN as included in the client request.Dn
PreParseDeleteOperation. getEntryDN()
Retrieves the entry DN as included in the client request.Dn
PreParseModifyDNOperation. getEntryDN()
Retrieves the entry DN as included in the client request.Dn
PreParseModifyOperation. getEntryDN()
Retrieves the entry DN as included in the client request.Dn
SubordinateModifyDNOperation. getEntryDN()
Retrieves the DN of the entry to rename.Dn
InProgressOperation. getMatchedDN()
Retrieves the matched DN for this operation.Dn
PostOperationOperation. getMatchedDN()
Retrieves the matched DN for this operation.Dn
PostResponseOperation. getMatchedDN()
Retrieves the matched DN for this operation.Dn
PostSynchronizationOperation. getMatchedDN()
Retrieves the matched DN for this operation.Dn
PostOperationModifyDNOperation. getNewSuperior()
Retrieves the newSuperior DN for the entry.Dn
PostResponseModifyDNOperation. getNewSuperior()
Retrieves the newSuperior DN for the entry.Dn
PostSynchronizationModifyDNOperation. getNewSuperior()
Retrieves the newSuperior DN for the entry.Dn
PreOperationModifyDNOperation. getNewSuperior()
Retrieves the newSuperior DN for the entry.Dn
PreParseModifyDNOperation. getNewSuperior()
Retrieves the newSuperior from the client request.Dn
SubordinateModifyDNOperation. getNewSuperior()
Retrieves the newSuperior DN for the entry.Dn
PostOperationBindOperation. getUserEntryDN()
Retrieves the user entry DN for this bind operation.Dn
PostResponseBindOperation. getUserEntryDN()
Retrieves the user entry DN for this bind operation.Dn
PreOperationBindOperation. getUserEntryDN()
Retrieves the user entry DN for this bind operation.Methods in org.opends.server.types.operation with parameters of type Dn Modifier and Type Method Description boolean
PreOperationSearchOperation. returnReference(Dn dn, SearchResultReference reference)
Returns the provided search result reference to the client.boolean
PreParseSearchOperation. returnReference(Dn dn, SearchResultReference reference)
Returns the provided search result reference to the client.void
PreParseSearchOperation. setBaseDN(Dn baseDN)
Specifies the base DN for this search operation.void
PreParseBindOperation. setBindDN(Dn bindDN)
Specifies the bind DN for this bind operation.void
PreParseAddOperation. setEntryDN(Dn entryDN)
Specifies the entry DN for the entry to add.void
PreParseCompareOperation. setEntryDN(Dn entryDN)
Specifies the entry DN as included in the client request.void
PreParseDeleteOperation. setEntryDN(Dn entryDN)
Specifies the entry DN for this delete operation.void
PreParseModifyDNOperation. setEntryDN(Dn entryDN)
Specifies the entry DN as included in the client request.void
PreParseModifyOperation. setEntryDN(Dn entryDN)
Specifies the entry DN as included in the client request.void
InProgressOperation. setMatchedDN(Dn matchedDN)
Specifies the matched DN for this operation.void
PostOperationOperation. setMatchedDN(Dn matchedDN)
Specifies the matched DN for this operation.void
PreParseModifyDNOperation. setNewSuperior(Dn newSuperior)
Specifies the newSuperior for this modify DN operation, as provided in the request from the client. -
Uses of Dn in org.opends.server.util
Fields in org.opends.server.util declared as Dn Modifier and Type Field Description static Dn
ServerConstants. DN_EXTERNAL_CHANGELOG_ROOT
The base Dn for the external change log.Methods in org.opends.server.util that return Dn Modifier and Type Method Description protected Dn
LDIFReader. readDN(LinkedList<StringBuilder> lines)
Reads the DN of the entry from the provided list of lines.Methods in org.opends.server.util with parameters of type Dn Modifier and Type Method Description protected Entry
LDIFReader. createEntry(Dn entryDN, List<StringBuilder> lines, boolean checkSchema)
Parses the provided LDIF lines as an LDAP entry.static Entry
StaticUtils. createEntry(Dn dn, Schema schema)
Creates a new, blank entry with the given DN.static Options
SslUtils. createOptionsForSslContext(Dn trustManagerProviderDn, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, SortedSet<String> sslCipherSuites, SortedSet<String> sslProtocols, ServerContext serverContext, ConnectionSecurity connectionSecurity)
Create SSL communicationsOptions
for an SSL context.static SSLContext
SslUtils. createSslContext(Collection<Dn> trustManagerProviderDns, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, ServerContext serverContext)
Creates an SSL context.static SslOptions
SslUtils. createSslOptions(Collection<Dn> trustManagerProviderDns, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, SortedSet<String> sslCipherSuites, SortedSet<String> sslProtocols, ServerContext serverContext)
CreatesSslOptions
for the provided parameters.static KeyManager[]
SslUtils. getKeyManagers(Dn keyManagerProviderDn, String friendlyName, Set<String> sslCertNicknames, ServerContext serverContext)
Returns an array ofKeyManager
s for use by theSSLContext
while setting up communication.Method parameters in org.opends.server.util with type arguments of type Dn Modifier and Type Method Description static SSLContext
SslUtils. createSslContext(Collection<Dn> trustManagerProviderDns, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, ServerContext serverContext)
Creates an SSL context.static SslOptions
SslUtils. createSslOptions(Collection<Dn> trustManagerProviderDns, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, SortedSet<String> sslCipherSuites, SortedSet<String> sslProtocols, ServerContext serverContext)
CreatesSslOptions
for the provided parameters.static TrustManager[]
SslUtils. getTrustManagers(Collection<Dn> trustManagerProviderDns, ServerContext serverContext)
Returns an array ofTrustManager
s for use by theSSLContext
while setting up communication.
-