Uses of Class
org.forgerock.opendj.ldap.LdapException
-
Packages that use LdapException Package Description org.forgerock.opendj.config Common administration classes.org.forgerock.opendj.config.client Common client-side administration classes.org.forgerock.opendj.config.client.spi Client side driver implementation interfaces.org.forgerock.opendj.config.conditions Logical conditions for defining constraints.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.messages Classes and interfaces for core LDAP requests/responses.org.forgerock.opendj.ldap.schema Classes and interfaces for constructing and querying LDAP schemas.org.forgerock.opendj.ldif Classes and interfaces for reading and writing LDIF.org.forgerock.opendj.server.config.client Provides client-side interfaces for querying and managing the Core directory server administrative components.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.authorization.dseecompat Contains the Directory Server Sun Java System Directory Server Enterprise Edition (dseecompat) compatability access control handler implementation.org.opends.server.backends Contains various Directory Server backend implementations.org.opends.server.backends.pluggable Contains the code for implementing Directory Server pluggable storage backends.org.opends.server.backends.task Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.org.opends.server.backup Classes related to backup and restore.org.opends.server.config Contains code used to interact with the Directory Server configuration.org.opends.server.core Contains various classes that comprise the core of the Directory Server codebase.org.opends.server.extensions Contains various implementations of Directory Server APIs that are not appropriate for other packages.org.opends.server.protocols Contains various Directory Server connection handler implementations which will be used to accept connections from and perform communication with clients over various protocols.org.opends.server.protocols.http Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using HTTP.org.opends.server.protocols.jmx Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using JMX.org.opends.server.replication.common This package contains utilities that can are used by all the packages below org.opends.server.replication.org.opends.server.replication.plugin This package contains the part of the Multi-master replication code that works on the Directory Server side.org.opends.server.replication.server This package contains the code for the Replication Server part of the Multimaster replication feature.org.opends.server.replication.service This package contains the generic of the Multi-Master replication code that works on the Directory Server side.org.opends.server.schema Contains implementations of various Directory Server schema elements.org.opends.server.tasks Contains implementations for various Directory Server tasks.org.opends.server.tools.tasks This package contains classes that support client tool interaction with the tasks backend.org.opends.server.types Contains implementations for a number of Directory Server data types.org.opends.server.types.operation Contains a number of interfaces that are implemented by the various types of Directory Server operations.org.opends.server.util Contains implementations for various Directory Server utility classes and methods which may be used throughout the server but do not necessarily fit in elsewhere. -
-
Uses of LdapException in org.forgerock.opendj.config
Methods in org.forgerock.opendj.config that throw LdapException Modifier and Type Method Description voidConfigurationClient. 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 LdapException Modifier and Type Method Description voidManagedObject. 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.<C extends ConfigurationClient,S extends Configuration>
booleanDriverBasedManagementContext. deleteManagedObject(ManagedObjectPath<?,?> parent, InstantiableRelationDefinition<C,S> rd, String name)<C extends ConfigurationClient,S extends Configuration>
booleanDriverBasedManagementContext. deleteManagedObject(ManagedObjectPath<?,?> parent, OptionalRelationDefinition<C,S> rd)<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.<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.<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.<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.<C extends ConfigurationClient,S extends Configuration>
String[]DriverBasedManagementContext. listManagedObjects(ManagedObjectPath<?,?> parent, InstantiableRelationDefinition<C,S> rd)<C extends ConfigurationClient,S extends Configuration>
String[]DriverBasedManagementContext. listManagedObjects(ManagedObjectPath<?,?> parent, InstantiableRelationDefinition<C,S> rd, AbstractManagedObjectDefinition<? extends C,? extends S> d)<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.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 LdapException Modifier and Type Method Description protected abstract voidAbstractManagedObject. addNewManagedObject()Adds this new managed object.voidAbstractManagedObject. commit()<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.<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.<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.<C extends ConfigurationClient,S extends Configuration>
ManagedObject<? extends C>AbstractManagedObject. getChild(InstantiableRelationDefinition<C,S> r, String name)<C extends ConfigurationClient,S extends Configuration>
ManagedObject<? extends C>AbstractManagedObject. getChild(OptionalRelationDefinition<C,S> r)<C extends ConfigurationClient,S extends Configuration>
ManagedObject<? extends C>AbstractManagedObject. getChild(SetRelationDefinition<C,S> r, String name)<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.<C extends ConfigurationClient,S extends Configuration>
booleanAbstractManagedObject. hasChild(OptionalRelationDefinition<C,S> r)<C extends ConfigurationClient,S extends Configuration>
String[]AbstractManagedObject. listChildren(InstantiableRelationDefinition<C,S> r)<C extends ConfigurationClient,S extends Configuration>
String[]AbstractManagedObject. listChildren(InstantiableRelationDefinition<C,S> r, AbstractManagedObjectDefinition<? extends C,? extends S> d)<C extends ConfigurationClient,S extends Configuration>
String[]AbstractManagedObject. listChildren(SetRelationDefinition<C,S> r)<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.<C extends ConfigurationClient,S extends Configuration>
voidAbstractManagedObject. removeChild(InstantiableRelationDefinition<C,S> r, String name)<C extends ConfigurationClient,S extends Configuration>
voidAbstractManagedObject. removeChild(OptionalRelationDefinition<C,S> r)<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 LdapException Modifier and Type Method Description booleanCondition. 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.ldap Modifier and Type Class Description classAssertionFailureExceptionThrown 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.classAuthenticationExceptionThrown when the result code returned in a Result indicates that the Bind Request failed due to an authentication failure.classAuthorizationExceptionThrown when the result code returned in a Result indicates that the Request failed due to an authorization failure.classCancelledResultExceptionThrown when the result code returned in a Result indicates that the Request was cancelled.classConnectionExceptionThrown when the result code returned in a Result indicates that the Request was unsuccessful because of a connection failure.classConstraintViolationExceptionThrown 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.classEntryNotFoundExceptionThrown when the result code returned in a Result indicates that the Request failed because the target entry was not found by the Directory Server.classMultipleEntriesFoundExceptionThrown 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.classReferralExceptionThrown 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.classTimeoutResultExceptionThrown 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 LdapException Modifier and Type Method Description 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, 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.Methods in org.forgerock.opendj.ldap that return types with arguments of type LdapException Modifier and Type Method Description Promise<Connection,LdapException>ConnectionFactory. getConnectionAsync()Asynchronously obtains a connection to the Directory Server associated with this connection factory.Promise<Connection,LdapException>LdapConnectionFactory. getConnectionAsync()Methods in org.forgerock.opendj.ldap with parameters of type LdapException Modifier and Type Method Description voidConnectionEventListener. 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 LdapException Modifier and Type Method Description <VOUT> LdapPromise<VOUT>LdapPromise. then(Function<? super S,VOUT,LdapException> onResult)<VOUT> LdapPromise<VOUT>LdapPromise. thenAsync(AsyncFunction<? super S,VOUT,LdapException> onResult)LdapPromise<S>LdapPromise. thenOnException(ExceptionHandler<? super LdapException> onException)LdapPromise<S>LdapPromise. thenOnResultOrException(ResultHandler<? super S> onResult, ExceptionHandler<? super LdapException> onException)Methods in org.forgerock.opendj.ldap that throw LdapException Modifier and Type Method Description ResultAbstractAsynchronousConnection. add(AddRequest request)ResultAbstractConnection. add(String... ldifLines)ResultAbstractConnection. add(Entry entry)ResultAbstractConnectionWrapper. add(String... ldifLines)Adds an entry to the Directory Server using the provided lines of LDIF.ResultAbstractConnectionWrapper. add(Entry entry)Adds the provided entry to the Directory Server.ResultAbstractConnectionWrapper. add(AddRequest request)Adds an entry to the Directory Server using the provided add request.ResultConnection. add(String... ldifLines)Adds an entry to the Directory Server using the provided lines of LDIF.ResultConnection. add(Entry entry)Adds the provided entry to the Directory Server.ResultConnection. add(AddRequest request)Adds an entry to the Directory Server using the provided add request.ResultAbstractConnection. applyChange(ChangeRecord request)ResultAbstractConnectionWrapper. applyChange(ChangeRecord request)Applies the provided change request to the Directory Server.ResultConnection. applyChange(ChangeRecord request)Applies the provided change request to the Directory Server.BindResultAbstractAsynchronousConnection. bind(BindRequest request)BindResultAbstractConnection. bind(String name, char[] password)BindResultAbstractConnectionWrapper. bind(String name, char[] password)Authenticates to the Directory Server using simple authentication and the provided user name and password.BindResultAbstractConnectionWrapper. bind(BindRequest request)Authenticates to the Directory Server using the provided bind request.BindResultConnection. bind(String name, char[] password)Authenticates to the Directory Server using simple authentication and the provided user name and password.BindResultConnection. bind(BindRequest request)Authenticates to the Directory Server using the provided bind request.Comparator<Entry>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.Comparator<Entry>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.CompareResultAbstractAsynchronousConnection. compare(CompareRequest request)CompareResultAbstractConnection. compare(String name, String attributeDescription, String assertionValue)CompareResultAbstractConnectionWrapper. compare(String name, String attributeDescription, String assertionValue)Compares the named entry in the Directory Server against the provided attribute value assertion.CompareResultAbstractConnectionWrapper. compare(CompareRequest request)Compares an entry in the Directory Server using the provided compare request.CompareResultConnection. compare(String name, String attributeDescription, String assertionValue)Compares the named entry in the Directory Server against the provided attribute value assertion.CompareResultConnection. compare(CompareRequest request)Compares an entry in the Directory Server using the provided compare request.ResultAbstractAsynchronousConnection. delete(DeleteRequest request)ResultAbstractConnection. delete(String name)ResultAbstractConnectionWrapper. delete(String name)Deletes the named entry from the Directory Server.ResultAbstractConnectionWrapper. delete(DeleteRequest request)Deletes an entry from the Directory Server using the provided delete request.ResultConnection. delete(String name)Deletes the named entry from the Directory Server.default ResultConnection. delete(Dn name)Deletes the named entry from the Directory Server.ResultConnection. delete(DeleteRequest request)Deletes an entry from the Directory Server using the provided delete request.ResultAbstractConnection. deleteSubtree(String name)ResultAbstractConnectionWrapper. deleteSubtree(String name)Deletes the named entry and all of its subordinates from the Directory Server.ResultConnection. 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)GenericExtendedResultAbstractConnection. extendedRequest(String requestName, ByteString requestValue)<R extends ExtendedResult>
RAbstractConnection. extendedRequest(ExtendedRequest<R> request)GenericExtendedResultAbstractConnectionWrapper. 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.GenericExtendedResultConnection. 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.ConnectionConnectionFactory. getConnection()Returns a connection to the Directory Server associated with this connection factory.ConnectionLdapConnectionFactory. getConnection()ResultAbstractAsynchronousConnection. modify(ModifyRequest request)ResultAbstractConnection. modify(String... ldifLines)ResultAbstractConnectionWrapper. modify(String... ldifLines)Modifies an entry in the Directory Server using the provided lines of LDIF.ResultAbstractConnectionWrapper. modify(ModifyRequest request)Modifies an entry in the Directory Server using the provided modify request.ResultConnection. modify(String... ldifLines)Modifies an entry in the Directory Server using the provided lines of LDIF.ResultConnection. modify(ModifyRequest request)Modifies an entry in the Directory Server using the provided modify request.ResultAbstractAsynchronousConnection. modifyDn(ModifyDnRequest request)ResultAbstractConnection. modifyDn(String name, String newRDN)ResultAbstractConnectionWrapper. modifyDn(String name, String newRDN)Renames the named entry in the Directory Server using the provided new RDN.ResultAbstractConnectionWrapper. modifyDn(ModifyDnRequest request)Renames an entry in the Directory Server using the provided modify DN request.ResultConnection. modifyDn(String name, String newRDN)Renames the named entry in the Directory Server using the provided new RDN.ResultConnection. 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.SearchResultEntryAbstractConnection. readEntry(String baseObject, String... attributeDescriptions)SearchResultEntryAbstractConnection. readEntry(Dn baseObject, String... attributeDescriptions)SearchResultEntryAbstractConnectionWrapper. readEntry(String name, String... attributeDescriptions)Reads the named entry from the Directory Server.SearchResultEntryAbstractConnectionWrapper. readEntry(Dn name, String... attributeDescriptions)Reads the named entry from the Directory Server.SearchResultEntryConnection. readEntry(String name, String... attributeDescriptions)Reads the named entry from the Directory Server.SearchResultEntryConnection. readEntry(Dn name, String... attributeDescriptions)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.ResultAbstractAsynchronousConnection. search(SearchRequest request, SearchResultHandler handler)ResultAbstractConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries)ResultAbstractConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)ResultAbstractConnectionWrapper. search(SearchRequest request, Collection<? super SearchResultEntry> entries)Searches the Directory Server using the provided search request.ResultAbstractConnectionWrapper. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)Searches the Directory Server using the provided search request.ResultAbstractConnectionWrapper. search(SearchRequest request, SearchResultHandler handler)Searches the Directory Server using the provided search request.ResultConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries)Searches the Directory Server using the provided search request.ResultConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)Searches the Directory Server using the provided search request.ResultConnection. search(SearchRequest request, SearchResultHandler handler)Searches the Directory Server using the provided search request.SearchResultEntryAbstractConnection. searchSingleEntry(String baseObject, SearchScope scope, String filter, String... attributeDescriptions)SearchResultEntryAbstractConnection. searchSingleEntry(SearchRequest request)SearchResultEntryAbstractConnectionWrapper. searchSingleEntry(String baseObject, SearchScope scope, String filter, String... attributeDescriptions)Searches the Directory Server for a single entry using the provided search parameters.SearchResultEntryAbstractConnectionWrapper. searchSingleEntry(SearchRequest request)Searches the Directory Server for a single entry using the provided search request.SearchResultEntryConnection. searchSingleEntry(String baseObject, SearchScope scope, String filter, String... attributeDescriptions)Searches the Directory Server for a single entry using the provided search parameters.SearchResultEntryConnection. searchSingleEntry(SearchRequest request)Searches the Directory Server for a single entry using the provided search request. -
Uses of LdapException in org.forgerock.opendj.ldap.messages
Methods in org.forgerock.opendj.ldap.messages that return LdapException Modifier and Type Method Description LdapExceptionInvalidRequest. getReason()Returns the reason why this request is invalid.Methods in org.forgerock.opendj.ldap.messages with parameters of type LdapException Modifier and Type Method Description static InvalidRequestRequests. newInvalidRequest(Request.RequestType invalidRequestType, String invalidRawDn, LdapException reason)Creates a new invalid request using the provided reason. -
Uses of LdapException in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return types with arguments of type LdapException Modifier and Type Method Description Function<Dn,Entry,LdapException>SchemaValidationPolicy. checkDitStructureRulesParentEntryResolver()Returns the parent entry resolver which should be used for retrieving the parent entry during DIT structure rule validation.Method parameters in org.forgerock.opendj.ldap.schema with type arguments of type LdapException Modifier and Type Method Description SchemaValidationPolicySchemaValidationPolicy. 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 LdapException Modifier and Type Method Description SchemaBuilderSchemaBuilder. 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.SchemaBuilderSchemaBuilder. 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 LdapException Modifier and Type Method Description booleanConnectionEntryReader. 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.SearchResultEntryConnectionEntryReader. readEntry()Waits for the next search result entry or reference to become available and, if it is an entry, returns it as aSearchResultEntry.SearchResultReferenceConnectionEntryReader. readReference()Waits for the next search result entry or reference to become available and, if it is a reference, returns it as aSearchResultReference.ResultConnectionEntryReader. 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.ConnectionChangeRecordWriterConnectionChangeRecordWriter. writeChangeRecord(AddRequest change)Writes the provided Add request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriterConnectionChangeRecordWriter. writeChangeRecord(DeleteRequest change)Writes the provided Delete request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriterConnectionChangeRecordWriter. writeChangeRecord(ModifyDnRequest change)Writes the provided ModifyDN request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriterConnectionChangeRecordWriter. writeChangeRecord(ModifyRequest change)Writes the provided Modify request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriterConnectionChangeRecordWriter. writeChangeRecord(ChangeRecord change)Writes the provided change record to the underlying connection, blocking until the request completes.ConnectionEntryWriterConnectionEntryWriter. 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 LdapException Modifier and Type Method Description AccessControlHandlerCfgClientRootCfgClient. getAccessControlHandler()Gets the Access Control Handler if it is present.AccessLogFilteringCriteriaCfgClientAccessLogPublisherCfgClient. getAccessLogFilteringCriteria(String name)Gets the named Access Log Filtering Criteria.AccountStatusNotificationHandlerCfgClientRootCfgClient. getAccountStatusNotificationHandler(String name)Gets the named Account Status Notification Handler.AdministrationConnectorCfgClientRootCfgClient. getAdministrationConnector()Gets the Administration Connector.AlertHandlerCfgClientRootCfgClient. getAlertHandler(String name)Gets the named Alert Handler.BackendCfgClientRootCfgClient. getBackend(String name)Gets the named Backend.BackendIndexCfgClientPluggableBackendCfgClient. getBackendIndex(String name)Gets the named Backend Index.BackendVlvIndexCfgClientPluggableBackendCfgClient. getBackendVlvIndex(String name)Gets the named Backend Vlv Index.CertificateMapperCfgClientRootCfgClient. getCertificateMapper(String name)Gets the named Certificate Mapper.ConnectionHandlerCfgClientRootCfgClient. getConnectionHandler(String name)Gets the named Connection Handler.CryptoManagerCfgClientRootCfgClient. getCryptoManager()Gets the Crypto Manager.DebugTargetCfgClientDebugLogPublisherCfgClient. getDebugTarget(String name)Gets the named Debug Target.EntryCacheCfgClientRootCfgClient. getEntryCache(String name)Gets the named Entry Cache.ExtendedOperationHandlerCfgClientRootCfgClient. getExtendedOperationHandler(String name)Gets the named Extended Operation Handler.GlobalAccessControlPolicyCfgClientPolicyBasedAccessControlHandlerCfgClient. getGlobalAccessControlPolicy(String name)Gets the named Global Access Control Policy.GlobalCfgClientRootCfgClient. getGlobalConfiguration()Gets the Global Configuration.HttpAuthorizationMechanismCfgClientRootCfgClient. getHttpAuthorizationMechanism(String name)Gets the named Http Authorization Mechanism.HttpEndpointCfgClientRootCfgClient. getHttpEndpoint(String name)Gets the named Http Endpoint.IdentityMapperCfgClientRootCfgClient. getIdentityMapper(String name)Gets the named Identity Mapper.KeyManagerProviderCfgClientRootCfgClient. getKeyManagerProvider(String name)Gets the named Key Manager Provider.LogPublisherCfgClientRootCfgClient. getLogPublisher(String name)Gets the named Log Publisher.LogRetentionPolicyCfgClientRootCfgClient. getLogRetentionPolicy(String name)Gets the named Log Retention Policy.LogRotationPolicyCfgClientRootCfgClient. getLogRotationPolicy(String name)Gets the named Log Rotation Policy.MailServerCfgClientRootCfgClient. getMailServer(String name)Gets the named Mail Server.PasswordGeneratorCfgClientRootCfgClient. getPasswordGenerator(String name)Gets the named Password Generator.AuthenticationPolicyCfgClientRootCfgClient. getPasswordPolicy(String name)Gets the named Password Policy.PasswordStorageSchemeCfgClientRootCfgClient. getPasswordStorageScheme(String name)Gets the named Password Storage Scheme.PasswordValidatorCfgClientRootCfgClient. getPasswordValidator(String name)Gets the named Password Validator.PluginCfgClientPluginRootCfgClient. getPlugin(String name)Gets the named Plugin.PluginRootCfgClientRootCfgClient. getPluginRoot()Gets the Plugin Root.ReplicationDomainCfgClientReplicationSynchronizationProviderCfgClient. getReplicationDomain(String name)Gets the named Replication Domain.ReplicationServerCfgClientReplicationSynchronizationProviderCfgClient. getReplicationServer()Gets the Replication Server if it is present.RootDseBackendCfgClientRootCfgClient. getRootDseBackend()Gets the Root Dse Backend.SaslMechanismHandlerCfgClientRootCfgClient. getSaslMechanismHandler(String name)Gets the named Sasl Mechanism Handler.SchemaProviderCfgClientRootCfgClient. getSchemaProvider(String name)Gets the named Schema Provider.ServiceDiscoveryMechanismCfgClientRootCfgClient. getServiceDiscoveryMechanism(String name)Gets the named Service Discovery Mechanism.SynchronizationProviderCfgClientRootCfgClient. getSynchronizationProvider(String name)Gets the named Synchronization Provider.TrustManagerProviderCfgClientRootCfgClient. getTrustManagerProvider(String name)Gets the named Trust Manager Provider.VirtualAttributeCfgClientRootCfgClient. getVirtualAttribute(String name)Gets the named Virtual Attribute.WorkQueueCfgClientRootCfgClient. 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[]DebugLogPublisherCfgClient. listDebugTargets()Lists the Debug Targets.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.voidDebugLogPublisherCfgClient. removeDebugTarget(String name)Removes the named Debug Target.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.opends.server.api
Methods in org.opends.server.api that return LdapException Modifier and Type Method Description protected static LdapExceptionClientConnection. writeTimeLimitExceeded(Duration timeout)Returns a new LdapException for max blocked write time limit exceeded.Methods in org.opends.server.api that throw LdapException Modifier and Type Method Description abstract 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. doPostOperation(PostOperationAddOperation addOperation)Performs any necessary synchronization processing that may be needed after the provided add operation is performed.abstract voidSynchronizationProvider. doPostOperation(PostOperationDeleteOperation deleteOperation)Performs any necessary synchronization processing that may be needed after the provided delete operation is performed.abstract voidSynchronizationProvider. doPostOperation(PostOperationModifyDNOperation modifyDNOperation)Performs any necessary synchronization processing that may be needed after the provided modify DN operation is performed.abstract voidSynchronizationProvider. doPostOperation(PostOperationModifyOperation modifyOperation)Performs any necessary synchronization processing that may be needed after the provided modify operation is performed.abstract SynchronizationProviderResultSynchronizationProvider. doPreOperation(PreOperationAddOperation addOperation)Performs any necessary synchronization processing that may be needed before the provided add operation is performed.abstract SynchronizationProviderResultSynchronizationProvider. doPreOperation(PreOperationDeleteOperation deleteOperation)Performs any necessary synchronization processing that may be needed before the provided delete operation is performed.abstract SynchronizationProviderResultSynchronizationProvider. doPreOperation(PreOperationModifyDNOperation modifyDNOperation)Performs any necessary synchronization processing that may be needed before the provided modify DN operation is performed.abstract SynchronizationProviderResultSynchronizationProvider. doPreOperation(PreOperationModifyOperation modifyOperation)Performs any necessary synchronization processing that may be needed before the provided modify operation is performed.ByteStringPasswordStorageScheme. encodeAuthPassword(ByteSequence plaintext)Encodes the provided plaintext password for this storage scheme using the authentication password syntax defined in RFC 3112.abstract ByteStringPasswordStorageScheme. encodePassword(ByteSequence plaintext)Encodes the provided plaintext password for this storage scheme, without the name of the associated scheme.ByteStringPasswordStorageScheme. encodePasswordWithScheme(ByteSequence 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)Returns the authentication policy for the user provided user.static AuthenticationPolicyAuthenticationPolicy. forUser(Entry userEntry, boolean useDefaultOnError, Consumer<LocalizableMessage> onMultiplePasswordPolicies)Returns the authentication policy for the user provided user.static AuthenticationPolicyStateAuthenticationPolicyState. forUser(Entry userEntry, boolean useDefaultOnError)Returns the authentication policy state for the user provided user.static AuthenticationPolicyStateAuthenticationPolicyState. forUser(Entry userEntry, boolean useDefaultOnError, Consumer<LocalizableMessage> onMultiplePasswordPolicies)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.ByteStringPasswordStorageScheme. 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 EntryLocalBackend. getEntry(Dn entryDN)Retrieves 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.ByteStringPasswordStorageScheme. getPlaintextValue(ByteSequence 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.SynchronizationProviderResultSynchronizationProvider. 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.SynchronizationProviderResultSynchronizationProvider. 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.SynchronizationProviderResultSynchronizationProvider. 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.SynchronizationProviderResultSynchronizationProvider. 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 ConditionResultLocalBackend. hasSubordinates(Dn entryDN)Indicates whether the requested entry has any subordinates.LDIFImportResultLocalBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)Imports information from an LDIF file into this backend.booleanAccessControlHandler. isAllowed(Dn dn, Operation op, Control control)Indicates 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.default booleanGroup. isMember(Dn userDN)Indicates 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 booleanGroup. isMember(Entry userEntry)Indicates 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.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.voidLocalBackend. rebuildBackend(RebuildConfig rebuildConfig, ServerContext serverContext, BiConsumer<Long,Long> 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.abstract voidWorkQueue. submitOperation(Operation operation)Submits an operation to be processed in the server.abstract booleanWorkQueue. trySubmitOperation(Operation operation)Tries to submit an operation to be processed in the server, without blocking.voidGroup. updateMembers(List<Modification> modifications)Attempt to make multiple changes to the group's member list.longLocalBackend. verifyBackend(VerifyConfig verifyConfig)Verify the integrity of the backend instance. -
Uses of LdapException in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat that throw LdapException Modifier and Type Method Description voidPatternRDN. 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 PatternDNPatternDN. decode(String dnString)Create a new DN pattern matcher from a pattern string.booleanAciHandler. isAllowed(Dn entryDN, Operation op, Control control)booleanAciHandler. isAllowed(AddOperation operation)booleanAciHandler. isAllowed(ModifyOperation operation) -
Uses of LdapException in org.opends.server.backends
Methods in org.opends.server.backends that throw LdapException Modifier and Type Method Description voidChangelogBackend. 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)EntryChangelogBackend. getEntry(Dn entryDN)EntryMonitorBackend. getEntry(Dn entryDN)longChangelogBackend. getNumberOfChildren(Dn parentDN)longConfigurationBackend. getNumberOfChildren(Dn parentDN)longLDIFBackend. getNumberOfChildren(Dn parentDN)longChangelogBackend. getNumberOfEntriesInBaseDN(Dn baseDN)longConfigurationBackend. getNumberOfEntriesInBaseDN(Dn baseDN)longLDIFBackend. getNumberOfEntriesInBaseDN(Dn baseDN)ConditionResultChangelogBackend. hasSubordinates(Dn entryDN)ConditionResultConfigurationBackend. hasSubordinates(Dn entryDN)ConditionResultLDIFBackend. hasSubordinates(Dn entryDN)LDIFImportResultConfigurationBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)LDIFImportResultLDIFBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)LDIFImportResultMemoryBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)LDIFImportResultNullBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)LDIFImportResultRootDSEBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)LDIFImportResultSchemaBackend. 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)voidLDIFBackend. sampleEntries(Consumer<Entry> consumer, Dn baseDn)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 LdapException Modifier and Type Method Description voidBackendImpl. addEntry(Entry entry, AddOperation addOperation)voidBackendImpl. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)booleanBackendImpl. entryExists(Dn entryDN)voidBackendImpl. exportLDIF(LDIFExportConfig exportConfig)EntryBackendImpl. getEntry(Dn entryDN)longBackendImpl. getNumberOfChildren(Dn parentDN)longBackendImpl. getNumberOfEntriesInBaseDN(Dn baseDN)ConditionResultBackendImpl. hasSubordinates(Dn entryDN)LDIFImportResultBackendImpl. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)voidBackendImpl. rebuildBackend(RebuildConfig rebuildConfig, ServerContext serverContext, BiConsumer<Long,Long> 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 LdapException Modifier and Type Method Description voidTaskBackend. 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)TaskTaskScheduler. entryToScheduledTask(Entry entry, Operation operation)Decodes the contents of the provided entry as a scheduled task.EntryTaskBackend. getEntry(Dn entryDN)LDIFImportResultTaskBackend. importLDIF(LDIFImportConfig importConfig, ServerContext sContext)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)TaskRecurringTask. 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)booleanTaskScheduler. searchRecurringTasks(SearchOperation searchOperation)Compares the filter in the provided search operation against each of the recurring task entries, returning any that match.booleanTaskScheduler. 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 LdapException Constructor Description RecurringTask(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 LdapException Modifier and Type Method Description BackupBackupManager. createBackup(Backupable backupable, Cancellable cancellable)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 LdapException Modifier and Type Method Description voidConfigurationHandler. addEntry(Entry entry)Add 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. 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 LdapException Modifier and Type Method Description static voidLockFileManager. acquireExclusiveLockForBackend(String backendID, LocalizableMessageDescriptor.Arg2<Object,Object> failureMsg)Attempts to acquire an exclusive lock on the specified backend ID.static voidLockFileManager. acquireSharedLockForBackend(String backendID, LocalizableMessageDescriptor.Arg2<Object,Object> failureMsg)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.voidDirectoryServer. checkCanEnqueueRequest(Operation operation, boolean isAllowedInLockDownMode)voidServerContext. checkCanEnqueueRequest(Operation operation, boolean isAllowedInLockDownMode)Runs all the necessary checks prior to adding an operation to the work queue.voidBackendConfigManager. deactivateBackend(String backendId)Deregisters and finalizes a configured and active backend.List<ByteString>PasswordPolicyState. encodePassword(ByteString password)Encodes the provided password using the default storage schemes (using the appropriate syntax for the password attribute).voidBoundedWorkQueueStrategy. enqueueRequest(Operation operation)voidDirectoryServer. enqueueRequest(Operation operation)voidQueueingStrategy. enqueueRequest(Operation operation)Put the request in the queue.voidServerContext. enqueueRequest(Operation operation)Adds the provided operation to the work queue so that it will be processed by one of the worker threads.voidSynchronousStrategy. enqueueRequest(Operation operation)Run the request synchronously.voidWorkQueueStrategy. enqueueRequest(Operation operation)Put the request in the work queue.booleanDirectoryServer. entryExists(Dn entryDN)booleanServerContext. entryExists(Dn entryDN)Indicates whether the specified entry exists in the Directory Server.voidPasswordPolicyState. finalizeStateAfterBind()ByteStringPasswordPolicyState. generatePassword()Generates a new password for the user.Backend<?>BackendConfigManager. getBackendWithBaseDn(Dn baseDn)Retrieves the backend with the specified base DN.EntryDirectoryServer. getEntry(Dn entryDN)EntryServerContext. getEntry(Dn entryDN)Retrieves the entry with the requested DN.EntryDirectoryServer. getParentEntry(Dn childDn)EntryServerContext. getParentEntry(Dn childDn)Retrieves the entry that is the immediate parent of the entry having the provided DN.voidBackendConfigManager. registerBackend(Backend<? extends BackendCfg> backend)Registers a backend.Pair<Set<Dn>,Set<Dn>>BackendConfigManager. registerBaseDNs(Backend<? extends BackendCfg> backend, Set<Dn> newBaseDns)Registers the provided base DNs for the provided backend.static voidLockFileManager. releaseBackendLock(String backendID, LocalizableMessageDescriptor.Arg2<Object,Object> failureMsg)Attempts to release a lock on the backend id.static voidBindOperation. runFakePasswordMatches(Dn bindDn, ByteString password)When using cost based hashes, ensure similar response times when login with non-existing vs.voidSearchOperation. sendSearchEntry(SearchResultEntry entry)Sends the provided search result entry to the client.booleanSearchOperation. sendSearchReference(SearchResultReference reference)Sends the provided search result reference to the client.protected booleanBoundedWorkQueueStrategy. tryEnqueueRequest(Operation op)Tries to add the provided operation to the work queue if not full so that it will be processed by one of the worker threads.booleanDirectoryServer. tryEnqueueRequest(Operation operation)booleanServerContext. tryEnqueueRequest(Operation operation)Tries to add the provided operation to the work queue if not full so that it will be processed by one of the worker threads.Constructors in org.opends.server.core that throw LdapException Constructor Description SubentryPasswordPolicy(SubEntry subentry)Creates subentry password policy object from the subentry, parsing and evaluating subentry password policy attributes. -
Uses of LdapException in org.opends.server.extensions
Methods in org.opends.server.extensions that throw LdapException Modifier and Type Method Description ByteStringPKCS5S2PasswordStorageScheme. encodeAuthPassword(ByteSequence 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 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.ByteStringArgon2PasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringCryptPasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringPKCS5S2PasswordStorageScheme. encodePassword(ByteSequence plaintext)EntryExactMatchIdentityMapper. getEntryForID(String id)Retrieves the user entry that was mapped to the provided identification string.EntryRegularExpressionIdentityMapper. getEntryForID(String id)KeyManager[]FileBasedKeyManagerProvider. getKeyManagers()KeyManager[]LDAPKeyManagerProvider. getKeyManagers()KeyManager[]PKCS11KeyManagerProvider. getKeyManagers()KeyStoreFileBasedKeyManagerProvider. getKeyStore()KeyStorePKCS11KeyManagerProvider. getKeyStore()ByteStringBase64PasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)TrustManager[]AdminDataTrustManagerProvider. getTrustManagers()TrustManager[]FileBasedTrustManagerProvider. getTrustManagers()TrustManager[]LDAPTrustManagerProvider. getTrustManagers()TrustManager[]Pkcs11TrustManagerProvider. getTrustManagers()booleanDynamicGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)booleanStaticGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)booleanStaticGroup. isMember(Entry userEntry, Group.ExaminedGroups examinedGroups)booleanVirtualStaticGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)booleanVirtualStaticGroup. isMember(Entry userEntry, Group.ExaminedGroups examinedGroups)protected EntryFingerprintCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)protected EntrySubjectAttributeToUserAttributeCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)protected EntrySubjectDNToUserAttributeCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)EntrySubjectEqualsDNCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)Establishes a mapping between the information in the provided certificate chain to the DN of a single user in the Directory Server.static StaticGroupStaticGroup. newInstance(ServerContext serverContext, Entry groupEntry)Creates a new group of this type based on the definition contained in the provided entry.static VirtualStaticGroupVirtualStaticGroup. newInstance(Entry groupEntry, ServerContext serverContext)Creates a new group of this type based on the definition contained in the provided entry.voidTraditionalWorkQueue. submitOperation(Operation operation)Submits an operation to be processed by one of the worker threads associated with this work queue.booleanTraditionalWorkQueue. trySubmitOperation(Operation operation)voidStaticGroup. updateMembers(List<Modification> modifications) -
Uses of LdapException in org.opends.server.protocols
Methods in org.opends.server.protocols with parameters of type LdapException Modifier and Type Method Description static voidReactiveHandlersUtils. setResultDetails(Result result, Operation operation, LdapException e, int ldapVersion)Set details on the provided result with data from an operation. -
Uses of LdapException in org.opends.server.protocols.http
Methods in org.opends.server.protocols.http that throw LdapException Modifier and Type Method Description LdapClientSocketLDAPContext.InternalLdapClient. getAuthenticatedSocket(Entry userEntry)Get a directLdapClientSocketto this Directory Server. -
Uses of LdapException in org.opends.server.protocols.jmx
Methods in org.opends.server.protocols.jmx that throw LdapException Modifier and Type Method Description voidJmxClientConnection. processBind(BindRequest request)Processes a bind request. -
Uses of LdapException in org.opends.server.replication.common
Constructors in org.opends.server.replication.common that throw LdapException Constructor Description MultiDomainServerState(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 LdapException Modifier and Type Method Description longLDAPReplicationDomain. countEntries()This method should return the total number of objects in the replicated domain.ReplicaIdLDAPReplicationDomain. decodeSource(String sourceReplicaName)Verifies that the given string represents a valid source from which this server can be initialized.protected voidLDAPReplicationDomain. exportBackend(OutputStream output)This method trigger an export of the replicated data.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, long endDate)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 LdapException Modifier and Type Method Description booleanReplicationServerDomain. 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 LdapException Modifier and Type Method Description LdapExceptionReplicationDomain.ImportExportContext. getException()Get the exception that occurred during the import/export.LdapExceptionReplicationDomain.ImportExportContext. setException(LdapException exception)Set the exception that occurred during the import/export.LdapExceptionReplicationDomain.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 with parameters of type LdapException Modifier and Type Method Description LdapExceptionReplicationDomain.ImportExportContext. setException(LdapException exception)Set the exception that occurred during the import/export.LdapExceptionReplicationDomain.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 LdapException Modifier and Type Method Description abstract longReplicationDomain. countEntries()This method should return the total number of objects in the replicated domain.ReplicaIdReplicationDomain. 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(long 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 LdapException Modifier and Type Method Description voidSchemaHandler. importEntry(Entry newSchemaEntry, AlertGenerator alertGenerator)Imports the provided schema entry in the schema.voidSchemaHandler. updateSchema(Schema schema)Replaces the schema with the provided 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 LdapException Modifier and Type Method Description voidInitializeTask. 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 LdapException Modifier and Type Method Description voidAddSchemaFileTask. 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)voidResetChangeNumberTask. 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 LdapException Modifier and Type Method Description voidTaskClient. cancelTask(String taskId)Changes that the state of the task in the backend to a canceled state.List<TaskEntry>TaskClient. getTaskEntries()Gets all the ds-task entries from the task root.TaskEntryTaskClient. getTaskEntry(String taskId)Gets the entry of the task associated to the provided identifier.TaskEntryTaskClient. schedule(TaskScheduleInformation information)Schedule a task for execution by writing an entry to the task backend.TaskEntryTaskClient. 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 LdapException Modifier and Type Method Description protected static 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 LdapException Modifier and Type Method Description 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 LdapException Modifier and Type Method Description protected 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 static voidOperation. checkIfBackendIsWritable(LocalBackend<?> backend, Operation op, Dn entryDN, LocalizableMessageDescriptor.Arg1<Object> serverMsg, LocalizableMessageDescriptor.Arg1<Object> backendMsg)Checks if an update operation can be performed against a backend.protected static 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.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.DnLDAPURL. getName()Retrieves the processed DN for this LDAP URL.<T extends Control>
TOperation. getRequestControl(ControlDecoder<T> d, DecodeOptions options)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 voidOperation. removeAllDisallowedControls(Dn targetDN)Removes all the disallowed request controls from this operation.static booleanFilePermission. setPermissions(Path f, FilePermission p)Attempts to set the given permissions on the specified file.protected static voidOperation. setResultCodeAndMessageNoInfoDisclosure(Operation operation, Entry entry, Dn entryDN, Result realResult, Result altResult)Sets the provided resultCodes and messages on the provided operation.static LDAPURLLDAPURL. valueOf(String url)Decodes the provided string as an LDAP URL.static SubtreeSpecificationSubtreeSpecification. valueOf(Dn rootDN, String s)Parses the string argument as an RFC3672 subtree specification.Constructors in org.opends.server.types that throw LdapException Constructor Description SubEntry(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 LdapException Modifier and Type Method Description voidInProgressOperation. 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 LdapException Modifier and Type Method Description voidPreOperationModifyOperation. 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. -
Uses of LdapException in org.opends.server.util
Methods in org.opends.server.util that throw LdapException Modifier and Type Method Description static 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.
-