Uses of Class
org.forgerock.opendj.ldap.LdapException
Packages that use 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.
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.
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.
This package implements the Directory Server cryptographic framework, which is described in the
CrytpoManager design document.
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
Contains the implementation for various Directory Server plugins.
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
Methods in org.forgerock.opendj.config that throw LdapExceptionModifier and TypeMethodDescriptionvoidConfigurationClient.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
Methods in org.forgerock.opendj.config.client that throw LdapExceptionModifier and TypeMethodDescriptionvoidManagedObject.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.booleanClientConstraintHandler.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.booleanClientConstraintHandler.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.booleanClientConstraintHandler.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 booleanDriverBasedManagementContext.managedObjectExists(ManagedObjectPath<?, ?> path) booleanManagementContext.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
Methods in org.forgerock.opendj.config.client.spi that throw LdapExceptionModifier and TypeMethodDescriptionprotected abstract voidAbstractManagedObject.addNewManagedObject()Adds this new managed object.final voidAbstractManagedObject.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 booleanDriver.managedObjectExists(ManagedObjectPath<?, ?> path) Determines whether the named managed object exists.protected abstract voidAbstractManagedObject.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
Methods in org.forgerock.opendj.config.conditions that throw LdapExceptionModifier and TypeMethodDescriptionbooleanCondition.evaluate(ManagementContext context, ManagedObject<?> managedObject) Evaluates this condition against the provided client managed object.booleanNotCondition.evaluate(ManagementContext context, ManagedObject<?> managedObject) booleanOrCondition.evaluate(ManagementContext context, ManagedObject<?> managedObject) -
Uses of LdapException in org.forgerock.opendj.ldap
Subclasses of LdapException in org.forgerock.opendj.ldapModifier and TypeClassDescriptionfinal classThrown 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 classThrown when the result code returned in a Result indicates that the Bind Request failed due to an authentication failure.final classThrown when the result code returned in a Result indicates that the Request failed due to an authorization failure.final classThrown when the result code returned in a Result indicates that the Request was cancelled.final classThrown when the result code returned in a Result indicates that the Request was unsuccessful because of a connection failure.final classThrown 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.classThrown 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 classThrown 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 classThrown 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 classThrown 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.Methods in org.forgerock.opendj.ldap that return LdapExceptionModifier and TypeMethodDescriptionstatic LdapExceptionLdapException.constraintViolation(CharSequence message) Returns a newLdapExceptionwith theCONSTRAINT_VIOLATIONerror code using the provided message.static LdapExceptionLdapException.constraintViolation(CharSequence message, Throwable cause) Returns a newLdapExceptionwith theCONSTRAINT_VIOLATIONerror code using the provided message.static LdapExceptionLdapException.invalidCredentials()Returns a newLdapExceptionwith theINVALID_CREDENTIALSerror code with no message.static LdapExceptionLdapException.invalidCredentials(CharSequence message) Returns a newLdapExceptionwith theINVALID_CREDENTIALSerror code using the provided message.static LdapExceptionLdapException.newLdapClientException(Throwable cause) Creates a new LDAP client exception with the provided cause and a result code depending on the class cause originalcause.static LdapExceptionLdapException.newLdapException(Throwable cause) Creates a new LDAP exception with the provided cause and a result code depending on the class cause originalcause.static LdapExceptionLdapException.newLdapException(Result result) Creates a new LDAP exception using the provided result.static LdapExceptionLdapException.newLdapException(ResultCode resultCode) Creates a new LDAP exception with the provided result code and an empty diagnostic message.static LdapExceptionLdapException.newLdapException(ResultCode resultCode, CharSequence diagnosticMessage) Creates a new LDAP exception with the provided result code and diagnostic message.static LdapExceptionLdapException.newLdapException(ResultCode resultCode, CharSequence diagnosticMessage, Throwable cause) Creates a new LDAP exception with the provided result code, diagnostic message, and cause.static LdapExceptionLdapException.newLdapException(ResultCode resultCode, CharSequence diagnosticMessage, Dn matchedDn) Creates a new LDAP exception with the provided resultCode, diagnosticMessage, matched DN and cause.static LdapExceptionLdapException.newLdapException(ResultCode resultCode, CharSequence diagnosticMessage, Dn matchedDn, Throwable cause) Creates a new LDAP exception with the provided resultCode, diagnosticMessage, matched DN and cause.static LdapExceptionLdapException.newLdapException(ResultCode resultCode, Throwable cause) Creates a new LDAP exception with the provided result code and cause.static LdapExceptionLdapException.noSuchObject()Returns a newLdapExceptionwith theNO_SUCH_OBJECTerror code using the provided message.static LdapExceptionLdapException.noSuchObject(CharSequence message) Returns a newLdapExceptionwith theNO_SUCH_OBJECTerror code using the provided message.static LdapExceptionLdapException.noSuchObject(CharSequence message, Dn matchedDn) Returns a newLdapExceptionwith theNO_SUCH_OBJECTerror code using the provided message.static LdapExceptionLdapException.protocolError(CharSequence message) Returns a newLdapExceptionwith thePROTOCOL_ERRORerror code using the provided message.static LdapExceptionLdapException.protocolError(Throwable cause) Returns a newLdapExceptionwith thePROTOCOL_ERRORerror code using the provided message.static LdapExceptionLdapException.unwillingToPerform(CharSequence message) Returns a newLdapExceptionwith theUNWILLING_TO_PERFORMerror code using the provided message.Methods in org.forgerock.opendj.ldap that return types with arguments of type LdapExceptionModifier and TypeMethodDescriptionConnectionFactory.getConnectionAsync()Asynchronously obtains a connection to the Directory Server associated with this connection factory.LdapConnectionFactory.getConnectionAsync()Methods in org.forgerock.opendj.ldap with parameters of type LdapExceptionModifier and TypeMethodDescriptionvoidConnectionEventListener.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.voidLdapResultHandler.handleException(LdapException exception) Invoked when the asynchronous operation has failed.voidLoadBalancerEventListener.handleLdapClientOffline(LdapClient client, LdapException error) Invoked when the load-balancer is unable to obtain a connection from the specified LDAP client.Method parameters in org.forgerock.opendj.ldap with type arguments of type LdapExceptionModifier 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) Methods in org.forgerock.opendj.ldap that throw LdapExceptionModifier 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 aComparatorwhich can be used to compare entries using this sort key.static Comparator<Entry>SortKey.comparator(String sortKeys) Returns aComparatorwhich 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 aComparatorwhich can be used to compare entries using the provided list of sort keys.SortKey.comparator(Schema schema) Returns aComparatorwhich can be used to compare entries using this sort key.static Comparator<Entry>SortKey.comparator(Schema schema, Collection<SortKey> keys) Returns aComparatorwhich can be used to compare entries using the provided list of sort keys.static Comparator<Entry>SortKey.comparator(Schema schema, SortKey... keys) Returns aComparatorwhich can be used to compare entries using the provided list of sort keys.static Comparator<Entry>SortKey.comparator(SortKey... keys) Returns aComparatorwhich 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 ResultDeletes 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 EntryEntries.modifyEntry(Entry entry, ModifyRequest changes) Applies the provided modification request to an entry.static EntryEntries.modifyEntry(Entry entry, Modification change) Applies the provided modification to an entry.static EntryEntries.modifyEntry(Entry entry, Modification change, Collection<? super ByteString> conflictingValues) Applies the provided modification to an entry.static EntryEntries.modifyEntryPermissive(Entry entry, Collection<Modification> changes) Applies the provided modifications to an entry using "permissive" modify semantics.static EntryEntries.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 RootDseRootDse.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<SearchResultEntry> entries) AbstractConnection.search(SearchRequest request, Collection<SearchResultEntry> entries, Collection<SearchResultReference> references) AbstractConnectionWrapper.search(SearchRequest request, Collection<SearchResultEntry> entries) Searches the Directory Server using the provided search request.AbstractConnectionWrapper.search(SearchRequest request, Collection<SearchResultEntry> entries, Collection<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<SearchResultEntry> entries) Searches the Directory Server using the provided search request.Connection.search(SearchRequest request, Collection<SearchResultEntry> entries, Collection<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 SubtreeSpecificationParses the string argument as an RFC3672 subtree specification. -
Uses of LdapException in org.forgerock.opendj.ldap.messages
Methods in org.forgerock.opendj.ldap.messages that return LdapExceptionModifier and TypeMethodDescriptionInvalidRequest.reason()Returns the value of thereasonrecord component.Methods in org.forgerock.opendj.ldap.messages with parameters of type LdapExceptionModifier and TypeMethodDescriptionstatic InvalidRequestRequests.newInvalidRequest(Request.RequestType invalidRequestType, String invalidRawDn, LdapException reason) Creates a new invalid request using the provided reason.Constructors in org.forgerock.opendj.ldap.messages with parameters of type LdapExceptionModifierConstructorDescriptionInvalidRequest(Request.RequestType invalidRequestType, String rawDn, LdapException reason) Create newInvalidRequestwith the invalid request type, the raw DN and theLdapExceptionreason. -
Uses of LdapException in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return types with arguments of type LdapExceptionModifier and TypeMethodDescriptionSchemaValidationPolicy.checkDitStructureRulesParentEntryResolver()Returns the parent entry resolver which should be used for retrieving the parent entry during DIT structure rule validation.Method parameters in org.forgerock.opendj.ldap.schema with type arguments of type LdapExceptionModifier and TypeMethodDescriptionSchemaValidationPolicy.checkDitStructureRules(SchemaValidationPolicy.Action policy, Function<Dn, Entry, LdapException> parentEntryResolver) Specifies the policy for validating entries against structure rules defined in the schema.Methods in org.forgerock.opendj.ldap.schema that throw LdapExceptionModifier 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 SchemaSchema.readSchema(Connection connection, Dn name) Reads the schema contained in the named subschema sub-entry.static SchemaSchema.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
Methods in org.forgerock.opendj.ldif that throw LdapExceptionModifier and TypeMethodDescriptionbooleanConnectionEntryReader.hasNext()booleanConnectionEntryReader.isEntry()Waits for the next search result entry or reference to become available and returnstrueif it is an entry, orfalseif it is a reference.booleanConnectionEntryReader.isReference()Waits for the next search result entry or reference to become available and returnstrueif it is a reference, orfalseif it is an entry.ConnectionEntryReader.readEntry()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.ConnectionEntryReader.readSearchResultEntry()Waits for the next search result entry or reference to become available and, if it is an entry, returns it as aSearchResultEntry.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
Methods in org.forgerock.opendj.server.config.client that throw LdapExceptionModifier 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.booleanRootCfgClient.hasAccessControlHandler()Determines whether the Access Control Handler exists.booleanReplicationSynchronizationProviderCfgClient.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.voidRootCfgClient.removeAccessControlHandler()Removes the Access Control Handler if it exists.voidAccessLogPublisherCfgClient.removeAccessLogFilteringCriteria(String name) Removes the named Access Log Filtering Criteria.voidRootCfgClient.removeAccountStatusNotificationHandler(String name) Removes the named Account Status Notification Handler.voidRootCfgClient.removeAlertHandler(String name) Removes the named Alert Handler.voidRootCfgClient.removeBackend(String name) Removes the named Backend.voidPluggableBackendCfgClient.removeBackendIndex(String name) Removes the named Backend Index.voidPluggableBackendCfgClient.removeBackendVlvIndex(String name) Removes the named Backend Vlv Index.voidRootCfgClient.removeCertificateMapper(String name) Removes the named Certificate Mapper.voidRootCfgClient.removeConnectionHandler(String name) Removes the named Connection Handler.voidRootCfgClient.removeEntryCache(String name) Removes the named Entry Cache.voidRootCfgClient.removeExtendedOperationHandler(String name) Removes the named Extended Operation Handler.voidPolicyBasedAccessControlHandlerCfgClient.removeGlobalAccessControlPolicy(String name) Removes the named Global Access Control Policy.voidRootCfgClient.removeHttpAuthorizationMechanism(String name) Removes the named Http Authorization Mechanism.voidRootCfgClient.removeHttpEndpoint(String name) Removes the named Http Endpoint.voidRootCfgClient.removeIdentityMapper(String name) Removes the named Identity Mapper.voidRootCfgClient.removeKeyManagerProvider(String name) Removes the named Key Manager Provider.voidRootCfgClient.removeLogPublisher(String name) Removes the named Log Publisher.voidRootCfgClient.removeLogRetentionPolicy(String name) Removes the named Log Retention Policy.voidRootCfgClient.removeLogRotationPolicy(String name) Removes the named Log Rotation Policy.voidRootCfgClient.removeMailServer(String name) Removes the named Mail Server.voidRootCfgClient.removePasswordGenerator(String name) Removes the named Password Generator.voidRootCfgClient.removePasswordPolicy(String name) Removes the named Password Policy.voidRootCfgClient.removePasswordStorageScheme(String name) Removes the named Password Storage Scheme.voidRootCfgClient.removePasswordValidator(String name) Removes the named Password Validator.voidPluginRootCfgClient.removePlugin(String name) Removes the named Plugin.voidReplicationSynchronizationProviderCfgClient.removeReplicationDomain(String name) Removes the named Replication Domain.voidReplicationSynchronizationProviderCfgClient.removeReplicationServer()Removes the Replication Server if it exists.voidRootCfgClient.removeSaslMechanismHandler(String name) Removes the named Sasl Mechanism Handler.voidRootCfgClient.removeSchemaProvider(String name) Removes the named Schema Provider.voidRootCfgClient.removeServiceDiscoveryMechanism(String name) Removes the named Service Discovery Mechanism.voidRootCfgClient.removeSynchronizationProvider(String name) Removes the named Synchronization Provider.voidRootCfgClient.removeTrustManagerProvider(String name) Removes the named Trust Manager Provider.voidRootCfgClient.removeVirtualAttribute(String name) Removes the named Virtual Attribute. -
Uses of LdapException in org.forgerock.opendj.server.core
Methods in org.forgerock.opendj.server.core that throw LdapExceptionModifier and TypeMethodDescriptionvoidRouter.handleRequest()Routes a request to the appropriate backend(s) for processing.Constructors in org.forgerock.opendj.server.core that throw LdapExceptionModifierConstructorDescriptionRouter(ServerContext serverContext, RequestContext requestContext, Request request, Consumer<Response> out) Creates a new router. -
Uses of LdapException in org.opends.server.api
Methods in org.opends.server.api that return LdapExceptionModifier and TypeMethodDescriptionprotected static LdapExceptionClientConnection.writeTimeLimitExceeded(Duration timeout) Returns a new LdapException for max blocked write time limit exceeded.Methods in org.opends.server.api that throw LdapExceptionModifier and TypeMethodDescriptionabstract voidLocalBackend.addEntry(Entry entry, AddOperation addOperation) Adds the provided entry to this backend.booleanAccessControlHandler.canDiscloseInformation(Entry entry, Dn entryDN, Operation operation) Checks whether the ACIs prevent sending information about the provided entry, or entryDN if entry is null.voidSubentryChangeListener.checkSubentryAddAcceptable(Entry entry) Performs any checking that may be required before subentry add operation.voidSubentryChangeListener.checkSubentryDeleteAcceptable(Entry entry) Performs any checking that may be required before subentry delete operation.voidSubentryChangeListener.checkSubentryModifyAcceptable(Entry oldEntry, Entry newEntry) Performs any checking that may be required before subentry modify operation.voidSubentryChangeListener.checkSubentryModifyDNAcceptable(Entry oldEntry, Entry newEntry) Performs any checking that may be required before subentry modify DN operation.abstract voidLocalBackend.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) Removes the specified entry from this backend.abstract voidSynchronizationProvider.doPreOperation(PreOperationAddOperation addOperation) Performs any necessary synchronization processing that may be needed before the provided add operation is performed.abstract voidSynchronizationProvider.doPreOperation(PreOperationDeleteOperation deleteOperation) Performs any necessary synchronization processing that may be needed before the provided delete operation is performed.abstract voidSynchronizationProvider.doPreOperation(PreOperationModifyDNOperation modifyDNOperation) Performs any necessary synchronization processing that may be needed before the provided modify DN operation is performed.abstract voidSynchronizationProvider.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 ByteStringPasswordStorageScheme.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.booleanLocalBackend.entryExists(Dn entryDN) Indicates whether an entry with the specified DN exists in the backend.voidLocalBackend.exportLDIF(LDIFExportConfig exportConfig) Exports the contents of this backend to LDIF.voidAuthenticationPolicyState.finalizeStateAfterBind()Performs any finalization required after a bind operation has completed.static AuthenticationPolicyAuthenticationPolicy.forUser(Entry userEntry, boolean useDefaultOnError, Consumer<LocalizableMessage> onMultiplePasswordPolicies, ServerContext serverContext) Returns the authentication policy for the user provided user.static AuthenticationPolicyAuthenticationPolicy.forUser(Entry userEntry, ServerContext serverContext) Returns the authentication policy for the user provided user.static AuthenticationPolicyStateAuthenticationPolicyState.forUser(Entry userEntry, Consumer<LocalizableMessage> onMultiplePasswordPolicies, ServerContext serverContext) Returns the authentication policy state for the user provided user.static AuthenticationPolicyStateAuthenticationPolicyState.forUser(Entry userEntry, ServerContext serverContext) Returns the authentication policy state for the user provided user.abstract ByteStringPasswordGenerator.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 ConditionResultAuthenticationPolicyState.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 EntryRetrieves the requested entry from this backend.protected abstract EntryIdentityMapper.getEntryForID(String id) Retrieves the user entry that was mapped to the provided identification string.static EntryIdentityMapper.getEntryForID(String id, List<IdentityMapper<?>> identityMappers) Retrieves the user entry that was mapped to the provided identification string from a list ofIdentityMappers.protected static longAuthenticationPolicyState.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 ofKeyManagerobjects that may be used for interactions requiring access to a key manager.abstract KeyStoreKeyManagerProvider.getKeyStore()Returns the keystore used by this key manager provider.abstract longLocalBackend.getNumberOfChildren(Dn parentDN) Retrieves the number of subordinates immediately below the requested entry.abstract longLocalBackend.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 ofTrustManagerobjects 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.voidSynchronizationProvider.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 voidBackend.handleRequest(RequestContext context, Request request, Consumer<Response> out) Processes a request, publishing the response(s) to the provided consumer.voidLocalBackend.handleRequest(RequestContext context, Request request, Consumer<Response> out) abstract ConditionResultLocalBackend.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.booleanIndicates whether the provided control is allowed based on the access control configuration and the specified operation.booleanAccessControlHandler.isAllowed(AddOperation addOperation) Indicates whether the provided add operation is allowed based on the access control configuration.booleanAccessControlHandler.isAllowed(ModifyOperation modifyOperation) Indicates whether the provided modify operation is allowed based on the access control configuration.final EntryCertificateMapper.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 EntryCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) Implements certificate mapper specific logic for mapping the provided certificate to a user entry.booleanAuthenticationPolicyState.passwordMatches(ByteString password) Returnstrueif the provided password value matches any of the user's passwords.abstract booleanAuthenticationPolicyState.passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword) Returnstrueif the provided password value matches any of the user's passwords.abstract ResultExtendedOperationHandler.processExtendedOperation(ExtendedOperation operation) Processes the provided extended operation.voidLocalBackend.rebuildBackend(RebuildConfig rebuildConfig, ServerContext serverContext, Consumer<Task.WorkCounters> progressCallback) Rebuild indexes in the backend instance.voidLocalBackend.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 voidLocalBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) Moves and/or renames the provided entry in this backend, altering any subordinate entries as necessary.abstract voidLocalBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) Replaces the specified entry with the provided entry in this backend.voidLocalBackend.sampleEntries(Consumer<Entry> consumer, Dn baseDn) Consumes all or a subset of entries contained in this backend under the provided base DN.abstract voidLocalBackend.search(SearchOperation searchOperation) Processes the specified search in this backend.longLocalBackend.verifyBackend(VerifyConfig verifyConfig) Verify the integrity of the backend instance. -
Uses of LdapException in org.opends.server.api.plugin
Methods in org.opends.server.api.plugin that throw LdapExceptionModifier and TypeMethodDescriptionvoidDirectoryServerPlugin.doLDIFImport(LDIFImportConfig importConfig, Entry entry) Performs any necessary processing that should be done during an LDIF import operation immediately after reading an entry and confirming that it should be imported based on the provided configuration.voidDirectoryServerPlugin.doPreOperation(PreOperationAddOperation addOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for an add operation.voidDirectoryServerPlugin.doPreOperation(PreOperationBindOperation bindOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for a bind operation.voidDirectoryServerPlugin.doPreOperation(PreOperationCompareOperation compareOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for a compare operation.voidDirectoryServerPlugin.doPreOperation(PreOperationDeleteOperation deleteOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for a delete operation.voidDirectoryServerPlugin.doPreOperation(PreOperationExtendedOperation extendedOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for an extended operation.voidDirectoryServerPlugin.doPreOperation(PreOperationModifyDNOperation modifyDNOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify DN operation.voidDirectoryServerPlugin.doPreOperation(PreOperationModifyOperation modifyOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify operation.voidDirectoryServerPlugin.doPreOperation(PreOperationSearchOperation searchOperation) Performs any necessary processing that should be done just before the Directory Server performs the core processing for a search operation.voidDirectoryServerPlugin.doPreParse(PreParseAbandonOperation abandonOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of an abandon request.voidDirectoryServerPlugin.doPreParse(PreParseAddOperation addOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of an add request.voidDirectoryServerPlugin.doPreParse(PreParseBindOperation bindOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of a bind request.voidDirectoryServerPlugin.doPreParse(PreParseCompareOperation compareOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of a compare request.voidDirectoryServerPlugin.doPreParse(PreParseDeleteOperation deleteOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of a delete request.voidDirectoryServerPlugin.doPreParse(PreParseExtendedOperation extendedOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of an extended request.voidDirectoryServerPlugin.doPreParse(PreParseModifyDNOperation modifyDNOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of a modify DN request.voidDirectoryServerPlugin.doPreParse(PreParseModifyOperation modifyOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of a modify request.voidDirectoryServerPlugin.doPreParse(PreParseSearchOperation searchOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of a search request.voidDirectoryServerPlugin.doPreParse(PreParseUnbindOperation unbindOperation) Performs any necessary processing that should be done before the Directory Server parses the elements of an unbind request.booleanDirectoryServerPlugin.processIntermediateResponse(InProgressOperation operation, IntermediateResponse intermediateResponse) Performs any necessary processing that should be done before an intermediate response message is sent to a client.booleanDirectoryServerPlugin.processSearchEntry(InProgressSearchOperation searchOperation, SearchResultEntry searchEntry) Performs any necessary processing that should be done before a search result entry is sent to a client.booleanDirectoryServerPlugin.processSearchReference(InProgressSearchOperation searchOperation, SearchResultReference searchReference) Performs any necessary processing that should be done before a search result reference is sent to a client.voidDirectoryServerPlugin.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.voidDirectoryServerPlugin.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. -
Uses of LdapException in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat that throw LdapExceptionModifier and TypeMethodDescriptionvoidPatternRDN.addValue(String type, List<ByteString> valuePattern, String dnString) Add another attribute-value pair to the pattern.booleanAciHandler.canDiscloseInformation(Entry entry, Dn entryDN, Operation operation) static PatternDNCreate a new DN pattern matcher from a pattern string.booleanbooleanAciHandler.isAllowed(AddOperation operation) booleanAciHandler.isAllowed(ModifyOperation operation) -
Uses of LdapException in org.opends.server.authorization.policy
Methods in org.opends.server.authorization.policy that throw LdapExceptionModifier and TypeMethodDescriptionAccessController.checkRequest(RequestContext context, Request request) Checks whether the provided request is allowed or not.static AccessControllerPolicyBasedAccessControlHandler.getAccessController()Returns a new access controller which can be used for authorizing requests and their responses. -
Uses of LdapException in org.opends.server.backends
Methods in org.opends.server.backends that throw LdapExceptionModifier and TypeMethodDescriptionvoidChangelogBackend.addEntry(Entry entry, AddOperation addOperation) voidConfigurationBackend.addEntry(Entry entry, AddOperation addOperation) voidLDIFBackend.addEntry(Entry entry, AddOperation addOperation) voidMemoryBackend.addEntry(Entry entry, AddOperation addOperation) voidMonitorBackend.addEntry(Entry entry, AddOperation addOperation) voidRootDSEBackend.addEntry(Entry entry, AddOperation addOperation) voidSchemaBackend.addEntry(Entry entry, AddOperation addOperation) voidChangelogBackend.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) voidConfigurationBackend.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) voidLDIFBackend.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) voidMemoryBackend.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) voidMonitorBackend.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) voidRootDSEBackend.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) voidSchemaBackend.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) voidConfigurationBackend.exportLDIF(LDIFExportConfig exportConfig) voidMemoryBackend.exportLDIF(LDIFExportConfig exportConfig) voidNullBackend.exportLDIF(LDIFExportConfig exportConfig) voidRootDSEBackend.exportLDIF(LDIFExportConfig exportConfig) voidSchemaBackend.exportLDIF(LDIFExportConfig exportConfig) longChangelogBackend.getNumberOfChildren(Dn parentDN) longConfigurationBackend.getNumberOfChildren(Dn parentDN) longLDIFBackend.getNumberOfChildren(Dn parentDN) longChangelogBackend.getNumberOfEntriesInBaseDN(Dn baseDN) longConfigurationBackend.getNumberOfEntriesInBaseDN(Dn baseDN) longLDIFBackend.getNumberOfEntriesInBaseDN(Dn baseDN) voidProxyBackend.handleRequest(RequestContext context, Request request, Consumer<Response> 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) voidChangelogBackend.registerPersistentSearch(PersistentSearch pSearch) voidChangelogBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidConfigurationBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidLDIFBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidMemoryBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidMonitorBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidRootDSEBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidSchemaBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidChangelogBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) voidConfigurationBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) voidLDIFBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) voidMemoryBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) voidMonitorBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) voidRootDSEBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) voidSchemaBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) voidChangelogBackend.search(SearchOperation searchOperation) Processes the specified search in this backend.voidConfigurationBackend.search(SearchOperation searchOperation) voidLDIFBackend.search(SearchOperation searchOperation) voidMemoryBackend.search(SearchOperation searchOperation) voidMonitorBackend.search(SearchOperation searchOperation) voidNullBackend.search(SearchOperation searchOperation) voidRootDSEBackend.search(SearchOperation searchOp) voidSchemaBackend.search(SearchOperation searchOperation) -
Uses of LdapException in org.opends.server.backends.pluggable
Methods in org.opends.server.backends.pluggable that throw LdapExceptionModifier and TypeMethodDescriptionvoidBackendImpl.addEntry(Entry entry, AddOperation addOperation) voidBackendImpl.deleteEntry(Dn entryDN, DeleteOperation deleteOperation) booleanBackendImpl.entryExists(Dn entryDN) voidBackendImpl.exportLDIF(LDIFExportConfig exportConfig) longBackendImpl.getNumberOfChildren(Dn parentDN) longBackendImpl.getNumberOfEntriesInBaseDN(Dn baseDN) BackendImpl.hasSubordinates(Dn entryDN) BackendImpl.importLDIF(LDIFImportConfig importConfig, ServerContext serverContext) voidBackendImpl.rebuildBackend(RebuildConfig rebuildConfig, ServerContext serverContext, Consumer<Task.WorkCounters> progressCallback) voidBackendImpl.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidBackendImpl.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) voidBackendImpl.sampleEntries(Consumer<Entry> consumer, Dn baseDn) voidBackendImpl.search(SearchOperation searchOperation) longBackendImpl.verifyBackend(VerifyConfig verifyConfig) -
Uses of LdapException in org.opends.server.backends.task
Methods in org.opends.server.backends.task that throw LdapExceptionModifier and TypeMethodDescriptionvoidTaskBackend.addEntry(Entry entry, AddOperation addOperation) voidTaskScheduler.addRecurringTask(Entry recurringTask) Adds a recurring task to the scheduler, optionally scheduling the first iteration for processing.voidTaskBackend.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 voidTask.initializeTask()Performs any task-specific initialization that may be required before processing can start.protected voidTask.initializeTask(Entry taskEntry) Performs any task-specific initialization that may be required before processing can start.static voidRecurringTask.parseTaskTab(String taskSchedule) Parse and validate recurring task schedule.voidTaskScheduler.removeCompletedTask(String taskID) Removes the specified completed task.voidTaskScheduler.removePendingTask(String taskID) Removes the specified pending task.voidTaskScheduler.removeRecurringTask(String recurringTaskID) Removes the recurring task with the given ID.voidTaskBackend.renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation) voidTaskBackend.replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation) RecurringTask.scheduleNextIteration(Instant dateAndTimeToSchedule) Schedules the next iteration of this recurring task for processing.voidTaskScheduler.scheduleTask(Task task) Schedules the provided task for execution.voidTaskBackend.search(SearchOperation searchOp) voidTaskScheduler.searchRecurringTasks(SearchOperation searchOperation) Compares the filter in the provided search operation against each of the recurring task entries, returning any that match.voidTaskScheduler.searchScheduledTasks(SearchOperation searchOperation) Compares the filter in the provided search operation against each of the task entries, returning any that match.Constructors in org.opends.server.backends.task that throw LdapExceptionModifierConstructorDescriptionRecurringTask(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
Methods in org.opends.server.backup that throw LdapExceptionModifier and TypeMethodDescriptionBackupManager.createBackup(Backupable backupable, Cancellable cancellable, boolean signBackup) Backs up a backend to the underlying backup storage. -
Uses of LdapException in org.opends.server.config
Methods in org.opends.server.config that throw LdapExceptionModifier and TypeMethodDescriptionvoidAdd a configuration entry.voidConfigurationHandler.deleteEntry(Dn dn) Delete a configuration entry.voidConfigurationHandler.replaceEntry(Entry oldEntry, Entry newEntry) Replaces the old configuration entry with the new configuration entry provided.voidConfigurationHandler.search(SearchOperation searchOperation) Search the configuration entries.voidConfigurationHandler.writeLDIF(LDIFExportConfig exportConfig) Writes the current configuration to LDIF with the provided export configuration. -
Uses of LdapException in org.opends.server.core
Methods in org.opends.server.core that throw LdapExceptionModifier and TypeMethodDescriptionstatic voidLockFileManager.acquireExclusiveLockForBackend(String backendID, LocalizableMessageDescriptor.Arg2<Object, Object> failureMsg, DirectoryEnvironmentConfig environmentConfig) Attempts to acquire an exclusive lock on the specified backend ID.static voidLockFileManager.acquireSharedLockForBackend(String backendID, LocalizableMessageDescriptor.Arg2<Object, Object> failureMsg, DirectoryEnvironmentConfig environmentConfig) Attempts to acquire an shared lock on the specified backend ID.voidBackendConfigManager.activateBackend(String backendId) Loads and registers a configured and enabled backend.voidModifyOperation.addModification(Modification modification) Adds the provided modification to the set of modifications to this modify operation.voidBackendConfigManager.deactivateBackend(String backendId) Deregisters and finalizes a configured and active backend.voidSubentryManager.doPreOperation(PreOperationAddOperation addOperation) voidSubentryManager.doPreOperation(PreOperationDeleteOperation deleteOperation) voidSubentryManager.doPreOperation(PreOperationModifyDNOperation modifyDNOperation) voidSubentryManager.doPreOperation(PreOperationModifyOperation modifyOperation) PasswordPolicyState.encodePassword(ByteString password) Encodes the provided password using the default storage schemes (using the appropriate syntax for the password attribute).booleanDirectoryServer.entryExists(Dn entryDN) booleanServerContext.entryExists(Dn entryDN) Indicates whether the specified entry exists in the Directory Server.voidPasswordPolicyState.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.voidDirectoryServer.handleRequest(RequestContext context, Request request, Consumer<Response> responseWriter) voidServerContext.handleRequest(RequestContext context, Request request, Consumer<Response> responseWriter) Routes an LDAP request to the appropriate backend(s) for processing.protected voidSearchOperation.handleRequestControls()Handles any controls contained in the request.voidPluginConfigManager.invokeLDIFImportPlugins(LDIFImportConfig importConfig, Entry entry) Invokes the set of LDIF import plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreOperationAddPlugins(PreOperationAddOperation addOperation) Invokes the set of pre-operation add plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreOperationBindPlugins(PreOperationBindOperation bindOperation) Invokes the set of pre-operation bind plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreOperationComparePlugins(PreOperationCompareOperation compareOperation) Invokes the set of pre-operation compare plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreOperationDeletePlugins(PreOperationDeleteOperation deleteOperation) Invokes the set of pre-operation delete plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreOperationExtendedPlugins(PreOperationExtendedOperation extendedOperation) Invokes the set of pre-operation extended plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreOperationModifyDNPlugins(PreOperationModifyDNOperation modifyDNOperation) Invokes the set of pre-operation modify DN plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreOperationModifyPlugins(PreOperationModifyOperation modifyOperation) Invokes the set of pre-operation modify plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreOperationSearchPlugins(PreOperationSearchOperation searchOperation) Invokes the set of pre-operation search plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreParseAbandonPlugins(PreParseAbandonOperation abandonOperation) Invokes the set of pre-parse abandon plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreParseAddPlugins(PreParseAddOperation addOperation) Invokes the set of pre-parse add plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreParseBindPlugins(PreParseBindOperation bindOperation) Invokes the set of pre-parse bind plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreParseComparePlugins(PreParseCompareOperation compareOperation) Invokes the set of pre-parse compare plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreParseDeletePlugins(PreParseDeleteOperation deleteOperation) Invokes the set of pre-parse delete plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreParseExtendedPlugins(PreParseExtendedOperation extendedOperation) Invokes the set of pre-parse extended plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreParseModifyDNPlugins(PreParseModifyDNOperation modifyDNOperation) Invokes the set of pre-parse modify DN plugins that have been configured in the Directory Server.voidPluginConfigManager.invokePreParseModifyPlugins(PreParseModifyOperation modifyOperation) Invokes the set of pre-parse modify plugins that have been configured in the Directory Server.protected voidAbandonOperation.invokePreParsePlugins()protected voidAddOperation.invokePreParsePlugins()protected voidBindOperation.invokePreParsePlugins()protected voidCompareOperation.invokePreParsePlugins()protected voidDeleteOperation.invokePreParsePlugins()protected voidExtendedOperation.invokePreParsePlugins()protected voidModifyDnOperation.invokePreParsePlugins()protected voidModifyOperation.invokePreParsePlugins()protected voidSearchOperation.invokePreParsePlugins()voidPluginConfigManager.invokePreParseSearchPlugins(PreParseSearchOperation searchOperation) Invokes the set of pre-parse search plugins that have been configured in the Directory Server.booleanPluginConfigManager.invokeSearchResultEntryPlugins(InProgressSearchOperation searchOperation, SearchResultEntry searchEntry) Invokes the set of search result entry plugins that have been configured in the Directory Server.booleanPluginConfigManager.invokeSearchResultReferencePlugins(InProgressSearchOperation searchOperation, SearchResultReference searchReference) Invokes the set of search result reference plugins that have been configured in the Directory Server.voidPluginConfigManager.invokeSubordinateDeletePlugins(DeleteOperation deleteOperation, Dn entryDn, boolean isCommitted) Invokes the set of subordinate delete plugins that have been configured in the Directory Server.voidPluginConfigManager.invokeSubordinateModifyDNPlugins(SubordinateModifyDNOperation modifyDNOperation, Dn oldEntryDn, Dn newEntryDn) Invokes the set of subordinate modify DN plugins that have been configured in the Directory Server.default booleanIndicates whether the user with the specified DN is a member of this group.booleanGroup.isMember(Dn userDN, Group.ExaminedGroups examinedGroups) Indicates whether the user with the specified DN is a member of this group.default booleanIndicates whether the user described by the provided user entry is a member of this group.booleanGroup.isMember(Entry userEntry, Group.ExaminedGroups examinedGroups) Indicates whether the user described by the provided user entry is a member of this group.voidBackendConfigManager.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.voidSearchOperation.rejectIfTimeLimitExpired()Returns whether the search operation has reached its time limit.static voidLockFileManager.releaseBackendLock(String backendID, LocalizableMessageDescriptor.Arg2<Object, Object> failureMsg, DirectoryEnvironmentConfig environmentConfig) Attempts to release a lock on the backend id.voidSearchOperation.returnEntry(Entry entry, List<Control> controls) Used as a callback for backends to indicate that the provided entry matches the search criteria and that additional processing should be performed to potentially send it back to the client.voidSearchOperation.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.voidBindOperation.runFakePasswordMatches(Dn bindDn, ByteString password) When using cost based hashes, ensure similar response times when login with non-existing vs.AbandonOperation.runImpl()protected ResultAddOperation.runImpl()protected ResultBindOperation.runImpl()protected ResultCompareOperation.runImpl()protected ResultDeleteOperation.runImpl()protected ResultExtendedOperation.runImpl()protected ResultModifyDnOperation.runImpl()protected ResultModifyOperation.runImpl()protected ResultSearchOperation.runImpl()protected ResultUnbindOperation.runImpl()Constructors in org.opends.server.core that throw LdapExceptionModifierConstructorDescriptionSubentryPasswordPolicy(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.crypto
Methods in org.opends.server.crypto that throw LdapExceptionModifier and TypeMethodDescriptionGetSymmetricKeyExtendedOperation.processExtendedOperation(ExtendedOperation operation) Processes the provided extended operation. -
Uses of LdapException in org.opends.server.extensions
Methods in org.opends.server.extensions that throw LdapExceptionModifier and TypeMethodDescriptionPKCS5S2PasswordStorageScheme.encodeAuthPassword(ByteString plaintext) static StringPBKDF2HmacSHA256PasswordStorageScheme.encodeOffline(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static StringPBKDF2HmacSHA512PasswordStorageScheme.encodeOffline(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static StringPBKDF2HmacSHA512T256PasswordStorageScheme.encodeOffline(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static StringPBKDF2PasswordStorageScheme.encodeOffline(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static StringSaltedSHA1PasswordStorageScheme.encodeOffline(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.static StringSaltedSHA512PasswordStorageScheme.encodeOffline(byte[] passwordBytes) Generates an encoded password string from the given clear-text password.Argon2PasswordStorageScheme.encodePassword(ByteString plaintext) BcryptPasswordStorageScheme.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()protected EntryFingerprintCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) protected EntrySubjectAttributeToUserAttributeCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) protected EntrySubjectDNToUserAttributeCertificateMapper.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.CancelExtendedOperation.processExtendedOperation(ExtendedOperation operation) PasswordModifyExtendedOperation.processExtendedOperation(ExtendedOperation operation) PasswordPolicyStateExtendedOperation.processExtendedOperation(ExtendedOperation operation) StartTLSExtendedOperation.processExtendedOperation(ExtendedOperation operation) WhoAmIExtendedOperation.processExtendedOperation(ExtendedOperation operation) -
Uses of LdapException in org.opends.server.plugins
Methods in org.opends.server.plugins that throw LdapExceptionModifier and TypeMethodDescriptionvoidEntityTagPlugin.doLDIFImport(LDIFImportConfig importConfig, Entry entry) voidEntryUUIDPlugin.doLDIFImport(LDIFImportConfig importConfig, Entry entry) voidPasswordPolicyImportPlugin.doLDIFImport(LDIFImportConfig importConfig, Entry entry) voidSevenBitCleanPlugin.doLDIFImport(LDIFImportConfig importConfig, Entry entry) voidEntityTagPlugin.doPreOperation(PreOperationModifyOperation modifyOperation) voidLastModPlugin.doPreOperation(PreOperationModifyOperation modifyOperation) voidReferentialIntegrityPlugin.doPreOperation(PreOperationAddOperation addOperation) voidReferentialIntegrityPlugin.doPreOperation(PreOperationModifyOperation modifyOperation) voidUniqueAttributePlugin.doPreOperation(PreOperationAddOperation addOperation) voidUniqueAttributePlugin.doPreOperation(PreOperationModifyDNOperation modifyDnOp) voidUniqueAttributePlugin.doPreOperation(PreOperationModifyOperation modifyOperation) voidSevenBitCleanPlugin.doPreParse(PreParseAddOperation addOperation) voidSevenBitCleanPlugin.doPreParse(PreParseModifyDNOperation modifyDNOperation) voidSevenBitCleanPlugin.doPreParse(PreParseModifyOperation modifyOperation) -
Uses of LdapException in org.opends.server.replication.common
Constructors in org.opends.server.replication.common that throw LdapExceptionModifierConstructorDescriptionMultiDomainServerState(String cookie) Create an object from a string representation. -
Uses of LdapException in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin that throw LdapExceptionModifier and TypeMethodDescriptionlongLDAPReplicationDomain.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.voidFractionalLDIFImportPlugin.doLDIFImport(LDIFImportConfig importConfig, Entry entry) See class comment for what we achieve here...voidMultimasterReplication.doPreOperation(PreOperationModifyOperation modifyOperation) protected voidLDAPReplicationDomain.exportBackend(OutputStream output) This method trigger an export of the replicated data.MultimasterReplication.handleConflictResolution(PreOperationAddOperation addOperation) voidMultimasterReplication.handleConflictResolution(PreOperationDeleteOperation deleteOperation) MultimasterReplication.handleConflictResolution(PreOperationModifyDNOperation modifyDNOperation) MultimasterReplication.handleConflictResolution(PreOperationModifyOperation modifyOperation) protected voidLDAPReplicationDomain.importBackend(InputStream input) This method triggers an import of the replicated data.protected voidLDAPReplicationDomain.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.voidLDAPReplicationDomain.purgeConflictsHistorical(PurgeConflictsHistoricalTask task, Duration purgeTaskMaxDuration) Check and purge the historical attribute on all eligible entries under this domain.static LDAPReplicationDomainLDAPReplicationDomain.retrievesReplicationDomain(Dn baseDN, ServerContext serverContext) Retrieves a replication domain based on the baseDN. -
Uses of LdapException in org.opends.server.replication.server
Methods in org.opends.server.replication.server that throw LdapExceptionModifier and TypeMethodDescriptionbooleanReplicationServerDomain.isAlreadyConnectedToRS(org.opends.server.replication.server.PeerReplicationServer peerRs) Checks whether a remote RS is already connected to this hosting RS.voidReplicationServer.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
Methods in org.opends.server.replication.service that return LdapExceptionModifier and TypeMethodDescriptionReplicationDomain.ImportExportContext.getException()Get the exception that occurred during the import/export.Methods in org.opends.server.replication.service with parameters of type LdapExceptionModifier and TypeMethodDescriptionvoidReplicationDomain.ImportExportContext.setException(LdapException e) Set the exception that occurred during the import/export.voidReplicationDomain.ImportExportContext.setExceptionIfNoneSet(LdapException e) Only sets the exception that occurred during the import/export if none was already set on this object.Methods in org.opends.server.replication.service that throw LdapExceptionModifier and TypeMethodDescriptionabstract longReplicationDomain.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 voidReplicationDomain.exportBackend(OutputStream output) This method should trigger an export of the replicated data.protected abstract voidReplicationDomain.importBackend(InputStream input) This method should trigger an import of the replicated data.voidReplicationDomain.initializeFromRemote(ReplicaId source, Task initTask) Initializes asynchronously this domain from a remote source server.voidReplicationDomain.initializeRemote(ReplicaId target, Task initTask) Initializes a remote server from this server.protected voidReplicationDomain.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.voidReplicationDomain.resetGenerationId(GenerationId generationIdNewValue) Reset the generationId of this domain in the whole topology. -
Uses of LdapException in org.opends.server.schema
Methods in org.opends.server.schema that throw LdapExceptionModifier and TypeMethodDescriptionvoidSchemaHandler.importEntry(Entry newSchemaEntry, AlertGenerator alertGenerator) Imports the provided schema entry in the schema.voidSchemaHandler.updateSchema(SchemaHandler.SchemaUpdater updater) Updates the schema using the provided schema updater.voidSchemaHandler.updateSchemaAndConcatenatedSchemaFile(Schema newSchema) Replaces the schema with the provided schema and update the concatenated schema file.voidSchemaHandler.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> voidSchemaHandler.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
Methods in org.opends.server.tasks with parameters of type LdapExceptionModifier and TypeMethodDescriptionvoidInitializeTask.retry(LdapException reason) The task was not successful but can be retried, set the state accordingly.voidInitializeTask.updateTaskCompletionState(LdapException e) Set the state for the current task.Methods in org.opends.server.tasks that throw LdapExceptionModifier and TypeMethodDescriptionvoidAddSchemaFileTask.initializeTask(Entry taskEntry) protected voidBackupPurgeTask.initializeTask(Entry taskEntry) voidBackupTask.initializeTask(Entry taskEntry) voidDisconnectClientTask.initializeTask(Entry taskEntry) voidEnterLockdownModeTask.initializeTask(Entry taskEntry) voidExportTask.initializeTask(Entry taskEntry) voidImportTask.initializeTask(Entry taskEntry) voidInitializeTargetTask.initializeTask(Entry taskEntry) voidInitializeTask.initializeTask(Entry taskEntry) voidLeaveLockdownModeTask.initializeTask(Entry taskEntry) voidPurgeConflictsHistoricalTask.initializeTask(Entry taskEntry) voidRebuildTask.initializeTask(Entry taskEntry) voidRestoreTask.initializeTask(Entry taskEntry) voidSetGenerationIdTask.initializeTask(Entry taskEntry) voidShutdownTask.initializeTask(Entry taskEntry) Performs any task-specific initialization that may be required before processing can start.voidImportExportParams.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
Methods in org.opends.server.tools.tasks that throw LdapExceptionModifier and TypeMethodDescriptionvoidTaskClient.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
Methods in org.opends.server.types that return LdapExceptionModifier and TypeMethodDescriptionprotected LdapExceptionOperation.createLdapException(Operation operation, Entry entry, Dn entryDN, Result result, Result altResult) Returns a newLdapExceptionbuilt from the provided resultCodes and messages.Methods in org.opends.server.types with parameters of type LdapExceptionModifier and TypeMethodDescriptionfinal voidOperation.setResult(LdapException e) Sets the response elements for this operation based on the information contained in the providedexceptionobject.Methods in org.opends.server.types that throw LdapExceptionModifier and TypeMethodDescriptionprotected voidOperation.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 voidOperation.checkIfBackendIsWritable(Dn entryDN, LocalizableMessageDescriptor.Arg1<Object> serverMsg, LocalizableMessageDescriptor.Arg1<Object> backendMsg) Checks if an update operation can be performed against a backend.protected LdapExceptionOperation.createLdapException(Operation operation, Entry entry, Dn entryDN, Result result, Result altResult) Returns a newLdapExceptionbuilt from the provided resultCodes and messages.static FilePermissionFilePermission.decodeUNIXMode(String modeString) Decodes the provided string as a UNIX mode and retrieves the corresponding file permission.final voidOperation.evaluateProxyAuthControls()Evaluate all aci and privilege checks for any proxy auth controls.static EntryProxyAuthHelper.getAuthorizationEntryFromControl(ProxiedAuthV1RequestControl proxiedAuthControl, ServerContext serverContext) Retrieves the authorization entry for the provided proxied authorization V1 control.static EntryProxyAuthHelper.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 voidOperation.invokePreParsePlugins()Invokes any applicable pre-parse plugins.static LDAPURLLDAPURL.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 voidOperation.removeAllDisallowedControls(Dn targetDN) Removes all the disallowed request controls from this operation.final ResultOperation.run()Processes this operation in the local backend.protected abstract ResultOperation.runImpl()Performs the work of actually processing this operation.static booleanFilePermission.setPermissions(Path f, FilePermission p) Attempts to set the given permissions on the specified file.static LDAPURLDecodes the provided string as an LDAP URL.Constructors in org.opends.server.types that throw LdapExceptionModifierConstructorDescriptionSubEntry(Entry entry, ServerContext serverContext) Constructs a subentry object from a given entry object. -
Uses of LdapException in org.opends.server.types.operation
Methods in org.opends.server.types.operation with parameters of type LdapExceptionModifier and TypeMethodDescriptionvoidInProgressOperation.setResult(LdapException e) Sets the response elements for this operation based on the information contained in the providedexceptionobject.voidPostOperationOperation.setResult(LdapException e) Sets the response elements for this operation based on the information contained in the providedexceptionobject.Methods in org.opends.server.types.operation that throw LdapExceptionModifier and TypeMethodDescriptionvoidPreOperationModifyOperation.addModification(Modification modification) Adds the provided modification to the set of modifications to this modify operation.voidPreParseModifyOperation.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.voidPreOperationSearchOperation.returnEntry(Entry entry, List<Control> controls) Returns the provided entry to the client.voidPreParseSearchOperation.returnEntry(Entry entry, List<Control> controls) Returns the provided entry to the client.voidPreOperationSearchOperation.returnReference(Dn dn, SearchResultReference reference) Returns the provided search result reference to the client.voidPreParseSearchOperation.returnReference(Dn dn, SearchResultReference reference) Returns the provided search result reference to the client. -
Uses of LdapException in org.opends.server.util
Methods in org.opends.server.util that throw LdapExceptionModifier and TypeMethodDescriptionstatic SSLContextSslUtils.createSslContext(Collection<Dn> trustManagerProviderDns, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, ServerContext serverContext) Creates an SSL context.static SslOptionsSslUtils.createSslOptions(Collection<Dn> trustManagerProviderDns, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, SortedSet<String> sslCipherSuites, SortedSet<String> sslProtocols, ServerContext serverContext) CreatesSslOptionsfor the provided parameters.static KeyManager[]SslUtils.getKeyManagers(Dn keyManagerProviderDn, String friendlyName, Set<String> sslCertNicknames, ServerContext serverContext) Returns an array ofKeyManagers for use by theSSLContextwhile setting up communication.static TrustManager[]SslUtils.getTrustManagers(Collection<Dn> trustManagerProviderDns, ServerContext serverContext) Returns an array ofTrustManagers for use by theSSLContextwhile setting up communication.static StringSchemaUtils.parseAttributeTypeOID(String definition) Returns the OID from the provided attribute type definition, assuming the definition is valid.static StringSchemaUtils.parseDITContentRuleOID(String definition) Returns the OID from the provided DIT content rule definition, assuming the definition is valid.static StringSchemaUtils.parseMatchingRuleUseOID(String definition) Returns the OID from the provided matching rule use definition, assuming the definition is valid.static StringSchemaUtils.parseNameFormOID(String definition) Returns the OID from the provided name form definition, assuming the definition is valid.static StringSchemaUtils.parseObjectClassOID(String definition) Returns the OID from the provided object class definition, assuming the definition is valid.static intSchemaUtils.parseRuleID(String definition) Returns the ruleID from the provided DIT structure rule definition, assuming the definition is valid.static StringSchemaUtils.parseSchemaFileFromElementDefinition(String definition) Parses the schema file (value of X-SCHEMA-FILE extension) from the provided schema element definition.static StringSchemaUtils.parseSyntaxOID(String definition) Returns the OID from the provided syntax definition, assuming the definition is valid.