Uses of Class
org.forgerock.opendj.ldap.Dn
Package
Description
Common administration classes.
Server-side administration interface.
Contains a number of API declarations for use throughout the
Directory Server.
Contains the Service Discovery Mechanisms and APIs.
Classes and interfaces providing I/O functionality.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for common LDAP controls.
Classes and interfaces for core LDAP requests/responses.
Classes and interfaces for constructing and querying LDAP schemas.
Classes and interfaces for reading and writing LDIF.
APIs for implementing REST to LDAP gateways.
This package contains
Filter
to authenticate and authorize LDAP connections.This package contains LDAP schema syntaxes and matching rules for JSON based attributes.
An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF based
KeyStore
service.Provides client-side interfaces for querying and managing the Core
directory server administrative components.
Provides server-side interfaces for accessing the Core directory
server administrative components.
Classes implementing core server APIs.
Provides support for an embedded directory server.
Contains code of the opendj setup model.
Contains a number of API declarations for use throughout the Directory Server.
Defines the Directory Server plugin API.
Contains the Directory Server Sun Java System Directory Server Enterprise Edition (dseecompat) compatability access
control handler implementation.
Contains the policy based access control handler implementation.
Contains various Directory Server backend implementations.
Contains the code for implementing Directory Server pluggable storage backends.
Interfaces and classes required when implementing new storage engines for the pluggable backend.
Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.
Contains code used to interact with the Directory Server configuration.
Contains various classes that comprise the core of the Directory Server codebase.
Contains the Service Discovery Mechanisms and APIs.
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
Contains implementations of Directory Server access, error, and debug loggers.
Contains various Directory Server monitor provider implementations.
Contains the implementation for various Directory Server plugins.
Contains various Directory Server connection handler implementations which will be used to accept connections from
and perform communication with clients over various protocols.
Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using HTTP.
Contains factories to build the authorization stage of the HTTP request processing.
Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using JMX.
Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using LDAPv3.
This package contains utilities that can are used by all the packages below org.opends.server.replication.
This package contains the part of the Multi-master replication code that works on the Directory Server side.
This package contains the code used by the replication server and by the code running on the Directory Server side to
exchange their information.
This package contains the code for the Replication Server part of the Multimaster replication feature.
This package contains the API for the changelog database.
This package contains a file-based log implementation for the changelog database API.
This package contains the generic of the Multi-Master replication code that works on the Directory Server side.
Contains implementations for various Directory Server tasks.
Contains various Directory Server tool implementations.
Classes related to dsbackup tool.
This package contains classes that support client tool interaction with the tasks backend.
Contains implementations for a number of Directory Server data types.
Contains a number of interfaces that are implemented by the various types of Directory Server operations.
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
Modifier and TypeMethodDescriptionConfiguration.dn()
Gets the DN of the LDAP entry associated with this configuration.DnPropertyDefinition.getBaseDn()
Get the base DN which all valid values must be immediately subordinate to, ornull
if there is no based DN.AggregationPropertyDefinition.getChildDn
(String name) Constructs a DN for a referenced managed object having the provided name.ManagedObjectPath.toDn()
Creates a DN representation of this managed object path.Reference.toDn()
Gets the DN of the referenced managed object.Modifier and TypeMethodDescriptionvoid
Set the base DN which all valid values must be immediately subordinate to.Modifier and TypeMethodDescription<R,
P> R DnPropertyDefinition.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, Deprecated deprecated) PropertyValueVisitor.visitDn
(DnPropertyDefinition pd, ValueOrExpression<Dn> v, P p) Visit a DN. -
Uses of Dn in org.forgerock.opendj.config.server
-
Uses of Dn in org.forgerock.opendj.config.server.spi
Modifier and TypeMethodDescriptionConfigurationRepository.getChildren
(Dn dn) Returns the set of DNs of children of the entry corresponding to the provided DN.Modifier and TypeMethodDescriptionvoid
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.ConfigurationRepository.getAddListeners
(Dn dn) Retrieves the add listeners that have been registered with the provided DN.ConfigurationRepository.getChangeListeners
(Dn dn) Retrieves the change listeners that have been registered with the provided DN.ConfigurationRepository.getChildren
(Dn dn) Returns the set of DNs of children of the entry corresponding to the provided DN.ConfigurationRepository.getDeleteListeners
(Dn dn) Retrieves the delete listeners that have been registered with the provided DN.Returns the configuration entry for the provided DN.boolean
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
Modifier and TypeMethodDescriptionReplicationServiceDiscoveryMechanism.getPartition
(Collection<Dn> baseDNs) ServiceDiscoveryMechanism.getPartition
(Collection<Dn> baseDNs) Returns the partition.StaticServiceDiscoveryMechanism.getPartition
(Collection<Dn> baseDns) -
Uses of Dn in org.forgerock.opendj.io
Modifier and TypeMethodDescriptionReads the next element as a distinguished name having the provided type tag.Reads the next element as a distinguished name having the Universal Sequence ASN.1 type tag.Modifier and TypeMethodDescriptionWrites the X.501 type Name as an RDN sequence with the provided type tag.Writes the X.501 type Name as an RDN sequence. -
Uses of Dn in org.forgerock.opendj.ldap
Modifier and TypeFieldDescriptionstatic final Option<Collection<Dn>>
LdapClients.LOAD_BALANCER_BASE_DNS
Specifies the base DN(s) for the data that the ldap service handles.LdapClients.LOAD_BALANCER_PARTITION_BASE_DNS
Specifies partition base DNs.Modifier and TypeMethodDescriptionAttributeParser.asDn()
Returns the first value decoded as aDN
using the schema associated with this parser, ornull
if the attribute does not contain any values.Returns the first value decoded as aDN
using the schema associated with this parser, ordefaultValue
if the attribute does not contain any values.Returns the first value decoded as aDN
using the schema associated with this parser, ordefaultValue
if the attribute does not contain any values.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.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.Returns a DN which is subordinate to this DN and having the additional RDN components contained in the provided DN.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
Creates a new DN using the provided DN template and unescaped attribute values using the default schema.static Dn
Creates a new DN using the provided DN template and unescaped attribute values using the provided schema.SubtreeSpecification.getBaseDN()
Get the absolute base DN of the subtree specification.final Dn
AbstractMapEntry.getName()
Entries.NullEntry.getName()
Entry.getName()
Returns the distinguished name of this entry.LdapUrl.getName()
Returns the distinguished name of the base entry relative to which the search is to be performed.SubtreeSpecification.getRelativeBaseDN()
Get the relative base LocalName, ie the "base" field.RootDse.getSubschemaSubentry()
Returns a string which represents the DN of the subschema subentry holding the schema controlling the Root DSE.Dn.localName
(int index) Returns the DN whose content is the specified number of RDNs from this DN.Dn.parent()
Returns the DN which is the immediate parent of this DN, ornull
if this DN is the empty DN.Dn.parent
(int index) Returns the DN which is equal to this DN with the specified number of RDNs removed.Returns a copy of this DN whose parent DN,fromDN
, has been renamed to the new parent DN,toDN
.Returns a DN whose value is the result of applying LDAP modify DN semantics to this DN.static Dn
Dn.rootDn()
Deprecated.static Dn
Parses the provided LDAP string representation of a DN using the default schema.static Dn
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.Modifier and TypeMethodDescriptionAttributeParser.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.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.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.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.Functions.byteStringToDn()
Returns a function which parsesDN
s using the default schema.Functions.byteStringToDn
(Schema schema) Returns a function which parsesDN
s using the provided schema.SubtreeSpecification.getChopAfter()
Get the ChopAfter LocalNames from the specificExclusions.SubtreeSpecification.getChopBefore()
Get the ChopBefore LocalNames from the specificExclusions.DecodeOptions.getEntryFactory()
Returns the function which will be used for creating newEntry
instances when decoding entries.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).Modifier and TypeMethodDescriptionReturns the first value decoded as aDN
using the schema associated with this parser, ordefaultValue
if the attribute does not contain any values.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.Returns a DN which is subordinate to this DN and having the additional RDN components contained in the provided DN.int
boolean
Returnstrue
if the named entry exists in this memory backend.default Result
Deletes the named entry from the Directory Server.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
Returnstrue
if this DN is an immediate child of the provided DN.boolean
SubtreeSpecification.isDNWithinScope
(Dn dn) Determine if the specified DN is within the scope of the subtree specification.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
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.Reads the named entry from the Directory Server.Reads the named entry from the Directory Server.default Single<SearchResultEntry>
Reads the named entry from the Directory Server.AbstractConnection.readEntryAsync
(Dn name, Collection<String> attributeDescriptions) AbstractConnectionWrapper.readEntryAsync
(Dn name, Collection<String> attributeDescriptions) Asynchronously reads the named entry from the Directory Server.Connection.readEntryAsync
(Dn name, Collection<String> attributeDescriptions) Asynchronously reads the named entry from the Directory Server.Returns a copy of this DN whose parent DN,fromDN
, has been renamed to the new parent DN,toDN
.Returns a DN whose value is the result of applying LDAP modify DN semantics to this DN.final Entry
default Entry
Sets the distinguished name of this entry (optional operation).static SubtreeSpecification
Parses the string argument as an RFC3672 subtree specification.Modifier and TypeMethodDescriptionMemoryBackend.addVirtualAttributes
(AttributeDescription attributeDescription, BiFunction<Dn, MemoryBackend, Attribute> virtualAttributeFactory) Adds a virtual attribute to the backend.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.setEntryFactory
(Function<Dn, Entry> factory) Sets the function which will be used for creating newEntry
instances when decoding entries.ModifierConstructorDescriptionprotected
AbstractMapEntry
(Dn name, M attributes) Creates an empty entry using the provided distinguished name andMap
.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.SubtreeSpecification
(Dn rootDN) Create a dummy subtree specification.TreeMapEntry
(Dn name) Creates an empty entry using the provided distinguished name and no attributes. -
Uses of Dn in org.forgerock.opendj.ldap.controls
Modifier and TypeMethodDescriptionProxiedAuthV1RequestControl.getAuthorizationDnName()
Returns the distinguished name of the user whose authorization is to be used when performing the operation.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.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.Modifier and TypeMethodDescriptionAuthorizationIdentityResponseControl.newControl
(Dn authorizationDn) Creates a new authorization identity response control using the provided authorization ID.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.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
Modifier and TypeMethodDescriptionstatic Dn
Requests.dnOfRequest
(Request request) Returns the DN of the entry targeted by the provided request, ornull
if the target entry cannot be determined.AddRequest.getName()
BindRequest.getName()
Returns the name of the Directory object that the client wishes to bind as.CompareRequest.getName()
Returns the distinguished name of the entry to be compared.DeleteRequest.getName()
Returns the distinguished name of the entry to be deleted.ModifyDnRequest.getName()
Returns the distinguished name of the entry to be renamed.ModifyRequest.getName()
Returns the distinguished name of the entry to be modified.SearchRequest.getName()
Returns the distinguished name of the base entry relative to which the search is to be performed.ModifyDnRequest.getNewSuperior()
Returns the distinguished name of an existing entry that will become the immediate superior (parent) of the entry to be renamed.Modifier and TypeMethodDescriptionstatic 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.setMatchedDn
(Dn dn) CompareResult.setMatchedDn
(Dn dn) ExtendedResult.setMatchedDn
(Dn dn) GenericExtendedResult.setMatchedDn
(Dn dn) PasswordModifyExtendedResult.setMatchedDn
(Dn dn) Result.setMatchedDn
(Dn dn) Sets the matched DN associated with this result.WhoAmIExtendedResult.setMatchedDn
(Dn dn) Sets the name of the Directory object that the client wishes to bind as.Sets the distinguished name of the entry to be compared.Sets the distinguished name of the entry to be deleted.Sets the distinguished name of the entry to be renamed.Sets the distinguished name of the entry to be modified.Sets the distinguished name of the base entry relative to which the search is to be performed.default SearchResultEntry
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
Modifier and TypeMethodDescriptionSchemaValidationPolicy.checkDitStructureRulesParentEntryResolver()
Returns the parent entry resolver which should be used for retrieving the parent entry during DIT structure rule validation.Modifier and TypeMethodDescriptionSchemaBuilder.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.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.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.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.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.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.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.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.Modifier and TypeMethodDescriptionSchemaValidationPolicy.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
Modifier and TypeMethodDescriptionChangeRecord.getName()
Returns the distinguished name of the entry being modified by thisChangeRecord
.Modifier and TypeMethodDescriptionLdifChangeRecordReader.setExcludeBranch
(Dn excludeBranch) Excludes all change records which target entries beneath the named entry (inclusive) from being read from LDIF.LdifChangeRecordWriter.setExcludeBranch
(Dn excludeBranch) Excludes all change records which target entries beneath the named entry (inclusive) from being written to LDIF.LdifEntryReader.setExcludeBranch
(Dn excludeBranch) Excludes all entries beneath the named entry (inclusive) from being read from LDIF.LdifEntryWriter.setExcludeBranch
(Dn excludeBranch) Excludes all entries beneath the named entry (inclusive) from being written to LDIF.LdifChangeRecordReader.setIncludeBranch
(Dn includeBranch) Ensures that all change records which target entries beneath the named entry (inclusive) are read from LDIF.LdifChangeRecordWriter.setIncludeBranch
(Dn includeBranch) Ensures that all change records which target entries beneath the named entry (inclusive) are written to LDIF.LdifEntryReader.setIncludeBranch
(Dn includeBranch) Ensures that all entries beneath the named entry (inclusive) are read from LDIF.LdifEntryWriter.setIncludeBranch
(Dn includeBranch) Ensures that all entries beneath the named entry (inclusive) are written to LDIF.Sets the distinguished name of the entry to be updated. -
Uses of Dn in org.forgerock.opendj.rest2ldap
Modifier and TypeMethodDescriptionstatic Dn
Hdap.dnOf
(ResourcePath resourcePath, SchemaResolver schemaResolver) Decodes the provided URL encoded resource path as a DN. -
Uses of Dn in org.forgerock.opendj.rest2ldap.authz
Modifier and TypeMethodDescriptionstatic 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.Modifier and TypeMethodDescriptionstatic AuthenticationStrategy
AuthenticationStrategies.newSimpleBindStrategy
(LdapClient ldapClient, Function<String, Dn> dnMapper) Creates anAuthenticationStrategy
performing simple BIND authentication against an LDAP server. -
Uses of Dn in org.forgerock.opendj.rest2ldap.schema
Modifier and TypeMethodDescriptionstatic Dn
JsonSchema.byteStringToNameWithoutJson
(Schema schema, ByteString value) Decodes the provided value as a Name and JSON value but without decoding the JSON value.Modifier and TypeMethodDescriptionJsonSchema.byteStringToNameAndJson
(Schema schema, ByteString value) Decodes the provided value as a Name and JSON value.Modifier and TypeMethodDescriptionstatic ByteString
JsonSchema.nameAndJsonToByteString
(ByteString nameAndJsonValue, Dn newName) static ByteString
JsonSchema.nameAndJsonToByteString
(Dn name, Object json) -
Uses of Dn in org.forgerock.opendj.security
Modifier and TypeMethodDescriptionDeploymentId.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.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.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.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.Sets the certificate subject name. -
Uses of Dn in org.forgerock.opendj.server.config.client
Modifier and TypeMethodDescriptionProxyBackendCfgClient.getAvailabilityCheckSearchRequestBaseDn()
Gets the "availability-check-search-request-base-dn" property.BackendVlvIndexCfgClient.getBaseDn()
Gets the "base-dn" property.LdapKeyManagerProviderCfgClient.getBaseDn()
Gets the "base-dn" property.LdapTrustManagerProviderCfgClient.getBaseDn()
Gets the "base-dn" property.LdifBackendCfgClient.getBaseDn()
Gets the "base-dn" property.MemoryBackendCfgClient.getBaseDn()
Gets the "base-dn" property.NullBackendCfgClient.getBaseDn()
Gets the "base-dn" property.PluggableBackendCfgClient.getBaseDn()
Gets the "base-dn" property.ProxyBackendCfgClient.getBaseDn()
Gets the "base-dn" property.ReferentialIntegrityPluginCfgClient.getBaseDn()
Gets the "base-dn" property.ReplicationDomainCfgClient.getBaseDn()
Gets the "base-dn" property.SevenBitCleanPluginCfgClient.getBaseDn()
Gets the "base-dn" property.UniqueAttributePluginCfgClient.getBaseDn()
Gets the "base-dn" property.VirtualAttributeCfgClient.getBaseDn()
Gets the "base-dn" property.ReplicationServiceDiscoveryMechanismCfgClient.getBindDn()
Gets the "bind-dn" property.ReplicationServerCfgClient.getChangelogEnabledExcludedDomains()
Gets the "changelog-enabled-excluded-domains" property.VirtualAttributeCfgClient.getGroupDn()
Gets the "group-dn" property.ProxyBackendCfgClient.getKeepAliveSearchRequestBaseDn()
Gets the "keep-alive-search-request-base-dn" property.LdapPassThroughAuthenticationPolicyCfgClient.getMappedSearchBaseDn()
Gets the "mapped-search-base-dn" property.LdapPassThroughAuthenticationPolicyCfgClient.getMappedSearchBindDn()
Gets the "mapped-search-bind-dn" property.ExactMatchIdentityMapperCfgClient.getMatchBaseDn()
Gets the "match-base-dn" property.RegularExpressionIdentityMapperCfgClient.getMatchBaseDn()
Gets the "match-base-dn" property.ProxyBackendCfgClient.getPartitionBaseDn()
Gets the "partition-base-dn" property.ProxyBackendCfgClient.getProxyUserDn()
Gets the "proxy-user-dn" property.SambaPasswordPluginCfgClient.getSambaAdministratorDn()
Gets the "samba-administrator-dn" property.SchemaBackendCfgClient.getSchemaEntryDn()
Gets the "schema-entry-dn" property.GlobalCfgClient.getSubordinateBaseDn()
Gets the "subordinate-base-dn" property.FingerprintCertificateMapperCfgClient.getUserBaseDn()
Gets the "user-base-dn" property.SubjectAttributeToUserAttributeCertificateMapperCfgClient.getUserBaseDn()
Gets the "user-base-dn" property.SubjectDnToUserAttributeCertificateMapperCfgClient.getUserBaseDn()
Gets the "user-base-dn" property.HttpAnonymousAuthorizationMechanismCfgClient.getUserDn()
Gets the "user-dn" property.AccessLogFilteringCriteriaCfgClient.getUserIsMemberOf()
Gets the "user-is-member-of" property.AccessLogFilteringCriteriaCfgClient.getUserIsNotMemberOf()
Gets the "user-is-not-member-of" property.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionProxyBackendCfg.getAvailabilityCheckSearchRequestBaseDn()
Gets the "availability-check-search-request-base-dn" property.BackendVlvIndexCfg.getBaseDn()
Gets the "base-dn" property.LdapKeyManagerProviderCfg.getBaseDn()
Gets the "base-dn" property.LdapTrustManagerProviderCfg.getBaseDn()
Gets the "base-dn" property.ReplicationDomainCfg.getBaseDn()
Gets the "base-dn" property.ReplicationServiceDiscoveryMechanismCfg.getBindDn()
Gets the "bind-dn" property.LdapPassThroughAuthenticationPolicyCfg.getCachedPasswordStorageSchemeDn()
Gets the "cached-password-storage-scheme" property as a DN.GlobalCfg.getDefaultPasswordPolicyDn()
Gets the "default-password-policy" property as a DN.HdapAuthorizationMechanismCfg.getJwtKeyManagerProviderDn()
Gets the "jwt-key-manager-provider" property as a DN.ProxyBackendCfg.getKeepAliveSearchRequestBaseDn()
Gets the "keep-alive-search-request-base-dn" property.AdministrationConnectorCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.CryptoManagerCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.HttpConnectionHandlerCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.HttpOauth2OpenamAuthorizationMechanismCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.HttpOauth2TokenIntrospectionAuthorizationMechanismCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.JmxConnectionHandlerCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.LdapConnectionHandlerCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.ProxyBackendCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.ReplicationServiceDiscoveryMechanismCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.ReplicationSynchronizationProviderCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.StaticServiceDiscoveryMechanismCfg.getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.LdapPassThroughAuthenticationPolicyCfg.getMappedSearchBindDn()
Gets the "mapped-search-bind-dn" property.PasswordPolicyCfg.getPasswordGeneratorDn()
Gets the "password-generator" property as a DN.ProxyBackendCfg.getProxyUserDn()
Gets the "proxy-user-dn" property.SambaPasswordPluginCfg.getSambaAdministratorDn()
Gets the "samba-administrator-dn" property.HttpOauth2OpenamAuthorizationMechanismCfg.getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.HttpOauth2TokenIntrospectionAuthorizationMechanismCfg.getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.LdapPassThroughAuthenticationPolicyCfg.getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.MailServerCfg.getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.ReplicationServiceDiscoveryMechanismCfg.getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.StaticServiceDiscoveryMechanismCfg.getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.HttpAnonymousAuthorizationMechanismCfg.getUserDn()
Gets the "user-dn" property.Modifier and TypeMethodDescriptionPasswordPolicyCfg.getAccountStatusNotificationHandlerDns()
Gets the "account-status-notification-handler" property as a set of DNs.HttpEndpointCfg.getAuthorizationMechanismDns()
Gets the "authorization-mechanism" property as a set of DNs.LdifBackendCfg.getBaseDn()
Gets the "base-dn" property.MemoryBackendCfg.getBaseDn()
Gets the "base-dn" property.NullBackendCfg.getBaseDn()
Gets the "base-dn" property.PluggableBackendCfg.getBaseDn()
Gets the "base-dn" property.ProxyBackendCfg.getBaseDn()
Gets the "base-dn" property.ReferentialIntegrityPluginCfg.getBaseDn()
Gets the "base-dn" property.SevenBitCleanPluginCfg.getBaseDn()
Gets the "base-dn" property.UniqueAttributePluginCfg.getBaseDn()
Gets the "base-dn" property.VirtualAttributeCfg.getBaseDn()
Gets the "base-dn" property.ExternalSaslMechanismHandlerCfg.getCertificateMapperDns()
Gets the "certificate-mapper" property as a set of DNs.ReplicationServerCfg.getChangelogEnabledExcludedDomains()
Gets the "changelog-enabled-excluded-domains" property.PasswordPolicyImportPluginCfg.getDefaultAuthPasswordStorageSchemeDns()
Gets the "default-auth-password-storage-scheme" property as a set of DNs.PasswordPolicyCfg.getDefaultPasswordStorageSchemeDns()
Gets the "default-password-storage-scheme" property as a set of DNs.PasswordPolicyImportPluginCfg.getDefaultUserPasswordStorageSchemeDns()
Gets the "default-user-password-storage-scheme" property as a set of DNs.PasswordPolicyCfg.getDeprecatedPasswordStorageSchemeDns()
Gets the "deprecated-password-storage-scheme" property as a set of DNs.VirtualAttributeCfg.getGroupDn()
Gets the "group-dn" property.CramMd5SaslMechanismHandlerCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.DigestMd5SaslMechanismHandlerCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.GssapiSaslMechanismHandlerCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.HttpBasicAuthorizationMechanismCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.HttpOauth2AuthorizationMechanismCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.PasswordModifyExtendedOperationHandlerCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.PlainSaslMechanismHandlerCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.ScramSha256SaslMechanismHandlerCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.ScramSha512SaslMechanismHandlerCfg.getIdentityMapperDns()
Gets the "identity-mapper" property as a set of DNs.LdapPassThroughAuthenticationPolicyCfg.getMappedSearchBaseDn()
Gets the "mapped-search-base-dn" property.ExactMatchIdentityMapperCfg.getMatchBaseDn()
Gets the "match-base-dn" property.RegularExpressionIdentityMapperCfg.getMatchBaseDn()
Gets the "match-base-dn" property.ProxyBackendCfg.getPartitionBaseDn()
Gets the "partition-base-dn" property.PasswordPolicyCfg.getPasswordValidatorDns()
Gets the "password-validator" property as a set of DNs.GlobalCfg.getProxiedAuthorizationIdentityMapperDns()
Gets the "proxied-authorization-identity-mapper" property as a set of DNs.CsvFileAccessLogPublisherCfg.getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.CsvFileHttpAccessLogPublisherCfg.getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.FileBasedAccessLogPublisherCfg.getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.FileBasedAuditLogPublisherCfg.getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.FileBasedErrorLogPublisherCfg.getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.FileBasedHttpAccessLogPublisherCfg.getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.JsonFileAccessLogPublisherCfg.getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.JsonFileHttpAccessLogPublisherCfg.getRetentionPolicyDns()
Gets the "retention-policy" property as a set of DNs.CsvFileAccessLogPublisherCfg.getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.CsvFileHttpAccessLogPublisherCfg.getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.FileBasedAccessLogPublisherCfg.getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.FileBasedAuditLogPublisherCfg.getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.FileBasedErrorLogPublisherCfg.getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.FileBasedHttpAccessLogPublisherCfg.getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.JsonFileAccessLogPublisherCfg.getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.JsonFileHttpAccessLogPublisherCfg.getRotationPolicyDns()
Gets the "rotation-policy" property as a set of DNs.SchemaBackendCfg.getSchemaEntryDn()
Gets the "schema-entry-dn" property.ProxyBackendCfg.getShardDns()
Gets the "shard" property as a set of DNs.GlobalCfg.getSubordinateBaseDn()
Gets the "subordinate-base-dn" property.AdministrationConnectorCfg.getTrustManagerProviderDns()
Gets the "trust-manager-provider" property as a set of DNs.HttpConnectionHandlerCfg.getTrustManagerProviderDns()
Gets the "trust-manager-provider" property as a set of DNs.LdapConnectionHandlerCfg.getTrustManagerProviderDns()
Gets the "trust-manager-provider" property as a set of DNs.ReplicationSynchronizationProviderCfg.getTrustManagerProviderDns()
Gets the "trust-manager-provider" property as a set of DNs.FingerprintCertificateMapperCfg.getUserBaseDn()
Gets the "user-base-dn" property.SubjectAttributeToUserAttributeCertificateMapperCfg.getUserBaseDn()
Gets the "user-base-dn" property.SubjectDnToUserAttributeCertificateMapperCfg.getUserBaseDn()
Gets the "user-base-dn" property.AccessLogFilteringCriteriaCfg.getUserIsMemberOf()
Gets the "user-is-member-of" property.AccessLogFilteringCriteriaCfg.getUserIsNotMemberOf()
Gets the "user-is-not-member-of" property. -
Uses of Dn in org.forgerock.opendj.server.core
Modifier and TypeMethodDescriptionRequestContext.getAuthenticationDn()
Returns the authentication Dn for logging.RequestContext.getAuthorizationDn()
Returns the authorization Dn for logging, which could be from proxy auth.RequestContext.getProxiedAuthorizationDn()
Returns the proxied authorization DN if proxy authorization has been requested.Modifier and TypeMethodDescriptionvoid
RequestContext.setProxiedAuthorizationDn
(Dn proxiedAuthorizationDn) Set the proxied authorization DN for this operation if any. -
Uses of Dn in org.forgerock.opendj.server.embedded
Modifier and TypeMethodDescriptionEmbeddedDirectoryServer.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
Modifier and TypeFieldDescriptionstatic final Dn
SetupConstants.ADMIN_DATA_DN
DN of the administration data replication domain.static final Dn
SetupConstants.DEFAULT_ROOT_DN
Root user default distinguish name.Modifier and TypeMethodDescriptionProfile.DnParameter.parseStringValue
(String strValue) Profile.DomainParameter.parseStringValue
(String strValue) Modifier and TypeMethodDescriptionSetup.monitorUserDn
(Dn monitorUserDn) Specifies the DN of the monitor user, having access to monitor information.Setup.rootUserDn
(Dn rootUserDn) Specifies the user root distinguish name of the instance to setup. -
Uses of Dn in org.opends.server.api
Modifier and TypeMethodDescriptionprotected 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.Find the Base DN of the provided 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.Group.getGroupDN()
Retrieves the DN of the entry that contains the definition for this group.final Dn
MonitorProvider.getMonitorInstanceDn()
Returns the DN of this monitor provider.Modifier and TypeMethodDescriptionDITCacheMap.childrenIterator
(Dn baseDn) Returns a filtered-view of this map containing only the immediate children of base-dn.DITCacheMap.entrySet()
Backend.getBaseDNs()
Retrieves the set of base-level DNs that may be used within this backend.DITCacheMap.getChildrenDns
(Dn key, long maxNumberOfChildren) Returns the list of the children's DNs, size bounded.Group.getMemberDns()
Retrieves an iterator that may be used to cursor through the Dns of the members contained in this group.Modifier and TypeMethodDescriptionboolean
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.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.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.Find the Base DN of the provided DN.DITCacheMap.getChildrenDns
(Dn key, long maxNumberOfChildren) Returns the list of the children's DNs, size bounded.abstract SizedEntry
Retrieves the entry with its size, with the specified DN from the cache.abstract Entry
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.DITCacheMap.getSubtreeValues
(Dn key) Returns values from the stored objects associated with the subtree having the provided base DN.final 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
Indicates whether the provided control is allowed based on the access control configuration and the specified operation.default boolean
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.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.void
Renames this group, and use the provided DN as the new name for this group.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.Modifier and TypeMethodDescriptionstatic 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.default void
LocalBackendInitializationListener.performBackendPostFinalizationProcessing
(String backendId, Predicate<Dn> handlesEntry) Performs any processing that may be required whenever a backend is finalized.void
-
Uses of Dn in org.opends.server.api.plugin
Modifier and TypeMethodDescriptionfinal Dn
DirectoryServerPlugin.getPluginEntryDN()
Retrieves the DN of the configuration entry for this plugin.Modifier and TypeMethodDescriptionfinal 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.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.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.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.PluginResult.SubordinateDelete.stopProcessing
(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs) Defines a new stop processing subordinate delete plugin result.PluginResult.SubordinateModifyDN.stopProcessing
(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs) Defines a new stop processing subordinate modify DN plugin result.ModifierConstructorDescriptionprotected
InternalDirectoryServerPlugin
(Dn pluginDN, 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
Modifier and TypeMethodDescriptionAciEvalContext.getClientDN()
Get client DN.AciListenerManager.getComponentEntryDN()
Aci.getDN()
Return the DN of the entry containing the ACI.Target.getDN()
Returns the URL DN of the expression.AciEvalContext.getResourceDN()
Get the resource DN.Modifier and TypeMethodDescriptionvoid
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, ServerContext serverContext) 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
boolean
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, ServerContext serverContext) Rename all ACIs under the specified old DN to the new DN.Modifier and TypeMethodDescriptionvoid
AciListenerManager.performBackendPostFinalizationProcessing
(String backendId, Predicate<Dn> handlesEntry) Performs any processing that may be required whenever a backend is finalized.ModifierConstructorDescriptionConstructor 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
Modifier and TypeMethodDescriptionboolean
PolicyBasedAccessControlHandler.canDiscloseInformation
(Entry entry, Dn entryDN, Operation operation) boolean
boolean
PolicyBasedAccessControlHandler.maySend
(Dn dn, Operation operation, SearchResultReference searchReference) -
Uses of Dn in org.opends.server.backends
Modifier and TypeFieldDescriptionstatic final Dn
ChangelogBackend.CHANGELOG_BASE_DN
The base DN for the external change log.Modifier and TypeMethodDescriptionConfigurationBackend.ConfigurationBackendCfg.dn()
RebuildConfig.getBaseDN()
Get the base DN to rebuild.VerifyConfig.getBaseDN()
Get the base DN to be verified.LDIFBackend.getComponentEntryDN()
SchemaBackend.getComponentEntryDN()
Modifier and TypeMethodDescriptionChangelogBackend.getBaseDNs()
ConfigurationBackend.getBaseDNs()
LDIFBackend.getBaseDNs()
MemoryBackend.getBaseDNs()
MonitorBackend.getBaseDNs()
NullBackend.getBaseDNs()
ProxyBackend.getBaseDNs()
RootDSEBackend.getBaseDNs()
SchemaBackend.getBaseDNs()
Modifier and TypeMethodDescriptionvoid
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) 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) ChangelogBackend.hasSubordinates
(Dn entryDN) ConfigurationBackend.hasSubordinates
(Dn entryDN) LDIFBackend.hasSubordinates
(Dn entryDN) MemoryBackend.hasSubordinates
(Dn entryDN) MonitorBackend.hasSubordinates
(Dn entryDN) NullBackend.hasSubordinates
(Dn entryDN) RootDSEBackend.hasSubordinates
(Dn entryDN) 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) ModifierConstructorDescriptionRebuildConfig
(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
Modifier and TypeMethodDescriptionvoid
BackendImpl.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) boolean
BackendImpl.entryExists
(Dn entryDN) long
BackendImpl.getNumberOfChildren
(Dn parentDN) long
BackendImpl.getNumberOfEntriesInBaseDN
(Dn baseDN) 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
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionTaskScheduler.getComponentEntryDN()
TaskBackend.getConfigEntryDN()
Retrieves the DN of the configuration entry for this task backend.TaskBackend.getRecurringTasksParentDN()
Retrieves the DN of the entry that is the immediate parent for all recurring task information in the Directory Server.TaskBackend.getScheduledTasksParentDN()
Retrieves the DN of the entry that is the immediate parent for all scheduled task information in the Directory Server.final Dn
Task.getTaskName()
Retrieves the name of the task entry.TaskBackend.getTaskRootDN()
Retrieves the DN of the entry that is the root for all task information in the Directory Server.Modifier and TypeMethodDescriptionvoid
TaskBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) long
TaskBackend.getNumberOfChildren
(Dn parentDN) long
TaskBackend.getNumberOfEntriesInBaseDN
(Dn baseDN) TaskScheduler.getRecurringTask
(Dn recurringTaskEntryDN) Retrieves the recurring task with the given recurring task ID.TaskScheduler.getRecurringTaskEntry
(Dn recurringTaskEntryDN) Retrieves the recurring task entry with the provided DN.TaskBackend.getScheduledTask
(Dn taskEntryDN) Retrieves the scheduled task for the entry with the provided DN.TaskScheduler.getScheduledTask
(Dn taskEntryDN) Retrieves the scheduled task created from the specified entry.TaskScheduler.getScheduledTaskEntry
(Dn scheduledTaskEntryDN) Retrieves the scheduled task entry with the provided DN.TaskBackend.hasSubordinates
(Dn entryDN) void
TaskBackend.renameEntry
(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) -
Uses of Dn in org.opends.server.config
Modifier and TypeFieldDescriptionstatic final Dn
ConfigConstants.DN_BACKEND_BASE
The DN of the entry that will serve as the base for all Directory Server backends.static final Dn
ConfigConstants.DN_CONFIG_ROOT
The DN of the entry that will serve as the root for the Directory Server configuration.static final 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 final Dn
ConfigConstants.DN_ENTRY_CACHE_BASE
The DN of the entry that will hold the configuration for the Directory Server entry cache.static final Dn
ConfigConstants.DN_MONITOR_CHANGELOG
The DN of the entry that will serve as the base for all Directory Server replication changelog information.static final Dn
ConfigConstants.DN_MONITOR_ROOT
The DN of the entry that will serve as the base for all Directory Server monitor information.static final Dn
ConfigConstants.DN_TASK_ROOT
The DN of the entry that will serve as the base for all Directory Server task information.Modifier and TypeMethodDescriptionvoid
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) ConfigurationHandler.getAddListeners
(Dn dn) ConfigurationHandler.getChangeListeners
(Dn dn) ConfigurationHandler.getChildren
(Dn dn) ConfigurationHandler.getDeleteListeners
(Dn dn) boolean
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) -
Uses of Dn in org.opends.server.core
Modifier and TypeMethodDescriptionprotected Dn
EntryCacheConfigManager.EntryCacheDispatcher.computeMonitorInstanceDn()
BackendConfigManager.findNamingContextForEntry
(Dn entryDn) Retrieves the naming context that should be used to handle operations on the specified entry.final Dn
SearchOperation.getBaseDN()
BindOperation.getBindDN()
AccessControlConfigManager.getComponentEntryDN()
DirectoryServer.getComponentEntryDN()
CoreConfigManager.getDefaultPasswordPolicyDN()
Retrieves the DN of the configuration entry for the default password policy for the Directory Server.abstract Dn
PasswordPolicy.getDN()
SubentryPasswordPolicy.getDN()
AddOperation.getEntryDN()
CompareOperation.getEntryDN()
Retrieves the DN of the entry to compare.DeleteOperation.getEntryDN()
Retrieves the DN of the entry to delete.ModifyDnOperation.getEntryDN()
ModifyOperation.getEntryDN()
ModifyDnOperation.getNewSuperior()
BackendConfigManager.getParentDNInSuffix
(Dn dn) Retrieves the DN that is the immediate parent for this DN.BindOperation.getUserEntryDN()
Modifier and TypeMethodDescriptionBackendConfigManager.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.DirectoryServer.getMonitorProviders()
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.BackendConfigManager.getNamingContexts
(Predicate<org.opends.server.core.BackendConfigManager.NamingContext> filter) Retrieves naming contexts corresponding to backends, according to the specified filter.CoreConfigManager.getProxiedAuthorizationIdentityMapperDNs()
Retrieves the DNs of the configuration entry for the identity mappers that should be used in conjunction with proxied authorization V2 controls.CoreConfigManager.getSubordinateBaseDNs()
Retrieves the restricted set of subordinate base DNs to use when searching the root suffix "".BackendConfigManager.registerBaseDNs
(Backend<? extends BackendCfg> backend, Set<Dn> newBaseDns) Registers the provided base DNs for the provided backend.BackendConfigManager.registerBaseDNs
(Backend<? extends BackendCfg> backend, Set<Dn> newBaseDns) Registers the provided base DNs for the provided backend.Modifier and TypeMethodDescriptionboolean
EntryCacheConfigManager.EntryCacheDispatcher.containsEntry
(Dn entryDN) 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.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.BackendConfigManager.findNamingContextForEntry
(Dn entryDn) Retrieves the naming context that should be used to handle operations on the specified entry.Retrieves the set of client connections authenticated as the specified user.DirectoryServer.getAccountStatusNotificationHandler
(Dn handlerDN) ServerContext.getAccountStatusNotificationHandler
(Dn handlerDN) Retrieves the account status notification handler with the specified configuration entry DN.DirectoryServer.getAuthenticationPolicy
(Dn configEntryDN) 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.DirectoryServer.getCertificateMapper
(Dn mapperDN) ServerContext.getCertificateMapper
(Dn mapperDN) Retrieves the certificate mapper registered with the provided entry DN.SubentryManager.getCollectiveSubentries
(Dn dn) Returns collective subentries applicable to specific DN.DirectoryServer.getConfigEntry
(Dn entryDN) Deprecated.useDirectoryServer.getEntry(Dn)
when possibleServerContext.getConfigEntry
(Dn entryDN) Deprecated.useServerContext.getEntry(Dn)
when possibleRetrieves the entry with the requested DN.Retrieves the group defined in the entry with the specified DN.DirectoryServer.getIdentityMapper
(Dn configEntryDN) ServerContext.getIdentityMapper
(Dn configEntryDN) Retrieves the Directory Server identity mapper whose configuration resides in the specified configuration entry.DirectoryServer.getKeyManagerProvider
(Dn keyManagerProviderDn) KeyManagerProviderConfigManager.getKeyManagerProvider
(Dn dn) Retrieves the key manager provider registered with the provided entry DN.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.BackendConfigManager.getParentDNInSuffix
(Dn dn) Retrieves the DN that is the immediate parent for this DN.DirectoryServer.getParentEntry
(Dn childDn) ServerContext.getParentEntry
(Dn childDn) Retrieves the entry that is the immediate parent of the entry having the provided DN.DirectoryServer.getPasswordGenerator
(Dn configEntryDN) ServerContext.getPasswordGenerator
(Dn configEntryDN) Retrieves the password generator registered with the provided configuration entry DN.DirectoryServer.getPasswordStorageScheme
(Dn configEntryDN) 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.PluginConfigManager.getRegisteredPlugin
(Dn pluginDN) Retrieves the plugin with the specified configuration entry DN.DirectoryServer.getRetentionPolicy
(Dn configEntryDN) ServerContext.getRetentionPolicy
(Dn configEntryDN) Retrieves the log retention policy registered for the provided configuration entry.DirectoryServer.getRotationPolicy
(Dn configEntryDN) ServerContext.getRotationPolicy
(Dn configEntryDN) Retrieves the log rotation policy registered for the provided configuration entry.SubentryManager.getSubentries
(Dn dn) Returns subentries applicable to specific DN.DirectoryServer.getTrustManagerProvider
(Dn trustManagerProviderDN) ServerContext.getTrustManagerProvider
(Dn trustManagerProviderDN) Returns the trust manager provider matching the provided DN.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.PluginConfigManager.invokeSubordinateDeletePlugins
(DeleteOperation deleteOperation, Dn entryDn, boolean isCommitted) Invokes the set of subordinate delete plugins that have been configured in the Directory Server.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
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.void
EntryCacheConfigManager.EntryCacheDispatcher.removeEntry
(Dn entryDN) 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.void
BindOperation.runFakePasswordMatches
(Dn bindDn, ByteString password) When using cost based hashes, ensure similar response times when login with non-existing vs.final void
Specifies the base DN as included in the request from the client.void
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) Modifier and TypeMethodDescriptionList<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.void
EntryCacheConfigManager.EntryCacheDispatcher.performBackendPostFinalizationProcessing
(String backendId, Predicate<Dn> handlesEntry) void
GroupManager.performBackendPostFinalizationProcessing
(String backendId, Predicate<Dn> handlesEntry) Performs any processing that may be required whenever a backend is finalized.void
SubentryManager.performBackendPostFinalizationProcessing
(String backendId, Predicate<Dn> handlesEntry) Performs any processing that may be required whenever a backend is finalized.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
Modifier and TypeMethodDescriptionReplicationServiceDiscoveryMechanism.getPartition
(Collection<Dn> baseDNs) ServiceDiscoveryMechanism.getPartition
(Collection<Dn> baseDNs) Returns the partitions.StaticServiceDiscoveryMechanism.getPartition
(Collection<Dn> baseDns) -
Uses of Dn in org.opends.server.extensions
Modifier and TypeMethodDescriptionDiskSpaceMonitor.getComponentEntryDN()
DynamicGroup.getGroupDN()
StaticGroup.getGroupDN()
VirtualStaticGroup.getGroupDN()
VirtualStaticGroup.getTargetGroupDN()
Retrieves the DN of the target group for this virtual static group.Modifier and TypeMethodDescriptionIndexedAttributesChecks.getBaseDns
(Set<Dn> baseDns, BackendConfigManager backendConfigManager) If we have an explicit set of base DNs, then use it.DynamicGroup.getMemberDns()
StaticGroup.getMemberDns()
VirtualStaticGroup.getMemberDns()
Modifier and TypeMethodDescriptionstatic void
IndexedAttributesChecks.checkAllAttributesAreIndexedForEquality
(Dn cfgDn, Set<Dn> cfgBaseDNs, Collection<AttributeType> attrTypes, LocalizableMessageDescriptor.Arg3<Object, Object, Object> notIndexedMsg, ConfigChangeResult ccr, BackendConfigManager backendConfigManager) 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, BackendConfigManager backendConfigManager) Checks whether all attribute types are indexed for a given matching rule.boolean
FIFOEntryCache.containsEntry
(Dn entryDN) boolean
SoftReferenceEntryCache.containsEntry
(Dn entryDN) DynamicGroup.getAllMembers
(Dn baseDN, SearchScope scope, Filter filter) StaticGroup.getAllMembers
(Dn baseDN, SearchScope scope, Filter filter) VirtualStaticGroup.getAllMembers
(Dn baseDN, SearchScope scope, Filter filter) 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
FIFOEntryCache.removeEntry
(Dn entryDN) void
SoftReferenceEntryCache.removeEntry
(Dn entryDN) void
void
void
Modifier and TypeMethodDescriptionstatic void
IndexedAttributesChecks.checkAllAttributesAreIndexedForEquality
(Dn cfgDn, Set<Dn> cfgBaseDNs, Collection<AttributeType> attrTypes, LocalizableMessageDescriptor.Arg3<Object, Object, Object> notIndexedMsg, ConfigChangeResult ccr, BackendConfigManager backendConfigManager) 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, BackendConfigManager backendConfigManager) Checks whether all attribute types are indexed for a given matching rule.IndexedAttributesChecks.getBaseDns
(Set<Dn> baseDns, BackendConfigManager backendConfigManager) If we have an explicit set of base DNs, then use it.void
StaticGroup.recomputeNestedGroupsForAddedGroups
(Set<Dn> addedGroups) Recomputes the nested groups if at least one of the provided dns is a direct member of this static group i.e.ModifierConstructorDescriptionDynamicGroup
(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
-
Uses of Dn in org.opends.server.monitors
Modifier and TypeMethodDescriptionLocalBackendMonitor.BaseDnMonitorData.baseDn()
Returns the value of thebaseDn
record component.protected Dn
HealthStatusMonitorProvider.computeMonitorInstanceDn()
protected Dn
JvmMonitorProvider.computeMonitorInstanceDn()
protected final Dn
LocalBackendMonitor.computeMonitorInstanceDn()
LocalBackendMonitor.BaseDnMonitorData.monitorInstanceDn()
Returns the DN exposed by the corresponding monitor object.Modifier and TypeMethodDescriptionLocalBackendMonitor.getBaseDnMonitorData
(Dn baseDn) Returns a new BaseDnMonitorData instance that will use the provided base DN.ModifierConstructorDescriptionBaseDnMonitorData
(String backendType, String backendId, Dn baseDn) Creates an instance of aBaseDnMonitorData
record class. -
Uses of Dn in org.opends.server.plugins
Modifier and TypeMethodDescriptionReferentialIntegrityPlugin.processSubordinateDelete
(DeleteOperation deleteOperation, Dn entryDn, boolean isCommitted) ReferentialIntegrityPlugin.processSubordinateModifyDN
(SubordinateModifyDNOperation modifyDNOperation, Dn oldEntryDn, Dn newEntryDn) -
Uses of Dn in org.opends.server.protocols
-
Uses of Dn in org.opends.server.protocols.http
-
Uses of Dn in org.opends.server.protocols.http.authz
ModifierConstructorDescriptionHttpAuthorizationMechanism
(Dn configDN, int priority) Create a newHttpAuthorizationMechanism
. -
Uses of Dn in org.opends.server.protocols.jmx
Modifier and TypeMethodDescriptionJmxConnectionHandler.getComponentEntryDN()
Retrieves the DN of the configuration entry with which this alert generator is associated.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.ModifierConstructorDescriptionJMXMBean
(Dn monitorEntryDN, ServerContext serverContext) Creates a new dynamic JMX MBean for use with the Directory Server. -
Uses of Dn in org.opends.server.protocols.ldap
-
Uses of Dn in org.opends.server.replication.common
Modifier and TypeMethodDescriptionMultiDomainServerState.getSnapshot()
Returns a snapshot of this object.MultiDomainServerState.iterator()
Modifier and TypeMethodDescriptionvoid
Topology.addLocalReplicationDomain
(ReplicaId replicaId, Dn baseDn) Adds a replication domain to the local server in the topology.void
Topology.applyTopologyMessage
(TopologyMsg topologyMsg, 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
Test if this object covers the provided CSN for the provided baseDN.Returns the CSN associated to the provided replication domain's baseDN and replicaId.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.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.boolean
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
Modifier and TypeMethodDescriptionstatic Collection<Dn>
MultimasterReplication.getDomainDns()
Returns the DNs of the replication domains.Modifier and TypeMethodDescriptionvoid
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.EntryHistoricalAttribute.getEntryHistoricalForRead
(Dn dn) Returns the historical information associated with this attribute, computing it if needed.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
Modifier and TypeMethodDescriptionInitializeRequestMsg.getBaseDN()
Get the base DN from this InitializeRequestMsg.InitializeTargetMsg.getBaseDN()
Get the base DN of the domain.ReplServerStartDSMsg.getBaseDN()
Get the base DN from this ReplServerStartDSMsg.ReplServerStartMsg.getBaseDN()
Get the base DN from this ReplServerStartMsg.ServerStartMsg.getBaseDN()
Get the baseDN.LDAPUpdateMsg.getDN()
Get the DN on which the operation happened.ModifyDNMsg.getNewSuperior()
Get the new superior.ByteArrayScanner.nextDn()
Reads the next DN.Modifier and TypeMethodDescriptionAppend a DN to this ByteArrayBuilder by converting it to a String then encoding that string to a UTF-8 byte array.AddMsg.createRequest
(Dn newDN) DeleteMsg.createRequest
(Dn newDN) abstract ChangeRecord
LDAPUpdateMsg.createRequest
(Dn newDN) Create a request from this message using the provided DN.ModifyDNMsg.createRequest
(Dn newDN) ModifyMsg.createRequest
(Dn newDN) void
Set the DN.void
ModifyDNMsg.setNewSuperior
(Dn newSuperior) Set the new superior.ModifierConstructorDescriptionAddMsg
(CSN csn, Dn dn, UUID entryUuid, UUID parentEntryUuid, byte[] encodedAttributes, byte[] encodedEclIncludes) Creates a new AddMessage.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.Creates a new Modify message using the provided information.Creates a new Modify message using the provided information.ReplServerStartDSMsg
(ReplicationServerId rsId, com.forgerock.opendj.util.HostPort changelogEndpoint, Dn baseDN, ServerState serverState, GenerationId generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId, int weight, int connectedDSNumber) Create a ReplServerStartDSMsg.ReplServerStartMsg
(ReplicationServerId rsId, com.forgerock.opendj.util.HostPort changelogEndpoint, Dn baseDN, ServerState serverState, GenerationId generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId) Create a ReplServerStartMsg.ServerStartMsg
(ReplicaId replicaId, com.forgerock.opendj.util.HostPort adminEndpoint, Dn baseDN, long heartbeatInterval, ServerState serverState, GenerationId generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId) Creates a new ServerStartMsg. -
Uses of Dn in org.opends.server.replication.server
Modifier and TypeMethodDescriptionprotected Dn
ReplicationServerDomain.computeMonitorInstanceDn()
ReplicationServerDomain.getBaseDN()
Get the baseDN.Modifier and TypeMethodDescriptionChangelogState.domainToGenerationId()
Returns the value of thedomainToGenerationId
record component.ReplicationServer.getExcludedChangelogDomains()
Returns the domain base DNs which are disabled for the external changelog (ECL).Modifier and TypeMethodDescriptionReplicationServer.getOrCreateReplicationServerDomain
(Dn baseDN) Get the ReplicationServerDomain associated to the base DN given in parameter.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.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.removeDomain
(Dn baseDn) Returns a new changelog state where supplied replication domain has been removed.ChangelogState.setDomainGenerationId
(Dn baseDn, GenerationId generationId) Returns a new changelog state with the generationId associated to the supplied replication domain.Modifier and TypeMethodDescriptionvoid
ReplicationServer.validateCookie
(MultiDomainServerState cookie, Set<Dn> ignoredBaseDNs) Validate that provided cookie is coherent with this replication server, when ignoring the provided set of DNs.ModifierConstructorDescriptionChangelogState
(Map<Dn, GenerationId> domainToGenerationId, Set<DomainReplicaId> replicas, Set<DomainReplicaId> purgedReplicasNotProperlyStopped) Builds a changelog state. -
Uses of Dn in org.opends.server.replication.server.changelog.api
Modifier and TypeMethodDescriptionDomainReplicaId.baseDn()
Returns the value of thebaseDn
record component.UpdateRecord.baseDn()
Returns the value of thebaseDn
record component.ChangeNumberIndexRecord.getBaseDN()
Getter for the baseDN field.Modifier and TypeMethodDescriptionReplicationDomainDB.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.ReplicationDomainDB.getDomainNewestCSNs
(Dn baseDN) Returns the newestCSN
s from the replicaDBs for each replica id in the specified replication domain.ReplicationDomainDB.getDomainOldestCSNs
(Dn baseDN) Returns the oldestCSN
s from the replicaDBs for each replica id in the specified replication domain.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.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
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.Modifier and TypeMethodDescriptionReplicationDomainDB.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.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.ModifierConstructorDescriptionChangeNumberIndexRecord
(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.DomainReplicaId
(Dn baseDn, ReplicaId replicaId) Creates an instance of aDomainReplicaId
record class.UpdateRecord
(Dn baseDn, UpdateMsg updateMsg) Creates an instance of aUpdateRecord
record class. -
Uses of Dn in org.opends.server.replication.server.changelog.file
Modifier and TypeMethodDescriptionprotected Dn
FileChangelogDB.computeMonitorInstanceDn()
ReplicationEnvironment.DomainState.domainDn()
Returns the value of thedomainDn
record component.DomainDBCursor.getBaseDN()
Returns the replication domain baseDN of this cursor.Modifier and TypeMethodDescriptionvoid
MultiDomainDBCursor.addDomain
(Dn baseDN, ServerState startAfterState) Adds a replication domain for this cursor to iterate over.void
ReplicationEnvironment.clearDomainStateAndWriteGenId
(Dn domainDn, GenerationId generationId) Clears the domain state of the provided domain DN, and rewrite its generation id file with the provided generation id.FileChangelogDB.getCursorFrom
(Dn baseDN, ServerState startState, DBCursor.CursorOptions options) FileChangelogDB.getDomainNewestCSNs
(Dn baseDN) FileChangelogDB.getDomainOldestCSNs
(Dn baseDN) FileChangelogDB.getPublisherForDomain
(String name, Dn baseDn, ServerState startState, ServerState endState) 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) Modifier and TypeMethodDescriptionFileChangelogDB.getCursorFrom
(MultiDomainServerState startState, DBCursor.CursorOptions options, Set<Dn> excludedDomainDns) FileChangelogDB.getPublisherFromCookie
(String name, MultiDomainServerState cookie, Set<Dn> excludedDomains) ModifierConstructorDescriptionDomainDBCursor
(Dn baseDN, ReplicationDomainDB domainDB, DBCursor.CursorOptions options) Builds a DomainDBCursor instance.DomainState
(Dn domainDn, String domainId, ServerState lastUpdates, ServerState lastMsgs) Creates an instance of aDomainState
record class.ModifierConstructorDescriptionChangeNumberIndexer
(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
-
Uses of Dn in org.opends.server.tasks
Modifier and TypeMethodDescriptionImportExportParams.getExcludeBranches()
Returns the exclude branches.ImportExportParams.getIncludeBranches()
Returns the include branches. -
Uses of Dn in org.opends.server.tools
Modifier and TypeMethodDescriptionBackendToolUtils.getBaseDn
(BackendCfgClient backendCfgClient) Gets the base DNs from the provided backend configuration.BackendToolUtils.getBaseDn
(BackendCfg backendCfg) Gets the base DNs from the provided backend configuration. -
Uses of Dn in org.opends.server.tools.dsbackup
-
Uses of Dn in org.opends.server.tools.tasks
-
Uses of Dn in org.opends.server.types
Modifier and TypeMethodDescriptionstatic Dn
Entries.findMatchedDn
(Dn dn, Predicate<Dn> backendContains) Returns the matched DN that is available in the backend for the provided DN.static Dn
Entries.findMatchedDn
(Dn dn, Predicate<Dn> backendContains, BackendConfigManager backendConfigManager) Returns the matched DN that is available in the backend for the provided DN.static Dn
Entries.findMatchedDN
(Dn entryDN, ServerContext serverContext) Finds the matched DN associated with the provided entry DN.AuthenticationInfo.getAuthenticationDN()
Retrieves the DN of the user as whom the client is authenticated.AuthenticationInfo.getAuthorizationDN()
Retrieves the DN for the user that should be used as the default authorization identity.final Dn
Operation.getAuthorizationDN()
Retrieves the authorization DN for this operation.SubEntry.getDN()
Retrieves the distinguished name for this subentry.SubEntry.getInheritFromBaseDN()
Getter to retrieve inheritFromBaseRDN DN for inherited collective attribute subentry.final Dn
Operation.getMatchedDN()
CompactEntry.getName()
LDAPURL.getName()
Retrieves the processed DN for this LDAP URL.SizedEntry.getName()
Returns the DN of entry.final Dn
Operation.getProxiedAuthorizationDN()
Retrieves the proxied authorization DN for this operation if proxied authorization has been requested.AccountStatusNotification.getUserDN()
Retrieves the DN of the user entry to which this notification applies.Modifier and TypeMethodDescriptionVirtualAttributeRule.getBaseDNs()
Retrieves the set of base DNs for branches that are eligible to have this virtual attribute.VirtualAttributeRule.getGroupDNs()
Retrieves the set of DNs for groups whose members are eligible to have this virtual attribute.LDIFExportConfig.getIncludeBranches()
Retrieves the set of base DNs that specify the set of entries to include in the export.Modifier and TypeMethodDescriptionprotected void
Operation.checkIfBackendIsWritable
(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
Entries.findMatchedDn
(Dn dn, Predicate<Dn> backendContains) Returns the matched DN that is available in the backend for the provided DN.static Dn
Entries.findMatchedDn
(Dn dn, Predicate<Dn> backendContains, BackendConfigManager backendConfigManager) Returns the matched DN that is available in the backend for the provided DN.static Dn
Entries.findMatchedDN
(Dn entryDN, ServerContext serverContext) Finds the matched DN associated with the provided entry DN.LDIFImportConfig.includeEntry
(Dn dn) Indicates whether to include the entry with the specified DN in the import.protected final void
Operation.removeAllDisallowedControls
(Dn targetDN) Removes all the disallowed request controls from this operation.static CompactEntry
CompactEntry.renamedShallowCopyOf
(CompactEntry entry, Dn newName) Returns a shallow copy of a compact entry having the provided new name.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.final void
Operation.setMatchedDN
(Dn matchedDN) Specifies the matched DN for this operation.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.tryReadLockEntry
(Dn entryDn) Acquires the read lock for the specified entry DN.LockManager.tryWriteLockEntry
(Dn entryDn) Acquires the write lock for the specified entry DN.LockManager.tryWriteLockSubtree
(Dn subtreeDn) Acquires the write lock for the specified subtree DN.Modifier and TypeMethodDescriptionstatic Dn
Entries.findMatchedDn
(Dn dn, Predicate<Dn> backendContains) Returns the matched DN that is available in the backend for the provided DN.static Dn
Entries.findMatchedDn
(Dn dn, Predicate<Dn> backendContains, BackendConfigManager backendConfigManager) Returns the matched DN that is available in the backend for the provided DN.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.ModifierConstructorDescriptionVirtualAttributeRule
(AttributeType attributeType, VirtualAttributeProvider<? extends VirtualAttributeCfg> provider, Set<Dn> baseDNs, SearchScope scope, Set<Dn> groupDNs, Set<Filter> anyFilter, VirtualAttributeCfgDefn.ConflictBehavior conflictBehavior, ServerContext serverContext) Creates a new virtual attribute rule with the provided information. -
Uses of Dn in org.opends.server.types.operation
Modifier and TypeMethodDescriptionInProgressOperation.getAuthorizationDN()
Retrieves the authorization DN for this operation.PostCommitOperation.getAuthorizationDN()
Retrieves the authorization DN for this operation.PostOperationOperation.getAuthorizationDN()
Retrieves the authorization DN for this operation.PostResponseOperation.getAuthorizationDN()
Retrieves the authorization DN for this operation.PostSynchronizationOperation.getAuthorizationDN()
Retrieves the authorization DN for this operation.PreOperationOperation.getAuthorizationDN()
Retrieves the authorization DN for this operation.InProgressSearchOperation.getBaseDN()
Retrieves the base DN for this search operation.PostOperationSearchOperation.getBaseDN()
Retrieves the base DN for this search operation.PostResponseSearchOperation.getBaseDN()
Retrieves the base DN for this search operation.PreOperationSearchOperation.getBaseDN()
Retrieves the base DN for this search operation.PreParseSearchOperation.getBaseDN()
Retrieves the base DN as included in the request from the client.PostOperationBindOperation.getBindDN()
Retrieves the bind DN for this bind operation.PostResponseBindOperation.getBindDN()
Retrieves the bind DN for this bind operation.PreOperationBindOperation.getBindDN()
Retrieves the bind DN for this bind operation.PreParseBindOperation.getBindDN()
Retrieves the bind DN for this bind operation as contained in the client request.PostCommitAddOperation.getEntryDN()
Retrieves the DN of the entry to add.PostCommitDeleteOperation.getEntryDN()
Retrieves the DN of the entry to delete.PostCommitModifyDNOperation.getEntryDN()
Retrieves the DN of the entry to rename.PostCommitModifyOperation.getEntryDN()
Retrieves the DN of the entry to modify.PostOperationAddOperation.getEntryDN()
Retrieves the DN of the entry to add.PostOperationCompareOperation.getEntryDN()
Retrieves the DN of the entry to compare.PostOperationDeleteOperation.getEntryDN()
Retrieves the DN of the entry to delete.PostOperationModifyDNOperation.getEntryDN()
Retrieves the DN of the entry to rename.PostOperationModifyOperation.getEntryDN()
Retrieves the DN of the entry to modify.PostResponseAddOperation.getEntryDN()
Retrieves the DN of the entry to add.PostResponseCompareOperation.getEntryDN()
Retrieves the DN of the entry to compare.PostResponseDeleteOperation.getEntryDN()
Retrieves the DN of the entry to delete.PostResponseModifyDNOperation.getEntryDN()
Retrieves the DN of the entry to rename.PostResponseModifyOperation.getEntryDN()
Retrieves the DN of the entry to modify.PostSynchronizationAddOperation.getEntryDN()
Retrieves the DN of the entry to add.PostSynchronizationDeleteOperation.getEntryDN()
Retrieves the DN of the entry to delete.PostSynchronizationModifyDNOperation.getEntryDN()
Retrieves the DN of the entry to rename.PostSynchronizationModifyOperation.getEntryDN()
Retrieves the DN of the entry to modify.PreOperationAddOperation.getEntryDN()
Retrieves the DN of the entry to add.PreOperationCompareOperation.getEntryDN()
Retrieves the DN of the entry to compare.PreOperationDeleteOperation.getEntryDN()
Retrieves the DN of the entry to delete.PreOperationModifyDNOperation.getEntryDN()
Retrieves the DN of the entry to rename.PreOperationModifyOperation.getEntryDN()
Retrieves the DN of the entry to modify.PreParseAddOperation.getEntryDN()
Retrieves the DN of the entry to add.PreParseCompareOperation.getEntryDN()
Retrieves the entry DN as included in the client request.PreParseDeleteOperation.getEntryDN()
Retrieves the entry DN as included in the client request.PreParseModifyDNOperation.getEntryDN()
Retrieves the entry DN as included in the client request.PreParseModifyOperation.getEntryDN()
Retrieves the entry DN as included in the client request.SubordinateModifyDNOperation.getEntryDN()
Retrieves the DN of the entry to rename.InProgressOperation.getMatchedDN()
Retrieves the matched DN for this operation.PostCommitOperation.getMatchedDN()
Retrieves the matched DN for this operation.PostOperationOperation.getMatchedDN()
Retrieves the matched DN for this operation.PostResponseOperation.getMatchedDN()
Retrieves the matched DN for this operation.PostSynchronizationOperation.getMatchedDN()
Retrieves the matched DN for this operation.PostCommitModifyDNOperation.getNewSuperior()
Retrieves the newSuperior DN for the entry.PostOperationModifyDNOperation.getNewSuperior()
Retrieves the newSuperior DN for the entry.PostResponseModifyDNOperation.getNewSuperior()
Retrieves the newSuperior DN for the entry.PostSynchronizationModifyDNOperation.getNewSuperior()
Retrieves the newSuperior DN for the entry.PreOperationModifyDNOperation.getNewSuperior()
Retrieves the newSuperior DN for the entry.PreParseModifyDNOperation.getNewSuperior()
Retrieves the newSuperior from the client request.SubordinateModifyDNOperation.getNewSuperior()
Retrieves the newSuperior DN for the entry.PostOperationBindOperation.getUserEntryDN()
Retrieves the user entry DN for this bind operation.PostResponseBindOperation.getUserEntryDN()
Retrieves the user entry DN for this bind operation.PreOperationBindOperation.getUserEntryDN()
Retrieves the user entry DN for this bind operation.Modifier and TypeMethodDescriptionboolean
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
Specifies the base DN for this search operation.void
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
Modifier and TypeFieldDescriptionstatic final Dn
ServerConstants.DN_EXTERNAL_CHANGELOG_ROOT
The base Dn for the external change log.Modifier and TypeMethodDescriptionprotected Dn
LDIFReader.readDN
(LinkedList<StringBuilder> lines) Reads the DN of the entry from the provided list of lines.Modifier and TypeMethodDescriptionprotected 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.Modifier and TypeMethodDescriptionstatic 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.
emptyDn()
instead