Uses of Class
org.forgerock.opendj.ldap.LdapException
Package
Description
Common administration classes.
Common client-side administration classes.
Client side driver implementation interfaces.
Logical conditions for defining constraints.
Classes and interfaces for core types including connections, entries, and
attributes.
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.
Provides client-side interfaces for querying and managing the Core
directory server administrative components.
Classes implementing core server APIs.
Contains a number of API declarations for use throughout the Directory Server.
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.
Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.
Classes related to backup and restore.
Contains code used to interact with the Directory Server configuration.
Contains various classes that comprise the core of the Directory Server codebase.
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
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 for the Replication Server part of the Multimaster replication feature.
This package contains the generic of the Multi-Master replication code that works on the Directory Server side.
Contains implementations of various Directory Server schema elements.
Contains implementations for various Directory Server tasks.
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 LdapException in org.forgerock.opendj.config
Modifier and TypeMethodDescriptionvoid
ConfigurationClient.commit()
If this is a new configuration this method will attempt to add it to the server, otherwise it will commit any changes made to this configuration. -
Uses of LdapException in org.forgerock.opendj.config.client
Modifier and TypeMethodDescriptionvoid
ManagedObject.commit()
Adds this managed object to the server or commits any changes made to it depending on whether the managed object already exists on the server.final <C extends ConfigurationClient,
S extends Configuration>
booleanDriverBasedManagementContext.deleteManagedObject
(ManagedObjectPath<?, ?> parent, InstantiableRelationDefinition<C, S> rd, String name) final <C extends ConfigurationClient,
S extends Configuration>
booleanDriverBasedManagementContext.deleteManagedObject
(ManagedObjectPath<?, ?> parent, OptionalRelationDefinition<C, S> rd) final <C extends ConfigurationClient,
S extends Configuration>
booleanDriverBasedManagementContext.deleteManagedObject
(ManagedObjectPath<?, ?> parent, SetRelationDefinition<C, S> rd, String name) <C extends ConfigurationClient,
S extends Configuration>
booleanManagementContext.deleteManagedObject
(ManagedObjectPath<?, ?> parent, InstantiableRelationDefinition<C, S> rd, String name) Deletes the named instantiable child managed object from the named parent managed object.<C extends ConfigurationClient,
S extends Configuration>
booleanManagementContext.deleteManagedObject
(ManagedObjectPath<?, ?> parent, OptionalRelationDefinition<C, S> rd) Deletes the optional child managed object from the named parent managed object.<C extends ConfigurationClient,
S extends Configuration>
booleanManagementContext.deleteManagedObject
(ManagedObjectPath<?, ?> parent, SetRelationDefinition<C, S> rd, String name) Deletes s set child managed object from the named parent managed object.<C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>ManagedObject.getChild
(InstantiableRelationDefinition<C, S> r, String name) Retrieves an instantiable child managed object.<C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>ManagedObject.getChild
(OptionalRelationDefinition<C, S> r) Retrieves an optional child managed object.<C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>ManagedObject.getChild
(SetRelationDefinition<C, S> r, String name) Retrieves a set child managed object.<C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>ManagedObject.getChild
(SingletonRelationDefinition<C, S> r) Retrieves a singleton child managed object.final <C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>DriverBasedManagementContext.getManagedObject
(ManagedObjectPath<C, S> path) <C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>ManagementContext.getManagedObject
(ManagedObjectPath<C, S> path) Gets the named managed object.final <P> ValueOrExpression<P>
DriverBasedManagementContext.getPropertyValue
(ManagedObjectPath<?, ?> path, PropertyDefinition<P> pd) <P> ValueOrExpression<P>
ManagementContext.getPropertyValue
(ManagedObjectPath<?, ?> path, PropertyDefinition<P> pd) Gets the effective value of a property in the named managed object.final <P> SortedSet<ValueOrExpression<P>>
DriverBasedManagementContext.getPropertyValues
(ManagedObjectPath<?, ?> path, PropertyDefinition<P> pd) <P> SortedSet<ValueOrExpression<P>>
ManagementContext.getPropertyValues
(ManagedObjectPath<?, ?> path, PropertyDefinition<P> pd) Gets the effective values of a property in the named managed object.<C extends ConfigurationClient,
S extends Configuration>
booleanManagedObject.hasChild
(OptionalRelationDefinition<C, S> r) Determines whether the optional managed object associated with the specified optional relations exists.boolean
ClientConstraintHandler.isAddAcceptable
(ManagementContext context, ManagedObject<?> managedObject, Collection<LocalizableMessage> unacceptableReasons) Determines whether the newly created managed object which is about to be added to the server configuration satisfies this constraint.boolean
ClientConstraintHandler.isDeleteAcceptable
(ManagementContext context, ManagedObjectPath<?, ?> path, Collection<LocalizableMessage> unacceptableReasons) Determines whether the existing managed object which is about to be deleted from the server configuration satisfies this constraint.boolean
ClientConstraintHandler.isModifyAcceptable
(ManagementContext context, ManagedObject<?> managedObject, Collection<LocalizableMessage> unacceptableReasons) Determines whether the changes to an existing managed object which are about to be committed to the server configuration satisfies this constraint.<C extends ConfigurationClient,
S extends Configuration>
String[]ManagedObject.listChildren
(InstantiableRelationDefinition<C, S> r) Lists the child managed objects associated with the specified instantiable relation.<C extends ConfigurationClient,
S extends Configuration>
String[]ManagedObject.listChildren
(InstantiableRelationDefinition<C, S> r, AbstractManagedObjectDefinition<? extends C, ? extends S> d) Lists the child managed objects associated with the specified instantiable relation which are a sub-type of the specified managed object definition.<C extends ConfigurationClient,
S extends Configuration>
String[]ManagedObject.listChildren
(SetRelationDefinition<C, S> r) Lists the child managed objects associated with the specified set relation.<C extends ConfigurationClient,
S extends Configuration>
String[]ManagedObject.listChildren
(SetRelationDefinition<C, S> r, AbstractManagedObjectDefinition<? extends C, ? extends S> d) Lists the child managed objects associated with the specified set relation which are a sub-type of the specified managed object definition.final <C extends ConfigurationClient,
S extends Configuration>
String[]DriverBasedManagementContext.listManagedObjects
(ManagedObjectPath<?, ?> parent, InstantiableRelationDefinition<C, S> rd) final <C extends ConfigurationClient,
S extends Configuration>
String[]DriverBasedManagementContext.listManagedObjects
(ManagedObjectPath<?, ?> parent, InstantiableRelationDefinition<C, S> rd, AbstractManagedObjectDefinition<? extends C, ? extends S> d) final <C extends ConfigurationClient,
S extends Configuration>
String[]DriverBasedManagementContext.listManagedObjects
(ManagedObjectPath<?, ?> parent, SetRelationDefinition<C, S> rd) <C extends ConfigurationClient,
S extends Configuration>
String[]ManagementContext.listManagedObjects
(ManagedObjectPath<?, ?> parent, InstantiableRelationDefinition<C, S> rd) Lists the child managed objects of the named parent managed object.<C extends ConfigurationClient,
S extends Configuration>
String[]ManagementContext.listManagedObjects
(ManagedObjectPath<?, ?> parent, InstantiableRelationDefinition<C, S> rd, AbstractManagedObjectDefinition<? extends C, ? extends S> d) Lists the child managed objects of the named parent managed object which are a sub-type of the specified managed object definition.<C extends ConfigurationClient,
S extends Configuration>
String[]ManagementContext.listManagedObjects
(ManagedObjectPath<?, ?> parent, SetRelationDefinition<C, S> rd) Lists the child managed objects of the named parent managed object.final boolean
DriverBasedManagementContext.managedObjectExists
(ManagedObjectPath<?, ?> path) boolean
ManagementContext.managedObjectExists
(ManagedObjectPath<?, ?> path) Determines whether the named managed object exists.<C extends ConfigurationClient,
S extends Configuration>
voidManagedObject.removeChild
(InstantiableRelationDefinition<C, S> r, String name) Removes the named instantiable child managed object.<C extends ConfigurationClient,
S extends Configuration>
voidManagedObject.removeChild
(OptionalRelationDefinition<C, S> r) Removes an optional child managed object.<C extends ConfigurationClient,
S extends Configuration>
voidManagedObject.removeChild
(SetRelationDefinition<C, S> r, String name) Removes s set child managed object. -
Uses of LdapException in org.forgerock.opendj.config.client.spi
Modifier and TypeMethodDescriptionprotected abstract void
AbstractManagedObject.addNewManagedObject()
Adds this new managed object.final void
AbstractManagedObject.commit()
final <C extends ConfigurationClient,
S extends Configuration>
booleanDriver.deleteManagedObject
(ManagedObjectPath<?, ?> parent, InstantiableRelationDefinition<C, S> rd, String name) Deletes the named instantiable child managed object from the named parent managed object.final <C extends ConfigurationClient,
S extends Configuration>
booleanDriver.deleteManagedObject
(ManagedObjectPath<?, ?> parent, OptionalRelationDefinition<C, S> rd) Deletes the optional child managed object from the named parent managed object.final <C extends ConfigurationClient,
S extends Configuration>
booleanDriver.deleteManagedObject
(ManagedObjectPath<?, ?> parent, SetRelationDefinition<C, S> rd, String name) Deletes the named instantiable child managed object from the named parent managed object.protected abstract <C extends ConfigurationClient,
S extends Configuration>
voidDriver.deleteManagedObject
(ManagedObjectPath<C, S> path) Deletes the named managed object.final <C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>AbstractManagedObject.getChild
(InstantiableRelationDefinition<C, S> r, String name) final <C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>AbstractManagedObject.getChild
(OptionalRelationDefinition<C, S> r) final <C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>AbstractManagedObject.getChild
(SetRelationDefinition<C, S> r, String name) final <C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>AbstractManagedObject.getChild
(SingletonRelationDefinition<C, S> r) abstract <C extends ConfigurationClient,
S extends Configuration>
ManagedObject<? extends C>Driver.getManagedObject
(ManagedObjectPath<C, S> path) Gets the named managed object.abstract <C extends ConfigurationClient,
S extends Configuration, P>
SortedSet<ValueOrExpression<P>>Driver.getPropertyValues
(ManagedObjectPath<C, S> path, PropertyDefinition<P> pd) Gets the effective values of a property in the named managed object.final <C extends ConfigurationClient,
S extends Configuration>
booleanAbstractManagedObject.hasChild
(OptionalRelationDefinition<C, S> r) final <C extends ConfigurationClient,
S extends Configuration>
String[]AbstractManagedObject.listChildren
(InstantiableRelationDefinition<C, S> r) final <C extends ConfigurationClient,
S extends Configuration>
String[]AbstractManagedObject.listChildren
(InstantiableRelationDefinition<C, S> r, AbstractManagedObjectDefinition<? extends C, ? extends S> d) final <C extends ConfigurationClient,
S extends Configuration>
String[]AbstractManagedObject.listChildren
(SetRelationDefinition<C, S> r) final <C extends ConfigurationClient,
S extends Configuration>
String[]AbstractManagedObject.listChildren
(SetRelationDefinition<C, S> r, AbstractManagedObjectDefinition<? extends C, ? extends S> d) abstract <C extends ConfigurationClient,
S extends Configuration>
String[]Driver.listManagedObjects
(ManagedObjectPath<?, ?> parent, InstantiableRelationDefinition<C, S> rd, AbstractManagedObjectDefinition<? extends C, ? extends S> d) Lists the child managed objects of the named parent managed object which are a sub-type of the specified managed object definition.abstract <C extends ConfigurationClient,
S extends Configuration>
String[]Driver.listManagedObjects
(ManagedObjectPath<?, ?> parent, SetRelationDefinition<C, S> rd, AbstractManagedObjectDefinition<? extends C, ? extends S> d) Lists the child managed objects of the named parent managed object which are a sub-type of the specified managed object definition.abstract boolean
Driver.managedObjectExists
(ManagedObjectPath<?, ?> path) Determines whether the named managed object exists.protected abstract void
AbstractManagedObject.modifyExistingManagedObject()
Applies changes made to this managed object.final <C extends ConfigurationClient,
S extends Configuration>
voidAbstractManagedObject.removeChild
(InstantiableRelationDefinition<C, S> r, String name) final <C extends ConfigurationClient,
S extends Configuration>
voidAbstractManagedObject.removeChild
(OptionalRelationDefinition<C, S> r) final <C extends ConfigurationClient,
S extends Configuration>
voidAbstractManagedObject.removeChild
(SetRelationDefinition<C, S> r, String name) -
Uses of LdapException in org.forgerock.opendj.config.conditions
Modifier and TypeMethodDescriptionboolean
Condition.evaluate
(ManagementContext context, ManagedObject<?> managedObject) Evaluates this condition against the provided client managed object.boolean
NotCondition.evaluate
(ManagementContext context, ManagedObject<?> managedObject) boolean
OrCondition.evaluate
(ManagementContext context, ManagedObject<?> managedObject) -
Uses of LdapException in org.forgerock.opendj.ldap
Modifier and TypeClassDescriptionfinal class
Thrown when the result code returned in a Result indicates that the Request failed because the filter contained in an assertion control failed to match the target entry.final class
Thrown when the result code returned in a Result indicates that the Bind Request failed due to an authentication failure.final class
Thrown when the result code returned in a Result indicates that the Request failed due to an authorization failure.final class
Thrown when the result code returned in a Result indicates that the Request was cancelled.final class
Thrown when the result code returned in a Result indicates that the Request was unsuccessful because of a connection failure.final class
Thrown when the result code returned in a Result indicates that the update Request failed because it would have left the Directory in an inconsistent state.class
Thrown when the result code returned in a Result indicates that the Request failed because the target entry was not found by the Directory Server.final class
Thrown when the result code returned in a Result indicates that the requested single entry search operation or read operation failed because the Directory Server returned multiple matching entries (or search references) when only a single matching entry was expected.final class
Thrown when the result code returned in a Result indicates that the Request could not be processed by the Directory Server because the target entry is located on another server.final class
Thrown when the result code returned in a Result indicates that the Request was aborted because it did not complete in the required time out period.Modifier and TypeMethodDescriptionstatic LdapException
LdapException.newLdapClientException
(Throwable cause) Creates a new LDAP client exception with the provided cause and a result code depending on the class cause originalcause
.static LdapException
LdapException.newLdapException
(Throwable cause) Creates a new LDAP exception with the provided cause and a result code depending on the class cause originalcause
.static LdapException
LdapException.newLdapException
(Result result) Creates a new LDAP exception using the provided result.static LdapException
LdapException.newLdapException
(ResultCode resultCode) Creates a new LDAP exception with the provided result code and an empty diagnostic message.static LdapException
LdapException.newLdapException
(ResultCode resultCode, CharSequence diagnosticMessage) Creates a new LDAP exception with the provided result code and diagnostic message.static LdapException
LdapException.newLdapException
(ResultCode resultCode, CharSequence diagnosticMessage, Throwable cause) Creates a new LDAP exception with the provided result code, diagnostic message, and cause.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 LdapException
LdapException.newLdapException
(ResultCode resultCode, Throwable cause) Creates a new LDAP exception with the provided result code and cause.Modifier and TypeMethodDescriptionConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the Directory Server associated with this connection factory.LdapConnectionFactory.getConnectionAsync()
Modifier and TypeMethodDescriptionvoid
ConnectionEventListener.handleConnectionError
(boolean isDisconnectNotification, LdapException error) Notifies this connection event listener that a fatal error has occurred and the connection can no longer be used - the server has crashed, for example.void
LdapResultHandler.handleException
(LdapException exception) Invoked when the asynchronous operation has failed.void
LoadBalancerEventListener.handleLdapClientOffline
(LdapClient client, LdapException error) Invoked when the load-balancer is unable to obtain a connection from the specified LDAP client.Modifier and TypeMethodDescription<VOUT> LdapPromise<VOUT>
LdapPromise.then
(Function<? super S, VOUT, LdapException> onResult) <VOUT> LdapPromise<VOUT>
LdapPromise.thenAsync
(AsyncFunction<? super S, VOUT, LdapException> onResult) LdapPromise.thenOnException
(ExceptionHandler<? super LdapException> onException) LdapPromise.thenOnResultOrException
(ResultHandler<? super S> onResult, ExceptionHandler<? super LdapException> onException) Modifier and TypeMethodDescriptionAbstractAsynchronousConnection.add
(AddRequest request) Adds an entry to the Directory Server using the provided lines of LDIF.Adds the provided entry to the Directory Server.AbstractConnectionWrapper.add
(AddRequest request) Adds an entry to the Directory Server using the provided add request.Adds an entry to the Directory Server using the provided lines of LDIF.Adds the provided entry to the Directory Server.Connection.add
(AddRequest request) Adds an entry to the Directory Server using the provided add request.AbstractConnection.applyChange
(ChangeRecord request) AbstractConnectionWrapper.applyChange
(ChangeRecord request) Applies the provided change request to the Directory Server.Connection.applyChange
(ChangeRecord request) Applies the provided change request to the Directory Server.AbstractAsynchronousConnection.bind
(BindRequest request) Authenticates to the Directory Server using simple authentication and the provided user name and password.AbstractConnectionWrapper.bind
(BindRequest request) Authenticates to the Directory Server using the provided bind request.Authenticates to the Directory Server using simple authentication and the provided user name and password.Connection.bind
(BindRequest request) Authenticates to the Directory Server using the provided bind request.SortKey.comparator()
Returns aComparator
which can be used to compare entries using this sort key.static Comparator<Entry>
SortKey.comparator
(String sortKeys) Returns aComparator
which can be used to compare entries using the provided string representation of a list of sort keys.static Comparator<Entry>
SortKey.comparator
(Collection<SortKey> keys) Returns aComparator
which can be used to compare entries using the provided list of sort keys.SortKey.comparator
(Schema schema) Returns aComparator
which can be used to compare entries using this sort key.static Comparator<Entry>
SortKey.comparator
(Schema schema, Collection<SortKey> keys) Returns aComparator
which can be used to compare entries using the provided list of sort keys.static Comparator<Entry>
SortKey.comparator
(Schema schema, SortKey... keys) Returns aComparator
which can be used to compare entries using the provided list of sort keys.static Comparator<Entry>
SortKey.comparator
(SortKey... keys) Returns aComparator
which can be used to compare entries using the provided list of sort keys.AbstractAsynchronousConnection.compare
(CompareRequest request) Compares the named entry in the Directory Server against the provided attribute value assertion.AbstractConnectionWrapper.compare
(CompareRequest request) Compares an entry in the Directory Server using the provided compare request.Compares the named entry in the Directory Server against the provided attribute value assertion.Connection.compare
(CompareRequest request) Compares an entry in the Directory Server using the provided compare request.AbstractAsynchronousConnection.delete
(DeleteRequest request) Deletes the named entry from the Directory Server.AbstractConnectionWrapper.delete
(DeleteRequest request) Deletes an entry from the Directory Server using the provided delete request.Deletes the named entry from the Directory Server.default Result
Deletes the named entry from the Directory Server.Connection.delete
(DeleteRequest request) Deletes an entry from the Directory Server using the provided delete request.AbstractConnection.deleteSubtree
(String name) AbstractConnectionWrapper.deleteSubtree
(String name) Deletes the named entry and all of its subordinates from the Directory Server.Connection.deleteSubtree
(String name) Deletes the named entry and all of its subordinates from the Directory Server.<R extends ExtendedResult>
RAbstractAsynchronousConnection.extendedRequest
(ExtendedRequest<R> request, IntermediateResponseHandler handler) AbstractConnection.extendedRequest
(String requestName, ByteString requestValue) <R extends ExtendedResult>
RAbstractConnection.extendedRequest
(ExtendedRequest<R> request) AbstractConnectionWrapper.extendedRequest
(String requestName, ByteString requestValue) Requests that the Directory Server performs the provided extended request.<R extends ExtendedResult>
RAbstractConnectionWrapper.extendedRequest
(ExtendedRequest<R> request) Requests that the Directory Server performs the provided extended request.<R extends ExtendedResult>
RAbstractConnectionWrapper.extendedRequest
(ExtendedRequest<R> request, IntermediateResponseHandler handler) Requests that the Directory Server performs the provided extended request, optionally listening for any intermediate responses.Connection.extendedRequest
(String requestName, ByteString requestValue) Requests that the Directory Server performs the provided extended request.<R extends ExtendedResult>
RConnection.extendedRequest
(ExtendedRequest<R> request) Requests that the Directory Server performs the provided extended request.<R extends ExtendedResult>
RConnection.extendedRequest
(ExtendedRequest<R> request, IntermediateResponseHandler handler) Requests that the Directory Server performs the provided extended request, optionally listening for any intermediate responses.ConnectionFactory.getConnection()
Returns a connection to the Directory Server associated with this connection factory.LdapConnectionFactory.getConnection()
AbstractAsynchronousConnection.modify
(ModifyRequest request) Modifies an entry in the Directory Server using the provided lines of LDIF.AbstractConnectionWrapper.modify
(ModifyRequest request) Modifies an entry in the Directory Server using the provided modify request.Modifies an entry in the Directory Server using the provided lines of LDIF.Connection.modify
(ModifyRequest request) Modifies an entry in the Directory Server using the provided modify request.AbstractAsynchronousConnection.modifyDn
(ModifyDnRequest request) Renames the named entry in the Directory Server using the provided new RDN.AbstractConnectionWrapper.modifyDn
(ModifyDnRequest request) Renames an entry in the Directory Server using the provided modify DN request.Renames the named entry in the Directory Server using the provided new RDN.Connection.modifyDn
(ModifyDnRequest request) Renames an entry in the Directory Server using the provided modify DN request.static Entry
Entries.modifyEntry
(Entry entry, ModifyRequest changes) Applies the provided modification request to an entry.static Entry
Entries.modifyEntry
(Entry entry, Modification change) Applies the provided modification to an entry.static Entry
Entries.modifyEntry
(Entry entry, Modification change, Collection<? super ByteString> conflictingValues) Applies the provided modification to an entry.static Entry
Entries.modifyEntryPermissive
(Entry entry, Collection<Modification> changes) Applies the provided modifications to an entry using "permissive" modify semantics.static Entry
Entries.modifyEntryStrict
(Entry entry, Collection<Modification> changes) Applies the provided modifications to an entry using "strict" modify semantics.Reads the named entry from the Directory Server.Reads the named entry from the Directory Server.Reads the named entry from the Directory Server.Reads the named entry from the Directory Server.static RootDse
RootDse.readRootDse
(Connection connection) Reads the Root DSE from the Directory Server using the provided connection.AbstractAsynchronousConnection.search
(SearchRequest request, SearchResultHandler handler) AbstractConnection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) AbstractConnection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) AbstractConnectionWrapper.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) Searches the Directory Server using the provided search request.AbstractConnectionWrapper.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) Searches the Directory Server using the provided search request.AbstractConnectionWrapper.search
(SearchRequest request, SearchResultHandler handler) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request, SearchResultHandler handler) Searches the Directory Server using the provided search request.AbstractConnection.searchSingleEntry
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) AbstractConnection.searchSingleEntry
(SearchRequest request) AbstractConnectionWrapper.searchSingleEntry
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) Searches the Directory Server for a single entry using the provided search parameters.AbstractConnectionWrapper.searchSingleEntry
(SearchRequest request) Searches the Directory Server for a single entry using the provided search request.Connection.searchSingleEntry
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) Searches the Directory Server for a single entry using the provided search parameters.Connection.searchSingleEntry
(SearchRequest request) Searches the Directory Server for a single entry using the provided search request.static SubtreeSpecification
Parses the string argument as an RFC3672 subtree specification. -
Uses of LdapException in org.forgerock.opendj.ldap.messages
Modifier and TypeMethodDescriptionInvalidRequest.getReason()
Returns the reason why this request is invalid.Modifier and TypeMethodDescriptionstatic InvalidRequest
Requests.newInvalidRequest
(Request.RequestType invalidRequestType, String invalidRawDn, LdapException reason) Creates a new invalid request using the provided reason. -
Uses of LdapException 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 TypeMethodDescriptionSchemaValidationPolicy.checkDitStructureRules
(SchemaValidationPolicy.Action policy, Function<Dn, Entry, LdapException> parentEntryResolver) Specifies the policy for validating entries against structure rules defined in the schema.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.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.static Schema
Schema.readSchema
(Connection connection, Dn name) 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. -
Uses of LdapException in org.forgerock.opendj.ldif
Modifier and TypeMethodDescriptionboolean
ConnectionEntryReader.hasNext()
boolean
ConnectionEntryReader.isEntry()
Waits for the next search result entry or reference to become available and returnstrue
if it is an entry, orfalse
if it is a reference.boolean
ConnectionEntryReader.isReference()
Waits for the next search result entry or reference to become available and returnstrue
if it is a reference, orfalse
if it is an entry.ConnectionEntryReader.readEntry()
Waits for the next search result entry or reference to become available and, if it is an entry, returns it as aSearchResultEntry
.ConnectionEntryReader.readReference()
Waits for the next search result entry or reference to become available and, if it is a reference, returns it as aSearchResultReference
.ConnectionEntryReader.readResult()
Waits for the next search response to become available and returns it if it is a search result indicating that the search completed successfully.ConnectionChangeRecordWriter.writeChangeRecord
(AddRequest change) Writes the provided Add request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriter.writeChangeRecord
(DeleteRequest change) Writes the provided Delete request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriter.writeChangeRecord
(ModifyDnRequest change) Writes the provided ModifyDN request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriter.writeChangeRecord
(ModifyRequest change) Writes the provided Modify request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriter.writeChangeRecord
(ChangeRecord change) Writes the provided change record to the underlying connection, blocking until the request completes.ConnectionEntryWriter.writeEntry
(Entry entry) Writes an entry to the underlying connection using an Add request, blocking until the request completes. -
Uses of LdapException in org.forgerock.opendj.server.config.client
Modifier and TypeMethodDescriptionRootCfgClient.getAccessControlHandler()
Gets the Access Control Handler if it is present.AccessLogPublisherCfgClient.getAccessLogFilteringCriteria
(String name) Gets the named Access Log Filtering Criteria.RootCfgClient.getAccountStatusNotificationHandler
(String name) Gets the named Account Status Notification Handler.RootCfgClient.getAdministrationConnector()
Gets the Administration Connector.RootCfgClient.getAlertHandler
(String name) Gets the named Alert Handler.RootCfgClient.getBackend
(String name) Gets the named Backend.PluggableBackendCfgClient.getBackendIndex
(String name) Gets the named Backend Index.PluggableBackendCfgClient.getBackendVlvIndex
(String name) Gets the named Backend Vlv Index.RootCfgClient.getCertificateMapper
(String name) Gets the named Certificate Mapper.RootCfgClient.getConnectionHandler
(String name) Gets the named Connection Handler.RootCfgClient.getCryptoManager()
Gets the Crypto Manager.RootCfgClient.getEntryCache
(String name) Gets the named Entry Cache.RootCfgClient.getExtendedOperationHandler
(String name) Gets the named Extended Operation Handler.PolicyBasedAccessControlHandlerCfgClient.getGlobalAccessControlPolicy
(String name) Gets the named Global Access Control Policy.RootCfgClient.getGlobalConfiguration()
Gets the Global Configuration.RootCfgClient.getHttpAuthorizationMechanism
(String name) Gets the named Http Authorization Mechanism.RootCfgClient.getHttpEndpoint
(String name) Gets the named Http Endpoint.RootCfgClient.getIdentityMapper
(String name) Gets the named Identity Mapper.RootCfgClient.getKeyManagerProvider
(String name) Gets the named Key Manager Provider.RootCfgClient.getLogPublisher
(String name) Gets the named Log Publisher.RootCfgClient.getLogRetentionPolicy
(String name) Gets the named Log Retention Policy.RootCfgClient.getLogRotationPolicy
(String name) Gets the named Log Rotation Policy.RootCfgClient.getMailServer
(String name) Gets the named Mail Server.RootCfgClient.getPasswordGenerator
(String name) Gets the named Password Generator.RootCfgClient.getPasswordPolicy
(String name) Gets the named Password Policy.RootCfgClient.getPasswordStorageScheme
(String name) Gets the named Password Storage Scheme.RootCfgClient.getPasswordValidator
(String name) Gets the named Password Validator.Gets the named Plugin.RootCfgClient.getPluginRoot()
Gets the Plugin Root.ReplicationSynchronizationProviderCfgClient.getReplicationDomain
(String name) Gets the named Replication Domain.ReplicationSynchronizationProviderCfgClient.getReplicationServer()
Gets the Replication Server if it is present.RootCfgClient.getRootDseBackend()
Gets the Root Dse Backend.RootCfgClient.getSaslMechanismHandler
(String name) Gets the named Sasl Mechanism Handler.RootCfgClient.getSchemaProvider
(String name) Gets the named Schema Provider.RootCfgClient.getServiceDiscoveryMechanism
(String name) Gets the named Service Discovery Mechanism.RootCfgClient.getSynchronizationProvider
(String name) Gets the named Synchronization Provider.RootCfgClient.getTrustManagerProvider
(String name) Gets the named Trust Manager Provider.RootCfgClient.getVirtualAttribute
(String name) Gets the named Virtual Attribute.RootCfgClient.getWorkQueue()
Gets the Work Queue.boolean
RootCfgClient.hasAccessControlHandler()
Determines whether the Access Control Handler exists.boolean
ReplicationSynchronizationProviderCfgClient.hasReplicationServer()
Determines whether the Replication Server exists.String[]
AccessLogPublisherCfgClient.listAccessLogFilteringCriteria()
Lists the Access Log Filtering Criteria.String[]
RootCfgClient.listAccountStatusNotificationHandlers()
Lists the Account Status Notification Handlers.String[]
RootCfgClient.listAlertHandlers()
Lists the Alert Handlers.String[]
PluggableBackendCfgClient.listBackendIndexes()
Lists the Backend Indexes.String[]
RootCfgClient.listBackends()
Lists the Backends.String[]
PluggableBackendCfgClient.listBackendVlvIndexes()
Lists the Backend Vlv Indexes.String[]
RootCfgClient.listCertificateMappers()
Lists the Certificate Mappers.String[]
RootCfgClient.listConnectionHandlers()
Lists the Connection Handlers.String[]
RootCfgClient.listEntryCaches()
Lists the Entry Caches.String[]
RootCfgClient.listExtendedOperationHandlers()
Lists the Extended Operation Handlers.String[]
PolicyBasedAccessControlHandlerCfgClient.listGlobalAccessControlPolicies()
Lists the Global Access Control Policies.String[]
RootCfgClient.listHttpAuthorizationMechanisms()
Lists the Http Authorization Mechanisms.String[]
RootCfgClient.listHttpEndpoints()
Lists the Http Endpoints.String[]
RootCfgClient.listIdentityMappers()
Lists the Identity Mappers.String[]
RootCfgClient.listKeyManagerProviders()
Lists the Key Manager Providers.String[]
RootCfgClient.listLogPublishers()
Lists the Log Publishers.String[]
RootCfgClient.listLogRetentionPolicies()
Lists the Log Retention Policies.String[]
RootCfgClient.listLogRotationPolicies()
Lists the Log Rotation Policies.String[]
RootCfgClient.listMailServers()
Lists the Mail Servers.String[]
RootCfgClient.listPasswordGenerators()
Lists the Password Generators.String[]
RootCfgClient.listPasswordPolicies()
Lists the Password Policies.String[]
RootCfgClient.listPasswordStorageSchemes()
Lists the Password Storage Schemes.String[]
RootCfgClient.listPasswordValidators()
Lists the Password Validators.String[]
PluginRootCfgClient.listPlugins()
Lists the Plugins.String[]
ReplicationSynchronizationProviderCfgClient.listReplicationDomains()
Lists the Replication Domains.String[]
RootCfgClient.listSaslMechanismHandlers()
Lists the Sasl Mechanism Handlers.String[]
RootCfgClient.listSchemaProviders()
Lists the Schema Providers.String[]
RootCfgClient.listServiceDiscoveryMechanisms()
Lists the Service Discovery Mechanisms.String[]
RootCfgClient.listSynchronizationProviders()
Lists the Synchronization Providers.String[]
RootCfgClient.listTrustManagerProviders()
Lists the Trust Manager Providers.String[]
RootCfgClient.listVirtualAttributes()
Lists the Virtual Attributes.void
RootCfgClient.removeAccessControlHandler()
Removes the Access Control Handler if it exists.void
AccessLogPublisherCfgClient.removeAccessLogFilteringCriteria
(String name) Removes the named Access Log Filtering Criteria.void
RootCfgClient.removeAccountStatusNotificationHandler
(String name) Removes the named Account Status Notification Handler.void
RootCfgClient.removeAlertHandler
(String name) Removes the named Alert Handler.void
RootCfgClient.removeBackend
(String name) Removes the named Backend.void
PluggableBackendCfgClient.removeBackendIndex
(String name) Removes the named Backend Index.void
PluggableBackendCfgClient.removeBackendVlvIndex
(String name) Removes the named Backend Vlv Index.void
RootCfgClient.removeCertificateMapper
(String name) Removes the named Certificate Mapper.void
RootCfgClient.removeConnectionHandler
(String name) Removes the named Connection Handler.void
RootCfgClient.removeEntryCache
(String name) Removes the named Entry Cache.void
RootCfgClient.removeExtendedOperationHandler
(String name) Removes the named Extended Operation Handler.void
PolicyBasedAccessControlHandlerCfgClient.removeGlobalAccessControlPolicy
(String name) Removes the named Global Access Control Policy.void
RootCfgClient.removeHttpAuthorizationMechanism
(String name) Removes the named Http Authorization Mechanism.void
RootCfgClient.removeHttpEndpoint
(String name) Removes the named Http Endpoint.void
RootCfgClient.removeIdentityMapper
(String name) Removes the named Identity Mapper.void
RootCfgClient.removeKeyManagerProvider
(String name) Removes the named Key Manager Provider.void
RootCfgClient.removeLogPublisher
(String name) Removes the named Log Publisher.void
RootCfgClient.removeLogRetentionPolicy
(String name) Removes the named Log Retention Policy.void
RootCfgClient.removeLogRotationPolicy
(String name) Removes the named Log Rotation Policy.void
RootCfgClient.removeMailServer
(String name) Removes the named Mail Server.void
RootCfgClient.removePasswordGenerator
(String name) Removes the named Password Generator.void
RootCfgClient.removePasswordPolicy
(String name) Removes the named Password Policy.void
RootCfgClient.removePasswordStorageScheme
(String name) Removes the named Password Storage Scheme.void
RootCfgClient.removePasswordValidator
(String name) Removes the named Password Validator.void
PluginRootCfgClient.removePlugin
(String name) Removes the named Plugin.void
ReplicationSynchronizationProviderCfgClient.removeReplicationDomain
(String name) Removes the named Replication Domain.void
ReplicationSynchronizationProviderCfgClient.removeReplicationServer()
Removes the Replication Server if it exists.void
RootCfgClient.removeSaslMechanismHandler
(String name) Removes the named Sasl Mechanism Handler.void
RootCfgClient.removeSchemaProvider
(String name) Removes the named Schema Provider.void
RootCfgClient.removeServiceDiscoveryMechanism
(String name) Removes the named Service Discovery Mechanism.void
RootCfgClient.removeSynchronizationProvider
(String name) Removes the named Synchronization Provider.void
RootCfgClient.removeTrustManagerProvider
(String name) Removes the named Trust Manager Provider.void
RootCfgClient.removeVirtualAttribute
(String name) Removes the named Virtual Attribute. -
Uses of LdapException in org.forgerock.opendj.server.core
Modifier and TypeMethodDescriptionvoid
Router.handleRequest()
Routes a request to the appropriate backend(s) for processing.ModifierConstructorDescriptionRouter
(ServerContext serverContext, RequestContext requestContext, Request request, Consumer<ResponseStream> out) Creates a new router. -
Uses of LdapException in org.opends.server.api
Modifier and TypeMethodDescriptionprotected static LdapException
ClientConnection.writeTimeLimitExceeded
(Duration timeout) Returns a new LdapException for max blocked write time limit exceeded.Modifier and TypeMethodDescriptionabstract void
LocalBackend.addEntry
(Entry entry, AddOperation addOperation) Adds the provided entry to this backend.boolean
AccessControlHandler.canDiscloseInformation
(Entry entry, Dn entryDN, Operation operation) Checks whether the ACIs prevent sending information about the provided entry, or entryDN if entry is null.void
SubentryChangeListener.checkSubentryAddAcceptable
(Entry entry) Performs any checking that may be required before subentry add operation.void
SubentryChangeListener.checkSubentryDeleteAcceptable
(Entry entry) Performs any checking that may be required before subentry delete operation.void
SubentryChangeListener.checkSubentryModifyAcceptable
(Entry oldEntry, Entry newEntry) Performs any checking that may be required before subentry modify operation.void
SubentryChangeListener.checkSubentryModifyDNAcceptable
(Entry oldEntry, Entry newEntry) Performs any checking that may be required before subentry modify DN operation.abstract void
LocalBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) Removes the specified entry from this backend.abstract void
SynchronizationProvider.doPostOperation
(PostOperationAddOperation addOperation) Performs any necessary synchronization processing that may be needed after the provided add operation is performed.abstract void
SynchronizationProvider.doPostOperation
(PostOperationDeleteOperation deleteOperation) Performs any necessary synchronization processing that may be needed after the provided delete operation is performed.abstract void
SynchronizationProvider.doPostOperation
(PostOperationModifyDNOperation modifyDNOperation) Performs any necessary synchronization processing that may be needed after the provided modify DN operation is performed.abstract void
SynchronizationProvider.doPostOperation
(PostOperationModifyOperation modifyOperation) Performs any necessary synchronization processing that may be needed after the provided modify operation is performed.abstract SynchronizationProviderResult
SynchronizationProvider.doPreOperation
(PreOperationAddOperation addOperation) Performs any necessary synchronization processing that may be needed before the provided add operation is performed.abstract SynchronizationProviderResult
SynchronizationProvider.doPreOperation
(PreOperationDeleteOperation deleteOperation) Performs any necessary synchronization processing that may be needed before the provided delete operation is performed.abstract SynchronizationProviderResult
SynchronizationProvider.doPreOperation
(PreOperationModifyDNOperation modifyDNOperation) Performs any necessary synchronization processing that may be needed before the provided modify DN operation is performed.abstract SynchronizationProviderResult
SynchronizationProvider.doPreOperation
(PreOperationModifyOperation modifyOperation) Performs any necessary synchronization processing that may be needed before the provided modify operation is performed.PasswordStorageScheme.encodeAuthPassword
(ByteString plaintext) Encodes the provided plaintext password for this storage scheme using the authentication password syntax defined in RFC 3112.abstract ByteString
PasswordStorageScheme.encodePassword
(ByteString plaintext) Encodes the provided plaintext password for this storage scheme, without the name of the associated scheme.PasswordStorageScheme.encodePasswordWithScheme
(ByteString plaintext) Encodes the provided plaintext password for this storage scheme, prepending the name of the scheme in curly braces.boolean
LocalBackend.entryExists
(Dn entryDN) Indicates whether an entry with the specified DN exists in the backend.void
LocalBackend.exportLDIF
(LDIFExportConfig exportConfig) Exports the contents of this backend to LDIF.void
AuthenticationPolicyState.finalizeStateAfterBind()
Performs any finalization required after a bind operation has completed.static AuthenticationPolicy
AuthenticationPolicy.forUser
(Entry userEntry, boolean useDefaultOnError, Consumer<LocalizableMessage> onMultiplePasswordPolicies, ServerContext serverContext) Returns the authentication policy for the user provided user.static AuthenticationPolicy
AuthenticationPolicy.forUser
(Entry userEntry, ServerContext serverContext) Returns the authentication policy for the user provided user.static AuthenticationPolicyState
AuthenticationPolicyState.forUser
(Entry userEntry, Consumer<LocalizableMessage> onMultiplePasswordPolicies, ServerContext serverContext) Returns the authentication policy state for the user provided user.static AuthenticationPolicyState
AuthenticationPolicyState.forUser
(Entry userEntry, ServerContext serverContext) Returns the authentication policy state for the user provided user.abstract ByteString
PasswordGenerator.generatePassword
(Entry userEntry) Generates a password for the user whose account is contained in the specified entry.PasswordStorageScheme.getAuthPasswordPlaintextValue
(String authInfo, String authValue) Retrieves the original plaintext value for the provided password stored in the authPassword syntax.protected static ConditionResult
AuthenticationPolicyState.getBoolean
(Entry entry, String attributeName) A utility method which may be used by implementations in order to obtain the value of the specified attribute from the provided entry as a boolean.abstract Entry
Retrieves the requested entry from this backend.protected abstract Entry
IdentityMapper.getEntryForID
(String id) Retrieves the user entry that was mapped to the provided identification string.static Entry
IdentityMapper.getEntryForID
(String id, List<IdentityMapper<?>> identityMappers) Retrieves the user entry that was mapped to the provided identification string from a list ofIdentityMapper
s.protected static long
AuthenticationPolicyState.getGeneralizedTime
(Entry entry, AttributeDescription attrDesc) A utility method which may be used by implementations in order to obtain the value of the specified attribute from the provided entry as a time in generalized time format.abstract KeyManager[]
KeyManagerProvider.getKeyManagers()
Retrieves a set ofKeyManager
objects that may be used for interactions requiring access to a key manager.abstract KeyStore
KeyManagerProvider.getKeyStore()
Returns the keystore used by this key manager provider.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.PasswordStorageScheme.getPlaintextValue
(ByteString storedPassword) Retrieves the original plaintext value for the provided stored password.abstract TrustManager[]
TrustManagerProvider.getTrustManagers()
Retrieves a set ofTrustManager
objects that may be used for interactions requiring access to a trust manager.SynchronizationProvider.handleConflictResolution
(PreOperationAddOperation addOperation) Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProvider.handleConflictResolution
(PreOperationDeleteOperation deleteOperation) Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProvider.handleConflictResolution
(PreOperationModifyDNOperation modifyDNOperation) Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProvider.handleConflictResolution
(PreOperationModifyOperation modifyOperation) Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.abstract void
Backend.handleRequest
(RequestContext context, Request request, Consumer<ResponseStream> out) Processes a request, publishing the response(s) to the provided consumer.void
LocalBackend.handleRequest
(RequestContext context, Request request, Consumer<ResponseStream> out) abstract ConditionResult
LocalBackend.hasSubordinates
(Dn entryDN) Indicates whether the requested entry has any subordinates.LocalBackend.importLDIF
(LDIFImportConfig importConfig, ServerContext serverContext) Imports information from an LDIF file into this backend.boolean
Indicates whether the provided control is allowed based on the access control configuration and the specified operation.boolean
AccessControlHandler.isAllowed
(AddOperation addOperation) Indicates whether the provided add operation is allowed based on the access control configuration.boolean
AccessControlHandler.isAllowed
(ModifyOperation modifyOperation) Indicates whether the provided modify operation is allowed based on the access control configuration.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.default boolean
Indicates whether the user described by the provided user entry is a member of this group.boolean
Group.isMember
(Entry userEntry, Group.ExaminedGroups examinedGroups) Indicates whether the user described by the provided user entry is a member of this group.final Entry
CertificateMapper.mapCertificateToUser
(Certificate[] certificateChain) Establishes a mapping between the information in the provided certificate chain and a single user entry in the Directory Server.protected abstract Entry
CertificateMapper.mapCertificateToUser0
(Certificate[] certificateChain) Implements certificate mapper specific logic for mapping the provided certificate to a user entry.boolean
AuthenticationPolicyState.passwordMatches
(ByteString password) Returnstrue
if the provided password value matches any of the user's passwords.abstract boolean
AuthenticationPolicyState.passwordMatches
(ByteString password, AtomicReference<ByteString> matchedEncodedPassword) Returnstrue
if the provided password value matches any of the user's passwords.abstract void
ExtendedOperationHandler.processExtendedOperation
(ExtendedOperation operation) Processes the provided extended operation.void
LocalBackend.rebuildBackend
(RebuildConfig rebuildConfig, ServerContext serverContext, Consumer<Task.WorkCounters> progressCallback) Rebuild indexes in the backend instance.void
LocalBackend.registerPersistentSearch
(PersistentSearch persistentSearch) Registers the provided persistent search operation with this backend so that it will be notified of any add, delete, modify, or modify DN operations that are performed.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.abstract void
LocalBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) Replaces the specified entry with the provided entry in this backend.void
LocalBackend.sampleEntries
(Consumer<Entry> consumer, Dn baseDn) Consumes all or a subset of entries contained in this backend under the provided base DN.final void
LocalBackend.search
(SearchRequest searchRequest, Consumer<SearchResultEntry> entryHandler) Processes the specified search in this backend, publishing any entries to the provided consumer.abstract void
LocalBackend.search
(SearchOperation searchOperation) Processes the specified search in this backend.void
Group.updateMembers
(Entry newGroupEntry, List<Modification> modifications) Attempt to make multiple changes to the group's member list.long
LocalBackend.verifyBackend
(VerifyConfig verifyConfig) Verify the integrity of the backend instance. -
Uses of LdapException in org.opends.server.authorization.dseecompat
Modifier and TypeMethodDescriptionvoid
PatternRDN.addValue
(String type, List<ByteString> valuePattern, String dnString) Add another attribute-value pair to the pattern.boolean
AciHandler.canDiscloseInformation
(Entry entry, Dn entryDN, Operation operation) static PatternDN
Create a new DN pattern matcher from a pattern string.boolean
boolean
AciHandler.isAllowed
(AddOperation operation) boolean
AciHandler.isAllowed
(ModifyOperation operation) -
Uses of LdapException in org.opends.server.authorization.policy
Modifier and TypeMethodDescriptionAccessController.checkRequest
(RequestContext context, Request request) Checks whether the provided request is allowed or not.static AccessController
PolicyBasedAccessControlHandler.getAccessController()
Returns a new access controller which can be used for authorizing requests and their responses. -
Uses of LdapException in org.opends.server.backends
Modifier and TypeMethodDescriptionvoid
ChangelogBackend.addEntry
(Entry entry, AddOperation addOperation) void
ConfigurationBackend.addEntry
(Entry entry, AddOperation addOperation) void
LDIFBackend.addEntry
(Entry entry, AddOperation addOperation) void
MemoryBackend.addEntry
(Entry entry, AddOperation addOperation) void
MonitorBackend.addEntry
(Entry entry, AddOperation addOperation) void
RootDSEBackend.addEntry
(Entry entry, AddOperation addOperation) void
SchemaBackend.addEntry
(Entry entry, AddOperation addOperation) void
ChangelogBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) void
ConfigurationBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) void
LDIFBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) void
MemoryBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) void
MonitorBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) void
RootDSEBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) void
SchemaBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) void
ConfigurationBackend.exportLDIF
(LDIFExportConfig exportConfig) void
MemoryBackend.exportLDIF
(LDIFExportConfig exportConfig) void
NullBackend.exportLDIF
(LDIFExportConfig exportConfig) void
RootDSEBackend.exportLDIF
(LDIFExportConfig exportConfig) void
SchemaBackend.exportLDIF
(LDIFExportConfig exportConfig) long
ChangelogBackend.getNumberOfChildren
(Dn parentDN) long
ConfigurationBackend.getNumberOfChildren
(Dn parentDN) long
LDIFBackend.getNumberOfChildren
(Dn parentDN) long
ChangelogBackend.getNumberOfEntriesInBaseDN
(Dn baseDN) long
ConfigurationBackend.getNumberOfEntriesInBaseDN
(Dn baseDN) long
LDIFBackend.getNumberOfEntriesInBaseDN
(Dn baseDN) void
ProxyBackend.handleRequest
(RequestContext context, Request request, Consumer<ResponseStream> out) ChangelogBackend.hasSubordinates
(Dn entryDN) ConfigurationBackend.hasSubordinates
(Dn entryDN) LDIFBackend.hasSubordinates
(Dn entryDN) ConfigurationBackend.importLDIF
(LDIFImportConfig importConfig, ServerContext serverContext) LDIFBackend.importLDIF
(LDIFImportConfig importConfig, ServerContext serverContext) MemoryBackend.importLDIF
(LDIFImportConfig importConfig, ServerContext serverContext) NullBackend.importLDIF
(LDIFImportConfig importConfig, ServerContext serverContext) RootDSEBackend.importLDIF
(LDIFImportConfig importConfig, ServerContext serverContext) SchemaBackend.importLDIF
(LDIFImportConfig importConfig, ServerContext serverContext) void
ChangelogBackend.registerPersistentSearch
(PersistentSearch pSearch) 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
RootDSEBackend.renameEntry
(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) void
SchemaBackend.renameEntry
(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) void
ChangelogBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) void
ConfigurationBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) void
LDIFBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) void
MemoryBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) void
MonitorBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) void
RootDSEBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) void
SchemaBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) void
LDIFBackend.sampleEntries
(Consumer<Entry> consumer, Dn baseDn) void
ChangelogBackend.search
(SearchOperation searchOperation) Processes the specified search in this backend.void
ConfigurationBackend.search
(SearchOperation searchOperation) void
LDIFBackend.search
(SearchOperation searchOperation) void
MemoryBackend.search
(SearchOperation searchOperation) void
MonitorBackend.search
(SearchOperation searchOperation) void
NullBackend.search
(SearchOperation searchOperation) void
RootDSEBackend.search
(SearchOperation searchOp) void
SchemaBackend.search
(SearchOperation searchOperation) -
Uses of LdapException in org.opends.server.backends.pluggable
Modifier and TypeMethodDescriptionvoid
BackendImpl.addEntry
(Entry entry, AddOperation addOperation) void
BackendImpl.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) boolean
BackendImpl.entryExists
(Dn entryDN) void
BackendImpl.exportLDIF
(LDIFExportConfig exportConfig) long
BackendImpl.getNumberOfChildren
(Dn parentDN) long
BackendImpl.getNumberOfEntriesInBaseDN
(Dn baseDN) BackendImpl.hasSubordinates
(Dn entryDN) BackendImpl.importLDIF
(LDIFImportConfig importConfig, ServerContext serverContext) void
BackendImpl.rebuildBackend
(RebuildConfig rebuildConfig, ServerContext serverContext, Consumer<Task.WorkCounters> progressCallback) void
BackendImpl.renameEntry
(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) void
BackendImpl.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) void
BackendImpl.sampleEntries
(Consumer<Entry> consumer, Dn baseDn) void
BackendImpl.search
(SearchOperation searchOperation) long
BackendImpl.verifyBackend
(VerifyConfig verifyConfig) -
Uses of LdapException in org.opends.server.backends.task
Modifier and TypeMethodDescriptionvoid
TaskBackend.addEntry
(Entry entry, AddOperation addOperation) void
TaskScheduler.addRecurringTask
(Entry recurringTask) Adds a recurring task to the scheduler, optionally scheduling the first iteration for processing.void
TaskBackend.deleteEntry
(Dn entryDN, DeleteOperation deleteOperation) TaskScheduler.entryToScheduledTask
(Entry entry, Operation operation) Decodes the contents of the provided entry as a scheduled task.TaskBackend.importLDIF
(LDIFImportConfig importConfig, ServerContext sContext) final void
Task.initializeTask()
Performs any task-specific initialization that may be required before processing can start.protected void
Task.initializeTask
(Entry taskEntry) Performs any task-specific initialization that may be required before processing can start.static void
RecurringTask.parseTaskTab
(String taskSchedule) Parse and validate recurring task schedule.void
TaskScheduler.removeCompletedTask
(String taskID) Removes the specified completed task.void
TaskScheduler.removePendingTask
(String taskID) Removes the specified pending task.void
TaskScheduler.removeRecurringTask
(String recurringTaskID) Removes the recurring task with the given ID.void
TaskBackend.renameEntry
(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) void
TaskBackend.replaceEntry
(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) RecurringTask.scheduleNextIteration
(Instant dateAndTimeToSchedule) Schedules the next iteration of this recurring task for processing.void
TaskScheduler.scheduleTask
(Task task) Schedules the provided task for execution.void
TaskBackend.search
(SearchOperation searchOp) boolean
TaskScheduler.searchRecurringTasks
(SearchOperation searchOperation) Compares the filter in the provided search operation against each of the recurring task entries, returning any that match.boolean
TaskScheduler.searchScheduledTasks
(SearchOperation searchOperation) Compares the filter in the provided search operation against each of the task entries, returning any that match.ModifierConstructorDescriptionRecurringTask
(ServerContext serverContext, TaskScheduler taskScheduler, Entry recurringTaskEntry) Creates a new recurring task based on the information in the provided entry. -
Uses of LdapException in org.opends.server.backup
Modifier and TypeMethodDescriptionBackupManager.createBackup
(Backupable backupable, Cancellable cancellable) Backs up a backend to the underlying backup storage. -
Uses of LdapException in org.opends.server.config
Modifier and TypeMethodDescriptionvoid
Add a configuration entry.void
ConfigurationHandler.deleteEntry
(Dn dn) Delete a configuration entry.void
ConfigurationHandler.replaceEntry
(Entry oldEntry, Entry newEntry) Replaces the old configuration entry with the new configuration entry provided.void
ConfigurationHandler.writeLDIF
(LDIFExportConfig exportConfig) Writes the current configuration to LDIF with the provided export configuration. -
Uses of LdapException in org.opends.server.core
Modifier and TypeMethodDescriptionstatic void
LockFileManager.acquireExclusiveLockForBackend
(String backendID, LocalizableMessageDescriptor.Arg2<Object, Object> failureMsg, DirectoryEnvironmentConfig environmentConfig) Attempts to acquire an exclusive lock on the specified backend ID.static void
LockFileManager.acquireSharedLockForBackend
(String backendID, LocalizableMessageDescriptor.Arg2<Object, Object> failureMsg, DirectoryEnvironmentConfig environmentConfig) Attempts to acquire an shared lock on the specified backend ID.void
BackendConfigManager.activateBackend
(String backendId) Loads and registers a configured and enabled backend.void
ModifyOperation.addModification
(Modification modification) Adds the provided modification to the set of modifications to this modify operation.void
BackendConfigManager.deactivateBackend
(String backendId) Deregisters and finalizes a configured and active backend.PasswordPolicyState.encodePassword
(ByteString password) Encodes the provided password using the default storage schemes (using the appropriate syntax for the password attribute).boolean
DirectoryServer.entryExists
(Dn entryDN) boolean
ServerContext.entryExists
(Dn entryDN) Indicates whether the specified entry exists in the Directory Server.void
PasswordPolicyState.finalizeStateAfterBind()
PasswordPolicyState.generatePassword()
Generates a new password for the user.Retrieves the entry with the requested DN.DirectoryServer.getParentEntry
(Dn childDn) ServerContext.getParentEntry
(Dn childDn) Retrieves the entry that is the immediate parent of the entry having the provided DN.void
DirectoryServer.handleRequest
(RequestContext context, Request request, Consumer<ResponseStream> responseWriter) void
ServerContext.handleRequest
(RequestContext context, Request request, Consumer<ResponseStream> responseWriter) Routes an LDAP request to the appropriate backend(s) for processing.protected void
SearchOperation.handleRequestControls()
Handles any controls contained in the request.protected boolean
AddOperation.invokePreParsePlugins()
protected boolean
CompareOperation.invokePreParsePlugins()
protected boolean
DeleteOperation.invokePreParsePlugins()
protected boolean
ExtendedOperation.invokePreParsePlugins()
protected boolean
ModifyDnOperation.invokePreParsePlugins()
protected boolean
ModifyOperation.invokePreParsePlugins()
protected boolean
SearchOperation.invokePreParsePlugins()
void
BackendConfigManager.registerBackend
(Backend<? extends BackendCfg> backend) Registers a backend.BackendConfigManager.registerBaseDNs
(Backend<? extends BackendCfg> backend, Set<Dn> newBaseDns) Registers the provided base DNs for the provided backend.static void
LockFileManager.releaseBackendLock
(String backendID, LocalizableMessageDescriptor.Arg2<Object, Object> failureMsg, DirectoryEnvironmentConfig environmentConfig) Attempts to release a lock on the backend id.void
BindOperation.runFakePasswordMatches
(Dn bindDn, ByteString password) When using cost based hashes, ensure similar response times when login with non-existing vs.protected boolean
AddOperation.runImpl()
protected boolean
BindOperation.runImpl()
protected boolean
CompareOperation.runImpl()
protected boolean
DeleteOperation.runImpl()
protected boolean
ExtendedOperation.runImpl()
protected boolean
ModifyDnOperation.runImpl()
protected boolean
ModifyOperation.runImpl()
protected boolean
SearchOperation.runImpl()
protected boolean
UnbindOperation.runImpl()
ModifierConstructorDescriptionSubentryPasswordPolicy
(SubEntry subentry, ServerContext serverContext) Creates subentry password policy object from the subentry, parsing and evaluating subentry password policy attributes. -
Uses of LdapException in org.opends.server.extensions
Modifier and TypeMethodDescriptionPKCS5S2PasswordStorageScheme.encodeAuthPassword
(ByteString plaintext) static String
PBKDF2HmacSHA256PasswordStorageScheme.encodeOffline
(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static String
PBKDF2HmacSHA512PasswordStorageScheme.encodeOffline
(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static String
PBKDF2PasswordStorageScheme.encodeOffline
(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static String
SaltedSHA1PasswordStorageScheme.encodeOffline
(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static String
SaltedSHA512PasswordStorageScheme.encodeOffline
(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.Argon2PasswordStorageScheme.encodePassword
(ByteString plaintext) CryptPasswordStorageScheme.encodePassword
(ByteString plaintext) PKCS5S2PasswordStorageScheme.encodePassword
(ByteString plaintext) ExactMatchIdentityMapper.getEntryForID
(String id) Retrieves the user entry that was mapped to the provided identification string.RegularExpressionIdentityMapper.getEntryForID
(String id) FileBasedKeyManagerProvider.getKeyManagers()
LDAPKeyManagerProvider.getKeyManagers()
PKCS11KeyManagerProvider.getKeyManagers()
FileBasedKeyManagerProvider.getKeyStore()
PKCS11KeyManagerProvider.getKeyStore()
Base64PasswordStorageScheme.getPlaintextValue
(ByteString storedPassword) AdminDataTrustManagerProvider.getTrustManagers()
FileBasedTrustManagerProvider.getTrustManagers()
LDAPTrustManagerProvider.getTrustManagers()
Pkcs11TrustManagerProvider.getTrustManagers()
boolean
DynamicGroup.isMember
(Dn userDN, Group.ExaminedGroups examinedGroups) boolean
StaticGroup.isMember
(Dn userDN, Group.ExaminedGroups examinedGroups) boolean
StaticGroup.isMember
(Entry userEntry, Group.ExaminedGroups examinedGroups) boolean
VirtualStaticGroup.isMember
(Dn userDN, Group.ExaminedGroups examinedGroups) boolean
VirtualStaticGroup.isMember
(Entry userEntry, Group.ExaminedGroups examinedGroups) protected Entry
FingerprintCertificateMapper.mapCertificateToUser0
(Certificate[] certificateChain) protected Entry
SubjectAttributeToUserAttributeCertificateMapper.mapCertificateToUser0
(Certificate[] certificateChain) protected Entry
SubjectDNToUserAttributeCertificateMapper.mapCertificateToUser0
(Certificate[] certificateChain) SubjectEqualsDNCertificateMapper.mapCertificateToUser0
(Certificate[] certificateChain) Establishes a mapping between the information in the provided certificate chain to the DN of a single user in the Directory Server.static StaticGroup
StaticGroup.newInstance
(ServerContext serverContext, Entry groupEntry) Creates a new group of this type based on the definition contained in the provided entry.static VirtualStaticGroup
VirtualStaticGroup.newInstance
(Entry groupEntry, ServerContext serverContext) Creates a new group of this type based on the definition contained in the provided entry.void
PasswordModifyExtendedOperation.processExtendedOperation
(ExtendedOperation operation) void
PasswordPolicyStateExtendedOperation.processExtendedOperation
(ExtendedOperation operation) void
WhoAmIExtendedOperation.processExtendedOperation
(ExtendedOperation operation) -
Uses of LdapException in org.opends.server.replication.common
ModifierConstructorDescriptionMultiDomainServerState
(String cookie) Create an object from a string representation. -
Uses of LdapException in org.opends.server.replication.plugin
Modifier and TypeMethodDescriptionlong
LDAPReplicationDomain.countEntries()
This method should return the total number of objects in the replicated domain.LDAPReplicationDomain.decodeSource
(String sourceReplicaName) Verifies that the given string represents a valid source from which this server can be initialized.protected void
LDAPReplicationDomain.exportBackend
(OutputStream output) This method trigger an export of the replicated data.protected void
LDAPReplicationDomain.importBackend
(InputStream input) This method triggers an import of the replicated data.protected void
LDAPReplicationDomain.initializeRemote
(ReplicaId target, ReplicaId requestorID, Task initTask, int initWindow) Process the initialization of some other server or servers in the topology specified by the target argument when this initialization specifying the server that requests the initialization.void
LDAPReplicationDomain.purgeConflictsHistorical
(PurgeConflictsHistoricalTask task, Duration purgeTaskMaxDuration) Check and purge the historical attribute on all eligible entries under this domain.static LDAPReplicationDomain
LDAPReplicationDomain.retrievesReplicationDomain
(Dn baseDN, ServerContext serverContext) Retrieves a replication domain based on the baseDN. -
Uses of LdapException in org.opends.server.replication.server
Modifier and TypeMethodDescriptionboolean
ReplicationServerDomain.isAlreadyConnectedToRS
(org.opends.server.replication.server.PeerReplicationServer peerRs) Checks whether a remote RS is already connected to this hosting RS.void
ReplicationServer.validateCookie
(MultiDomainServerState cookie, Set<Dn> ignoredBaseDNs) Validate that provided cookie is coherent with this replication server, when ignoring the provided set of DNs. -
Uses of LdapException in org.opends.server.replication.service
Modifier and TypeMethodDescriptionReplicationDomain.ImportExportContext.getException()
Get the exception that occurred during the import/export.Modifier and TypeMethodDescriptionvoid
ReplicationDomain.ImportExportContext.setException
(LdapException e) Set the exception that occurred during the import/export.void
ReplicationDomain.ImportExportContext.setExceptionIfNoneSet
(LdapException e) Only sets the exception that occurred during the import/export if none was already set on this object.Modifier and TypeMethodDescriptionabstract long
ReplicationDomain.countEntries()
This method should return the total number of objects in the replicated domain.ReplicationDomain.decodeTarget
(String targetString) Verifies that the given string represents a valid source from which this server can be initialized.protected abstract void
ReplicationDomain.exportBackend
(OutputStream output) This method should trigger an export of the replicated data.protected abstract void
ReplicationDomain.importBackend
(InputStream input) This method should trigger an import of the replicated data.void
ReplicationDomain.initializeFromRemote
(ReplicaId source, Task initTask) Initializes asynchronously this domain from a remote source server.void
ReplicationDomain.initializeRemote
(ReplicaId target, Task initTask) Initializes a remote server from this server.protected void
ReplicationDomain.initializeRemote
(ReplicaId replicaToInitialize, ReplicaId replicaRunningTheTask, Task initTask, int initWindow) Process the initialization of some other server or servers in the topology specified by the target argument when this initialization specifying the server that requests the initialization.void
ReplicationDomain.resetGenerationId
(GenerationId generationIdNewValue) Reset the generationId of this domain in the whole topology. -
Uses of LdapException in org.opends.server.schema
Modifier and TypeMethodDescriptionvoid
SchemaHandler.importEntry
(Entry newSchemaEntry, AlertGenerator alertGenerator) Imports the provided schema entry in the schema.void
SchemaHandler.updateSchema
(SchemaHandler.SchemaUpdater updater) Updates the schema using the provided schema updater.void
SchemaHandler.updateSchemaAndConcatenatedSchemaFile
(Schema newSchema) Replaces the schema with the provided schema and update the concatenated schema file.void
SchemaHandler.updateSchemaAndSchemaFiles
(Schema newSchema, Map<String, Attribute> newExtraAttributes, SortedSet<String> modifiedSchemaFileNames, AlertGenerator alertGenerator) Replaces the schema with the provided schema and updates the provided set of schema files.<T> void
SchemaHandler.updateSchemaOption
(Option<T> option, T newValue) Updates the schema option if the new value differs from the old value. -
Uses of LdapException in org.opends.server.tasks
Modifier and TypeMethodDescriptionvoid
InitializeTask.retry
(LdapException reason) The task was not successful but can be retried, set the state accordingly.void
InitializeTask.updateTaskCompletionState
(LdapException e) Set the state for the current task.Modifier and TypeMethodDescriptionvoid
AddSchemaFileTask.initializeTask
(Entry taskEntry) protected void
BackupPurgeTask.initializeTask
(Entry taskEntry) void
BackupTask.initializeTask
(Entry taskEntry) void
DisconnectClientTask.initializeTask
(Entry taskEntry) void
EnterLockdownModeTask.initializeTask
(Entry taskEntry) void
ExportTask.initializeTask
(Entry taskEntry) void
ImportTask.initializeTask
(Entry taskEntry) void
InitializeTargetTask.initializeTask
(Entry taskEntry) void
InitializeTask.initializeTask
(Entry taskEntry) void
LeaveLockdownModeTask.initializeTask
(Entry taskEntry) void
PurgeConflictsHistoricalTask.initializeTask
(Entry taskEntry) void
RebuildTask.initializeTask
(Entry taskEntry) void
ResetChangeNumberTask.initializeTask
(Entry taskEntry) void
RestoreTask.initializeTask
(Entry taskEntry) void
SetGenerationIdTask.initializeTask
(Entry taskEntry) void
ShutdownTask.initializeTask
(Entry taskEntry) Performs any task-specific initialization that may be required before processing can start.void
ImportExportParams.validate
(LocalizableMessageDescriptor.Arg2<Object, Object> includeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object, Object> excludeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object, Object> includeFilterErrMsg, LocalizableMessageDescriptor.Arg2<Object, Object> excludeFilterErrMsg) Validates the parameters provided in the constructor. -
Uses of LdapException in org.opends.server.tools.tasks
Modifier and TypeMethodDescriptionvoid
TaskClient.cancelTask
(String taskId) Changes that the state of the task in the backend to a canceled state.TaskClient.getTaskEntries()
Gets all the ds-task entries from the task root.TaskClient.getTaskEntry
(String taskId) Gets the entry of the task associated to the provided identifier.TaskClient.schedule
(TaskScheduleInformation information) Schedule a task for execution by writing an entry to the task backend.TaskClient.waitUntilTaskIsDone
(String taskId, PrintStream stream) Wait until the task with the provided id is done. -
Uses of LdapException in org.opends.server.types
Modifier and TypeMethodDescriptionprotected static LdapException
Operation.createLdapException
(Operation operation, Entry entry, Dn entryDN, Result result, Result altResult) Returns a newLdapException
built from the provided resultCodes and messages.Modifier and TypeMethodDescriptionfinal void
Operation.setResult
(LdapException e) Sets the response elements for this operation based on the information contained in the providedexception
object.Modifier and TypeMethodDescriptionprotected void
Operation.checkAttributeConformsToSyntax
(Entry entry, Attribute attribute, LocalizableMessageDescriptor.Arg4<Object, Object, Object, Object> invalidSyntaxErrorMsg, LocalizableMessageDescriptor.Arg3<Object, Object, Object> invalidSyntaxNoValueErrorMsg, LocalizableMessageDescriptor.Arg1<Object> rejectErrorMsg) Checks whether an attribute's values conform to its syntax.protected 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 FilePermission
FilePermission.decodeUNIXMode
(String modeString) Decodes the provided string as a UNIX mode and retrieves the corresponding file permission.final void
Operation.evaluateProxyAuthControls()
Evaluate all aci and privilege checks for any proxy auth controls.static Entry
ProxyAuthHelper.getAuthorizationEntryFromControl
(ProxiedAuthV1RequestControl proxiedAuthControl, ServerContext serverContext) Retrieves the authorization entry for the provided proxied authorization V1 control.static Entry
ProxyAuthHelper.getAuthorizationEntryFromControl
(ProxiedAuthV2RequestControl proxiedAuthControl, ServerContext serverContext) Retrieves the authorization entry for this proxied authorization V2 control.LDAPURL.getName()
Retrieves the processed DN for this LDAP URL.final <T extends Control>
TOperation.getRequestControl
(ControlDecoder<T> d, DecodeOptions options) protected abstract @com.forgerock.opendj.util.LoomTODO({"Pre-parse plugins should be invoked in the router for all requests"}) boolean
Operation.invokePreParsePlugins()
Invokes any applicable pre-parse plugins.static LDAPURL
LDAPURL.partiallyDecode
(String url) Decodes the provided string as an LDAP URL, but do not decode the base DN and only keep it as a string instead (it can be retrieved by callingLDAPURL.getRawBaseDN()
).protected final void
Operation.removeAllDisallowedControls
(Dn targetDN) Removes all the disallowed request controls from this operation.final void
Operation.run()
Processes this operation in the local backend.protected abstract boolean
Operation.runImpl()
Performs the work of actually processing this operation.static boolean
FilePermission.setPermissions
(Path f, FilePermission p) Attempts to set the given permissions on the specified file.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.static LDAPURL
Decodes the provided string as an LDAP URL.ModifierConstructorDescriptionSubEntry
(Entry entry, ServerContext serverContext) Constructs a subentry object from a given entry object. -
Uses of LdapException in org.opends.server.types.operation
Modifier and TypeMethodDescriptionvoid
InProgressOperation.setResult
(LdapException e) Sets the response elements for this operation based on the information contained in the providedexception
object.void
PostOperationOperation.setResult
(LdapException e) Sets the response elements for this operation based on the information contained in the providedexception
object.Modifier and TypeMethodDescriptionvoid
PreOperationModifyOperation.addModification
(Modification modification) Adds the provided modification to the set of modifications to this modify operation.void
PreParseModifyOperation.addModification
(Modification modification) Adds the provided modification to the set of modifications for this modify operation.default <T extends Control>
TPluginOperation.getRequestControl
(ControlDecoder<T> d) Retrieves a control included in the request from the client using the default decode options.<T extends Control>
TPluginOperation.getRequestControl
(ControlDecoder<T> d, DecodeOptions options) Retrieves a control included in the request from the client. -
Uses of LdapException in org.opends.server.util
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 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.static TrustManager[]
SslUtils.getTrustManagers
(Collection<Dn> trustManagerProviderDns, ServerContext serverContext) Returns an array ofTrustManager
s for use by theSSLContext
while setting up communication.static String
SchemaUtils.parseAttributeTypeOID
(String definition) Returns the OID from the provided attribute type definition, assuming the definition is valid.static String
SchemaUtils.parseDITContentRuleOID
(String definition) Returns the OID from the provided DIT content rule definition, assuming the definition is valid.static String
SchemaUtils.parseMatchingRuleUseOID
(String definition) Returns the OID from the provided matching rule use definition, assuming the definition is valid.static String
SchemaUtils.parseNameFormOID
(String definition) Returns the OID from the provided name form definition, assuming the definition is valid.static String
SchemaUtils.parseObjectClassOID
(String definition) Returns the OID from the provided object class definition, assuming the definition is valid.static int
SchemaUtils.parseRuleID
(String definition) Returns the ruleID from the provided DIT structure rule definition, assuming the definition is valid.static String
SchemaUtils.parseSchemaFileFromElementDefinition
(String definition) Parses the schema file (value of X-SCHEMA-FILE extension) from the provided schema element definition.static String
SchemaUtils.parseSyntaxOID
(String definition) Returns the OID from the provided syntax definition, assuming the definition is valid.