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 void
ConfigurationClient. commit()
If this is a new configuration this method will attempt to add it to the server, otherwise it will commit any changes made to this configuration. -
Uses of LdapException in org.forgerock.opendj.config.client
Methods in org.forgerock.opendj.config.client that throw LdapException Modifier and Type Method Description void
ManagedObject. commit()
Adds this managed object to the server or commits any changes made to it depending on whether the managed object already exists on the server.<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.boolean
ClientConstraintHandler. isAddAcceptable(ManagementContext context, ManagedObject<?> managedObject, Collection<LocalizableMessage> unacceptableReasons)
Determines whether the newly created managed object which is about to be added to the server configuration satisfies this constraint.boolean
ClientConstraintHandler. isDeleteAcceptable(ManagementContext context, ManagedObjectPath<?,?> path, Collection<LocalizableMessage> unacceptableReasons)
Determines whether the existing managed object which is about to be deleted from the server configuration satisfies this constraint.boolean
ClientConstraintHandler. isModifyAcceptable(ManagementContext context, ManagedObject<?> managedObject, Collection<LocalizableMessage> unacceptableReasons)
Determines whether the changes to an existing managed object which are about to be committed to the server configuration satisfies this constraint.<C extends ConfigurationClient,S extends Configuration>
String[]ManagedObject. listChildren(InstantiableRelationDefinition<C,S> r)
Lists the child managed objects associated with the specified instantiable relation.<C extends ConfigurationClient,S extends Configuration>
String[]ManagedObject. listChildren(InstantiableRelationDefinition<C,S> r, AbstractManagedObjectDefinition<? extends C,? extends S> d)
Lists the child managed objects associated with the specified instantiable relation which are a sub-type of the specified managed object definition.<C extends ConfigurationClient,S extends Configuration>
String[]ManagedObject. listChildren(SetRelationDefinition<C,S> r)
Lists the child managed objects associated with the specified set relation.<C extends ConfigurationClient,S extends Configuration>
String[]ManagedObject. listChildren(SetRelationDefinition<C,S> r, AbstractManagedObjectDefinition<? extends C,? extends S> d)
Lists the child managed objects associated with the specified set relation which are a sub-type of the specified managed object definition.<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.boolean
DriverBasedManagementContext. managedObjectExists(ManagedObjectPath<?,?> path)
boolean
ManagementContext. managedObjectExists(ManagedObjectPath<?,?> path)
Determines whether the named managed object exists.<C extends ConfigurationClient,S extends Configuration>
voidManagedObject. removeChild(InstantiableRelationDefinition<C,S> r, String name)
Removes the named instantiable child managed object.<C extends ConfigurationClient,S extends Configuration>
voidManagedObject. removeChild(OptionalRelationDefinition<C,S> r)
Removes an optional child managed object.<C extends ConfigurationClient,S extends Configuration>
voidManagedObject. removeChild(SetRelationDefinition<C,S> r, String name)
Removes s set child managed object. -
Uses of LdapException in org.forgerock.opendj.config.client.spi
Methods in org.forgerock.opendj.config.client.spi that throw LdapException Modifier and Type Method Description protected abstract void
AbstractManagedObject. addNewManagedObject()
Adds this new managed object.void
AbstractManagedObject. 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 boolean
Driver. managedObjectExists(ManagedObjectPath<?,?> path)
Determines whether the named managed object exists.protected abstract void
AbstractManagedObject. 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 boolean
Condition. evaluate(ManagementContext context, ManagedObject<?> managedObject)
Evaluates this condition against the provided client managed object.boolean
NotCondition. evaluate(ManagementContext context, ManagedObject<?> managedObject)
boolean
OrCondition. evaluate(ManagementContext context, ManagedObject<?> managedObject)
-
Uses of LdapException in org.forgerock.opendj.ldap
Subclasses of LdapException in org.forgerock.opendj.ldap Modifier and Type Class Description class
AssertionFailureException
Thrown when the result code returned in a Result indicates that the Request failed because the filter contained in an assertion control failed to match the target entry.class
AuthenticationException
Thrown when the result code returned in a Result indicates that the Bind Request failed due to an authentication failure.class
AuthorizationException
Thrown when the result code returned in a Result indicates that the Request failed due to an authorization failure.class
CancelledResultException
Thrown when the result code returned in a Result indicates that the Request was cancelled.class
ConnectionException
Thrown when the result code returned in a Result indicates that the Request was unsuccessful because of a connection failure.class
ConstraintViolationException
Thrown when the result code returned in a Result indicates that the update Request failed because it would have left the Directory in an inconsistent state.class
EntryNotFoundException
Thrown when the result code returned in a Result indicates that the Request failed because the target entry was not found by the Directory Server.class
MultipleEntriesFoundException
Thrown when the result code returned in a Result indicates that the requested single entry search operation or read operation failed because the Directory Server returned multiple matching entries (or search references) when only a single matching entry was expected.class
ReferralException
Thrown when the result code returned in a Result indicates that the Request could not be processed by the Directory Server because the target entry is located on another server.class
TimeoutResultException
Thrown when the result code returned in a Result indicates that the Request was aborted because it did not complete in the required time out period.Methods in org.forgerock.opendj.ldap that return LdapException Modifier and Type Method Description static LdapException
LdapException. newLdapClientException(Throwable cause)
Creates a new LDAP client exception with the provided cause and a result code depending on the class cause originalcause
.static LdapException
LdapException. newLdapException(Throwable cause)
Creates a new LDAP exception with the provided cause and a result code depending on the class cause originalcause
.static LdapException
LdapException. newLdapException(Result result)
Creates a new LDAP exception using the provided result.static LdapException
LdapException. newLdapException(ResultCode resultCode)
Creates a new LDAP exception with the provided result code and an empty diagnostic message.static LdapException
LdapException. newLdapException(ResultCode resultCode, CharSequence diagnosticMessage)
Creates a new LDAP exception with the provided result code and diagnostic message.static LdapException
LdapException. newLdapException(ResultCode resultCode, CharSequence diagnosticMessage, Throwable cause)
Creates a new LDAP exception with the provided result code, diagnostic message, and cause.static LdapException
LdapException. newLdapException(ResultCode resultCode, CharSequence diagnosticMessage, Dn matchedDn, Throwable cause)
Creates a new LDAP exception with the provided resultCode, diagnosticMessage, matched DN and cause.static LdapException
LdapException. newLdapException(ResultCode resultCode, Throwable cause)
Creates a new LDAP exception with the provided result code and cause.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 void
ConnectionEventListener. handleConnectionError(boolean isDisconnectNotification, LdapException error)
Notifies this connection event listener that a fatal error has occurred and the connection can no longer be used - the server has crashed, for example.void
LdapResultHandler. handleException(LdapException exception)
Invoked when the asynchronous operation has failed.void
LoadBalancerEventListener. handleLdapClientOffline(LdapClient client, LdapException error)
Invoked when the load-balancer is unable to obtain a connection from the specified LDAP client.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 Result
AbstractAsynchronousConnection. add(AddRequest request)
Result
AbstractConnection. add(String... ldifLines)
Result
AbstractConnection. add(Entry entry)
Result
AbstractConnectionWrapper. add(String... ldifLines)
Adds an entry to the Directory Server using the provided lines of LDIF.Result
AbstractConnectionWrapper. add(Entry entry)
Adds the provided entry to the Directory Server.Result
AbstractConnectionWrapper. add(AddRequest request)
Adds an entry to the Directory Server using the provided add request.Result
Connection. add(String... ldifLines)
Adds an entry to the Directory Server using the provided lines of LDIF.Result
Connection. add(Entry entry)
Adds the provided entry to the Directory Server.Result
Connection. add(AddRequest request)
Adds an entry to the Directory Server using the provided add request.Result
AbstractConnection. applyChange(ChangeRecord request)
Result
AbstractConnectionWrapper. applyChange(ChangeRecord request)
Applies the provided change request to the Directory Server.Result
Connection. applyChange(ChangeRecord request)
Applies the provided change request to the Directory Server.BindResult
AbstractAsynchronousConnection. bind(BindRequest request)
BindResult
AbstractConnection. bind(String name, char[] password)
BindResult
AbstractConnectionWrapper. bind(String name, char[] password)
Authenticates to the Directory Server using simple authentication and the provided user name and password.BindResult
AbstractConnectionWrapper. bind(BindRequest request)
Authenticates to the Directory Server using the provided bind request.BindResult
Connection. bind(String name, char[] password)
Authenticates to the Directory Server using simple authentication and the provided user name and password.BindResult
Connection. bind(BindRequest request)
Authenticates to the Directory Server using the provided bind request.Comparator<Entry>
SortKey. comparator()
Returns aComparator
which can be used to compare entries using this sort key.static Comparator<Entry>
SortKey. comparator(String sortKeys)
Returns aComparator
which can be used to compare entries using the provided string representation of a list of sort keys.static Comparator<Entry>
SortKey. comparator(Collection<SortKey> keys)
Returns aComparator
which can be used to compare entries using the provided list of sort keys.Comparator<Entry>
SortKey. comparator(Schema schema)
Returns aComparator
which can be used to compare entries using this sort key.static Comparator<Entry>
SortKey. comparator(Schema schema, Collection<SortKey> keys)
Returns aComparator
which can be used to compare entries using the provided list of sort keys.static Comparator<Entry>
SortKey. comparator(Schema schema, SortKey... keys)
Returns aComparator
which can be used to compare entries using the provided list of sort keys.static Comparator<Entry>
SortKey. comparator(SortKey... keys)
Returns aComparator
which can be used to compare entries using the provided list of sort keys.CompareResult
AbstractAsynchronousConnection. compare(CompareRequest request)
CompareResult
AbstractConnection. compare(String name, String attributeDescription, String assertionValue)
CompareResult
AbstractConnectionWrapper. compare(String name, String attributeDescription, String assertionValue)
Compares the named entry in the Directory Server against the provided attribute value assertion.CompareResult
AbstractConnectionWrapper. compare(CompareRequest request)
Compares an entry in the Directory Server using the provided compare request.CompareResult
Connection. compare(String name, String attributeDescription, String assertionValue)
Compares the named entry in the Directory Server against the provided attribute value assertion.CompareResult
Connection. compare(CompareRequest request)
Compares an entry in the Directory Server using the provided compare request.Result
AbstractAsynchronousConnection. delete(DeleteRequest request)
Result
AbstractConnection. delete(String name)
Result
AbstractConnectionWrapper. delete(String name)
Deletes the named entry from the Directory Server.Result
AbstractConnectionWrapper. delete(DeleteRequest request)
Deletes an entry from the Directory Server using the provided delete request.Result
Connection. delete(String name)
Deletes the named entry from the Directory Server.default Result
Connection. delete(Dn name)
Deletes the named entry from the Directory Server.Result
Connection. delete(DeleteRequest request)
Deletes an entry from the Directory Server using the provided delete request.Result
AbstractConnection. deleteSubtree(String name)
Result
AbstractConnectionWrapper. deleteSubtree(String name)
Deletes the named entry and all of its subordinates from the Directory Server.Result
Connection. deleteSubtree(String name)
Deletes the named entry and all of its subordinates from the Directory Server.<R extends ExtendedResult>
RAbstractAsynchronousConnection. extendedRequest(ExtendedRequest<R> request, IntermediateResponseHandler handler)
GenericExtendedResult
AbstractConnection. extendedRequest(String requestName, ByteString requestValue)
<R extends ExtendedResult>
RAbstractConnection. extendedRequest(ExtendedRequest<R> request)
GenericExtendedResult
AbstractConnectionWrapper. extendedRequest(String requestName, ByteString requestValue)
Requests that the Directory Server performs the provided extended request.<R extends ExtendedResult>
RAbstractConnectionWrapper. extendedRequest(ExtendedRequest<R> request)
Requests that the Directory Server performs the provided extended request.<R extends ExtendedResult>
RAbstractConnectionWrapper. extendedRequest(ExtendedRequest<R> request, IntermediateResponseHandler handler)
Requests that the Directory Server performs the provided extended request, optionally listening for any intermediate responses.GenericExtendedResult
Connection. extendedRequest(String requestName, ByteString requestValue)
Requests that the Directory Server performs the provided extended request.<R extends ExtendedResult>
RConnection. extendedRequest(ExtendedRequest<R> request)
Requests that the Directory Server performs the provided extended request.<R extends ExtendedResult>
RConnection. extendedRequest(ExtendedRequest<R> request, IntermediateResponseHandler handler)
Requests that the Directory Server performs the provided extended request, optionally listening for any intermediate responses.Connection
ConnectionFactory. getConnection()
Returns a connection to the Directory Server associated with this connection factory.Connection
LdapConnectionFactory. getConnection()
Result
AbstractAsynchronousConnection. modify(ModifyRequest request)
Result
AbstractConnection. modify(String... ldifLines)
Result
AbstractConnectionWrapper. modify(String... ldifLines)
Modifies an entry in the Directory Server using the provided lines of LDIF.Result
AbstractConnectionWrapper. modify(ModifyRequest request)
Modifies an entry in the Directory Server using the provided modify request.Result
Connection. modify(String... ldifLines)
Modifies an entry in the Directory Server using the provided lines of LDIF.Result
Connection. modify(ModifyRequest request)
Modifies an entry in the Directory Server using the provided modify request.Result
AbstractAsynchronousConnection. modifyDn(ModifyDnRequest request)
Result
AbstractConnection. modifyDn(String name, String newRDN)
Result
AbstractConnectionWrapper. modifyDn(String name, String newRDN)
Renames the named entry in the Directory Server using the provided new RDN.Result
AbstractConnectionWrapper. modifyDn(ModifyDnRequest request)
Renames an entry in the Directory Server using the provided modify DN request.Result
Connection. modifyDn(String name, String newRDN)
Renames the named entry in the Directory Server using the provided new RDN.Result
Connection. modifyDn(ModifyDnRequest request)
Renames an entry in the Directory Server using the provided modify DN request.static Entry
Entries. modifyEntry(Entry entry, ModifyRequest changes)
Applies the provided modification request to an entry.static Entry
Entries. modifyEntry(Entry entry, Modification change)
Applies the provided modification to an entry.static Entry
Entries. modifyEntry(Entry entry, Modification change, Collection<? super ByteString> conflictingValues)
Applies the provided modification to an entry.static Entry
Entries. modifyEntryPermissive(Entry entry, Collection<Modification> changes)
Applies the provided modifications to an entry using "permissive" modify semantics.static Entry
Entries. modifyEntryStrict(Entry entry, Collection<Modification> changes)
Applies the provided modifications to an entry using "strict" modify semantics.SearchResultEntry
AbstractConnection. readEntry(String baseObject, String... attributeDescriptions)
SearchResultEntry
AbstractConnection. readEntry(Dn baseObject, String... attributeDescriptions)
SearchResultEntry
AbstractConnectionWrapper. readEntry(String name, String... attributeDescriptions)
Reads the named entry from the Directory Server.SearchResultEntry
AbstractConnectionWrapper. readEntry(Dn name, String... attributeDescriptions)
Reads the named entry from the Directory Server.SearchResultEntry
Connection. readEntry(String name, String... attributeDescriptions)
Reads the named entry from the Directory Server.SearchResultEntry
Connection. readEntry(Dn name, String... attributeDescriptions)
Reads the named entry from the Directory Server.static RootDse
RootDse. readRootDse(Connection connection)
Reads the Root DSE from the Directory Server using the provided connection.Result
AbstractAsynchronousConnection. search(SearchRequest request, SearchResultHandler handler)
Result
AbstractConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries)
Result
AbstractConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)
Result
AbstractConnectionWrapper. search(SearchRequest request, Collection<? super SearchResultEntry> entries)
Searches the Directory Server using the provided search request.Result
AbstractConnectionWrapper. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)
Searches the Directory Server using the provided search request.Result
AbstractConnectionWrapper. search(SearchRequest request, SearchResultHandler handler)
Searches the Directory Server using the provided search request.Result
Connection. search(SearchRequest request, Collection<? super SearchResultEntry> entries)
Searches the Directory Server using the provided search request.Result
Connection. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)
Searches the Directory Server using the provided search request.Result
Connection. search(SearchRequest request, SearchResultHandler handler)
Searches the Directory Server using the provided search request.SearchResultEntry
AbstractConnection. searchSingleEntry(String baseObject, SearchScope scope, String filter, String... attributeDescriptions)
SearchResultEntry
AbstractConnection. searchSingleEntry(SearchRequest request)
SearchResultEntry
AbstractConnectionWrapper. searchSingleEntry(String baseObject, SearchScope scope, String filter, String... attributeDescriptions)
Searches the Directory Server for a single entry using the provided search parameters.SearchResultEntry
AbstractConnectionWrapper. searchSingleEntry(SearchRequest request)
Searches the Directory Server for a single entry using the provided search request.SearchResultEntry
Connection. searchSingleEntry(String baseObject, SearchScope scope, String filter, String... attributeDescriptions)
Searches the Directory Server for a single entry using the provided search parameters.SearchResultEntry
Connection. 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 LdapException
InvalidRequest. 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 InvalidRequest
Requests. newInvalidRequest(Request.RequestType invalidRequestType, String invalidRawDn, LdapException reason)
Creates a new invalid request using the provided reason. -
Uses of LdapException in org.forgerock.opendj.ldap.schema
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 SchemaValidationPolicy
SchemaValidationPolicy. 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 SchemaBuilder
SchemaBuilder. addSchema(Connection connection, Dn name, boolean overwrite)
Reads the schema elements contained in the named subschema sub-entry and adds them to this schema builder.SchemaBuilder
SchemaBuilder. addSchemaForEntry(Connection connection, Dn name, boolean overwrite)
Reads the schema elements contained in the subschema sub-entry which applies to the named entry and adds them to this schema builder.static Schema
Schema. readSchema(Connection connection, Dn name)
Reads the schema contained in the named subschema sub-entry.static Schema
Schema. readSchemaForEntry(Connection connection, Dn name)
Reads the schema contained in the subschema sub-entry which applies to the named entry. -
Uses of LdapException in org.forgerock.opendj.ldif
Methods in org.forgerock.opendj.ldif that throw LdapException Modifier and Type Method Description boolean
ConnectionEntryReader. hasNext()
boolean
ConnectionEntryReader. isEntry()
Waits for the next search result entry or reference to become available and returnstrue
if it is an entry, orfalse
if it is a reference.boolean
ConnectionEntryReader. isReference()
Waits for the next search result entry or reference to become available and returnstrue
if it is a reference, orfalse
if it is an entry.SearchResultEntry
ConnectionEntryReader. readEntry()
Waits for the next search result entry or reference to become available and, if it is an entry, returns it as aSearchResultEntry
.SearchResultReference
ConnectionEntryReader. readReference()
Waits for the next search result entry or reference to become available and, if it is a reference, returns it as aSearchResultReference
.Result
ConnectionEntryReader. readResult()
Waits for the next search response to become available and returns it if it is a search result indicating that the search completed successfully.ConnectionChangeRecordWriter
ConnectionChangeRecordWriter. writeChangeRecord(AddRequest change)
Writes the provided Add request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriter
ConnectionChangeRecordWriter. writeChangeRecord(DeleteRequest change)
Writes the provided Delete request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriter
ConnectionChangeRecordWriter. writeChangeRecord(ModifyDnRequest change)
Writes the provided ModifyDN request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriter
ConnectionChangeRecordWriter. writeChangeRecord(ModifyRequest change)
Writes the provided Modify request to the underlying connection, blocking until the request completes.ConnectionChangeRecordWriter
ConnectionChangeRecordWriter. writeChangeRecord(ChangeRecord change)
Writes the provided change record to the underlying connection, blocking until the request completes.ConnectionEntryWriter
ConnectionEntryWriter. writeEntry(Entry entry)
Writes an entry to the underlying connection using an Add request, blocking until the request completes. -
Uses of LdapException in org.forgerock.opendj.server.config.client
Methods in org.forgerock.opendj.server.config.client that throw LdapException Modifier and Type Method Description AccessControlHandlerCfgClient
RootCfgClient. getAccessControlHandler()
Gets the Access Control Handler if it is present.AccessLogFilteringCriteriaCfgClient
AccessLogPublisherCfgClient. getAccessLogFilteringCriteria(String name)
Gets the named Access Log Filtering Criteria.AccountStatusNotificationHandlerCfgClient
RootCfgClient. getAccountStatusNotificationHandler(String name)
Gets the named Account Status Notification Handler.AdministrationConnectorCfgClient
RootCfgClient. getAdministrationConnector()
Gets the Administration Connector.AlertHandlerCfgClient
RootCfgClient. getAlertHandler(String name)
Gets the named Alert Handler.BackendCfgClient
RootCfgClient. getBackend(String name)
Gets the named Backend.BackendIndexCfgClient
PluggableBackendCfgClient. getBackendIndex(String name)
Gets the named Backend Index.BackendVlvIndexCfgClient
PluggableBackendCfgClient. getBackendVlvIndex(String name)
Gets the named Backend Vlv Index.CertificateMapperCfgClient
RootCfgClient. getCertificateMapper(String name)
Gets the named Certificate Mapper.ConnectionHandlerCfgClient
RootCfgClient. getConnectionHandler(String name)
Gets the named Connection Handler.CryptoManagerCfgClient
RootCfgClient. getCryptoManager()
Gets the Crypto Manager.DebugTargetCfgClient
DebugLogPublisherCfgClient. getDebugTarget(String name)
Gets the named Debug Target.EntryCacheCfgClient
RootCfgClient. getEntryCache(String name)
Gets the named Entry Cache.ExtendedOperationHandlerCfgClient
RootCfgClient. getExtendedOperationHandler(String name)
Gets the named Extended Operation Handler.GlobalAccessControlPolicyCfgClient
PolicyBasedAccessControlHandlerCfgClient. getGlobalAccessControlPolicy(String name)
Gets the named Global Access Control Policy.GlobalCfgClient
RootCfgClient. getGlobalConfiguration()
Gets the Global Configuration.HttpAuthorizationMechanismCfgClient
RootCfgClient. getHttpAuthorizationMechanism(String name)
Gets the named Http Authorization Mechanism.HttpEndpointCfgClient
RootCfgClient. getHttpEndpoint(String name)
Gets the named Http Endpoint.IdentityMapperCfgClient
RootCfgClient. getIdentityMapper(String name)
Gets the named Identity Mapper.KeyManagerProviderCfgClient
RootCfgClient. getKeyManagerProvider(String name)
Gets the named Key Manager Provider.LogPublisherCfgClient
RootCfgClient. getLogPublisher(String name)
Gets the named Log Publisher.LogRetentionPolicyCfgClient
RootCfgClient. getLogRetentionPolicy(String name)
Gets the named Log Retention Policy.LogRotationPolicyCfgClient
RootCfgClient. getLogRotationPolicy(String name)
Gets the named Log Rotation Policy.MailServerCfgClient
RootCfgClient. getMailServer(String name)
Gets the named Mail Server.PasswordGeneratorCfgClient
RootCfgClient. getPasswordGenerator(String name)
Gets the named Password Generator.AuthenticationPolicyCfgClient
RootCfgClient. getPasswordPolicy(String name)
Gets the named Password Policy.PasswordStorageSchemeCfgClient
RootCfgClient. getPasswordStorageScheme(String name)
Gets the named Password Storage Scheme.PasswordValidatorCfgClient
RootCfgClient. getPasswordValidator(String name)
Gets the named Password Validator.PluginCfgClient
PluginRootCfgClient. getPlugin(String name)
Gets the named Plugin.PluginRootCfgClient
RootCfgClient. getPluginRoot()
Gets the Plugin Root.ReplicationDomainCfgClient
ReplicationSynchronizationProviderCfgClient. getReplicationDomain(String name)
Gets the named Replication Domain.ReplicationServerCfgClient
ReplicationSynchronizationProviderCfgClient. getReplicationServer()
Gets the Replication Server if it is present.RootDseBackendCfgClient
RootCfgClient. getRootDseBackend()
Gets the Root Dse Backend.SaslMechanismHandlerCfgClient
RootCfgClient. getSaslMechanismHandler(String name)
Gets the named Sasl Mechanism Handler.SchemaProviderCfgClient
RootCfgClient. getSchemaProvider(String name)
Gets the named Schema Provider.ServiceDiscoveryMechanismCfgClient
RootCfgClient. getServiceDiscoveryMechanism(String name)
Gets the named Service Discovery Mechanism.SynchronizationProviderCfgClient
RootCfgClient. getSynchronizationProvider(String name)
Gets the named Synchronization Provider.TrustManagerProviderCfgClient
RootCfgClient. getTrustManagerProvider(String name)
Gets the named Trust Manager Provider.VirtualAttributeCfgClient
RootCfgClient. getVirtualAttribute(String name)
Gets the named Virtual Attribute.WorkQueueCfgClient
RootCfgClient. getWorkQueue()
Gets the Work Queue.boolean
RootCfgClient. hasAccessControlHandler()
Determines whether the Access Control Handler exists.boolean
ReplicationSynchronizationProviderCfgClient. hasReplicationServer()
Determines whether the Replication Server exists.String[]
AccessLogPublisherCfgClient. listAccessLogFilteringCriteria()
Lists the Access Log Filtering Criteria.String[]
RootCfgClient. listAccountStatusNotificationHandlers()
Lists the Account Status Notification Handlers.String[]
RootCfgClient. listAlertHandlers()
Lists the Alert Handlers.String[]
PluggableBackendCfgClient. listBackendIndexes()
Lists the Backend Indexes.String[]
RootCfgClient. listBackends()
Lists the Backends.String[]
PluggableBackendCfgClient. listBackendVlvIndexes()
Lists the Backend Vlv Indexes.String[]
RootCfgClient. listCertificateMappers()
Lists the Certificate Mappers.String[]
RootCfgClient. listConnectionHandlers()
Lists the Connection Handlers.String[]
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.void
RootCfgClient. removeAccessControlHandler()
Removes the Access Control Handler if it exists.void
AccessLogPublisherCfgClient. removeAccessLogFilteringCriteria(String name)
Removes the named Access Log Filtering Criteria.void
RootCfgClient. removeAccountStatusNotificationHandler(String name)
Removes the named Account Status Notification Handler.void
RootCfgClient. removeAlertHandler(String name)
Removes the named Alert Handler.void
RootCfgClient. removeBackend(String name)
Removes the named Backend.void
PluggableBackendCfgClient. removeBackendIndex(String name)
Removes the named Backend Index.void
PluggableBackendCfgClient. removeBackendVlvIndex(String name)
Removes the named Backend Vlv Index.void
RootCfgClient. removeCertificateMapper(String name)
Removes the named Certificate Mapper.void
RootCfgClient. removeConnectionHandler(String name)
Removes the named Connection Handler.void
DebugLogPublisherCfgClient. removeDebugTarget(String name)
Removes the named Debug Target.void
RootCfgClient. removeEntryCache(String name)
Removes the named Entry Cache.void
RootCfgClient. removeExtendedOperationHandler(String name)
Removes the named Extended Operation Handler.void
PolicyBasedAccessControlHandlerCfgClient. removeGlobalAccessControlPolicy(String name)
Removes the named Global Access Control Policy.void
RootCfgClient. removeHttpAuthorizationMechanism(String name)
Removes the named Http Authorization Mechanism.void
RootCfgClient. removeHttpEndpoint(String name)
Removes the named Http Endpoint.void
RootCfgClient. removeIdentityMapper(String name)
Removes the named Identity Mapper.void
RootCfgClient. removeKeyManagerProvider(String name)
Removes the named Key Manager Provider.void
RootCfgClient. removeLogPublisher(String name)
Removes the named Log Publisher.void
RootCfgClient. removeLogRetentionPolicy(String name)
Removes the named Log Retention Policy.void
RootCfgClient. removeLogRotationPolicy(String name)
Removes the named Log Rotation Policy.void
RootCfgClient. removeMailServer(String name)
Removes the named Mail Server.void
RootCfgClient. removePasswordGenerator(String name)
Removes the named Password Generator.void
RootCfgClient. removePasswordPolicy(String name)
Removes the named Password Policy.void
RootCfgClient. removePasswordStorageScheme(String name)
Removes the named Password Storage Scheme.void
RootCfgClient. removePasswordValidator(String name)
Removes the named Password Validator.void
PluginRootCfgClient. removePlugin(String name)
Removes the named Plugin.void
ReplicationSynchronizationProviderCfgClient. removeReplicationDomain(String name)
Removes the named Replication Domain.void
ReplicationSynchronizationProviderCfgClient. removeReplicationServer()
Removes the Replication Server if it exists.void
RootCfgClient. removeSaslMechanismHandler(String name)
Removes the named Sasl Mechanism Handler.void
RootCfgClient. removeSchemaProvider(String name)
Removes the named Schema Provider.void
RootCfgClient. removeServiceDiscoveryMechanism(String name)
Removes the named Service Discovery Mechanism.void
RootCfgClient. removeSynchronizationProvider(String name)
Removes the named Synchronization Provider.void
RootCfgClient. removeTrustManagerProvider(String name)
Removes the named Trust Manager Provider.void
RootCfgClient. removeVirtualAttribute(String name)
Removes the named Virtual Attribute. -
Uses of LdapException in org.opends.server.api
Methods in org.opends.server.api that return LdapException Modifier and Type Method Description protected static LdapException
ClientConnection. 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 void
LocalBackend. addEntry(Entry entry, AddOperation addOperation)
Adds the provided entry to this backend.boolean
AccessControlHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
Checks whether the ACIs prevent sending information about the provided entry, or entryDN if entry is null.void
SubentryChangeListener. checkSubentryAddAcceptable(Entry entry)
Performs any checking that may be required before subentry add operation.void
SubentryChangeListener. checkSubentryDeleteAcceptable(Entry entry)
Performs any checking that may be required before subentry delete operation.void
SubentryChangeListener. checkSubentryModifyAcceptable(Entry oldEntry, Entry newEntry)
Performs any checking that may be required before subentry modify operation.void
SubentryChangeListener. checkSubentryModifyDNAcceptable(Entry oldEntry, Entry newEntry)
Performs any checking that may be required before subentry modify DN operation.abstract void
LocalBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
Removes the specified entry from this backend.abstract void
SynchronizationProvider. doPostOperation(PostOperationAddOperation addOperation)
Performs any necessary synchronization processing that may be needed after the provided add operation is performed.abstract void
SynchronizationProvider. doPostOperation(PostOperationDeleteOperation deleteOperation)
Performs any necessary synchronization processing that may be needed after the provided delete operation is performed.abstract void
SynchronizationProvider. doPostOperation(PostOperationModifyDNOperation modifyDNOperation)
Performs any necessary synchronization processing that may be needed after the provided modify DN operation is performed.abstract void
SynchronizationProvider. doPostOperation(PostOperationModifyOperation modifyOperation)
Performs any necessary synchronization processing that may be needed after the provided modify operation is performed.abstract SynchronizationProviderResult
SynchronizationProvider. doPreOperation(PreOperationAddOperation addOperation)
Performs any necessary synchronization processing that may be needed before the provided add operation is performed.abstract SynchronizationProviderResult
SynchronizationProvider. doPreOperation(PreOperationDeleteOperation deleteOperation)
Performs any necessary synchronization processing that may be needed before the provided delete operation is performed.abstract SynchronizationProviderResult
SynchronizationProvider. doPreOperation(PreOperationModifyDNOperation modifyDNOperation)
Performs any necessary synchronization processing that may be needed before the provided modify DN operation is performed.abstract SynchronizationProviderResult
SynchronizationProvider. doPreOperation(PreOperationModifyOperation modifyOperation)
Performs any necessary synchronization processing that may be needed before the provided modify operation is performed.ByteString
PasswordStorageScheme. encodeAuthPassword(ByteSequence plaintext)
Encodes the provided plaintext password for this storage scheme using the authentication password syntax defined in RFC 3112.abstract ByteString
PasswordStorageScheme. encodePassword(ByteSequence plaintext)
Encodes the provided plaintext password for this storage scheme, without the name of the associated scheme.ByteString
PasswordStorageScheme. encodePasswordWithScheme(ByteSequence plaintext)
Encodes the provided plaintext password for this storage scheme, prepending the name of the scheme in curly braces.boolean
LocalBackend. entryExists(Dn entryDN)
Indicates whether an entry with the specified DN exists in the backend.void
LocalBackend. exportLDIF(LDIFExportConfig exportConfig)
Exports the contents of this backend to LDIF.void
AuthenticationPolicyState. finalizeStateAfterBind()
Performs any finalization required after a bind operation has completed.static AuthenticationPolicy
AuthenticationPolicy. forUser(Entry userEntry, boolean useDefaultOnError)
Returns the authentication policy for the user provided user.static AuthenticationPolicy
AuthenticationPolicy. forUser(Entry userEntry, boolean useDefaultOnError, Consumer<LocalizableMessage> onMultiplePasswordPolicies)
Returns the authentication policy for the user provided user.static AuthenticationPolicyState
AuthenticationPolicyState. forUser(Entry userEntry, boolean useDefaultOnError)
Returns the authentication policy state for the user provided user.static AuthenticationPolicyState
AuthenticationPolicyState. forUser(Entry userEntry, boolean useDefaultOnError, Consumer<LocalizableMessage> onMultiplePasswordPolicies)
Returns the authentication policy state for the user provided user.abstract ByteString
PasswordGenerator. generatePassword(Entry userEntry)
Generates a password for the user whose account is contained in the specified entry.ByteString
PasswordStorageScheme. getAuthPasswordPlaintextValue(String authInfo, String authValue)
Retrieves the original plaintext value for the provided password stored in the authPassword syntax.protected static ConditionResult
AuthenticationPolicyState. getBoolean(Entry entry, String attributeName)
A utility method which may be used by implementations in order to obtain the value of the specified attribute from the provided entry as a boolean.abstract Entry
LocalBackend. getEntry(Dn entryDN)
Retrieves the requested entry from this backend.protected abstract Entry
IdentityMapper. getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification string.static Entry
IdentityMapper. getEntryForID(String id, List<IdentityMapper<?>> identityMappers)
Retrieves the user entry that was mapped to the provided identification string from a list ofIdentityMapper
s.protected static long
AuthenticationPolicyState. getGeneralizedTime(Entry entry, AttributeDescription attrDesc)
A utility method which may be used by implementations in order to obtain the value of the specified attribute from the provided entry as a time in generalized time format.abstract KeyManager[]
KeyManagerProvider. getKeyManagers()
Retrieves a set ofKeyManager
objects that may be used for interactions requiring access to a key manager.abstract KeyStore
KeyManagerProvider. getKeyStore()
Returns the keystore used by this key manager provider.abstract long
LocalBackend. getNumberOfChildren(Dn parentDN)
Retrieves the number of subordinates immediately below the requested entry.abstract long
LocalBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
Retrieves the number of entries for the specified base DN including all entries from the requested entry to the lowest level in the tree.ByteString
PasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)
Retrieves the original plaintext value for the provided stored password.abstract TrustManager[]
TrustManagerProvider. getTrustManagers()
Retrieves a set ofTrustManager
objects that may be used for interactions requiring access to a trust manager.SynchronizationProviderResult
SynchronizationProvider. handleConflictResolution(PreOperationAddOperation addOperation)
Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProviderResult
SynchronizationProvider. handleConflictResolution(PreOperationDeleteOperation deleteOperation)
Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProviderResult
SynchronizationProvider. handleConflictResolution(PreOperationModifyDNOperation modifyDNOperation)
Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProviderResult
SynchronizationProvider. handleConflictResolution(PreOperationModifyOperation modifyOperation)
Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.abstract ConditionResult
LocalBackend. hasSubordinates(Dn entryDN)
Indicates whether the requested entry has any subordinates.LDIFImportResult
LocalBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)
Imports information from an LDIF file into this backend.boolean
AccessControlHandler. isAllowed(Dn dn, Operation op, Control control)
Indicates whether the provided control is allowed based on the access control configuration and the specified operation.boolean
AccessControlHandler. isAllowed(AddOperation addOperation)
Indicates whether the provided add operation is allowed based on the access control configuration.boolean
AccessControlHandler. isAllowed(ModifyOperation modifyOperation)
Indicates whether the provided modify operation is allowed based on the access control configuration.default boolean
Group. isMember(Dn userDN)
Indicates whether the user with the specified DN is a member of this group.boolean
Group. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)
Indicates whether the user with the specified DN is a member of this group.default boolean
Group. isMember(Entry userEntry)
Indicates whether the user described by the provided user entry is a member of this group.boolean
Group. isMember(Entry userEntry, Group.ExaminedGroups examinedGroups)
Indicates whether the user described by the provided user entry is a member of this group.Entry
CertificateMapper. mapCertificateToUser(Certificate[] certificateChain)
Establishes a mapping between the information in the provided certificate chain and a single user entry in the Directory Server.protected abstract Entry
CertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)
Implements certificate mapper specific logic for mapping the provided certificate to a user entry.boolean
AuthenticationPolicyState. passwordMatches(ByteString password)
Returnstrue
if the provided password value matches any of the user's passwords.abstract boolean
AuthenticationPolicyState. passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword)
Returnstrue
if the provided password value matches any of the user's passwords.void
LocalBackend. rebuildBackend(RebuildConfig rebuildConfig, ServerContext serverContext, BiConsumer<Long,Long> progressCallback)
Rebuild indexes in the backend instance.void
LocalBackend. registerPersistentSearch(PersistentSearch persistentSearch)
Registers the provided persistent search operation with this backend so that it will be notified of any add, delete, modify, or modify DN operations that are performed.abstract void
LocalBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
Moves and/or renames the provided entry in this backend, altering any subordinate entries as necessary.abstract void
LocalBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
Replaces the specified entry with the provided entry in this backend.void
LocalBackend. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
Consumes all or a subset of entries contained in this backend under the provided base DN.abstract void
LocalBackend. search(SearchOperation searchOperation)
Processes the specified search in this backend.abstract void
WorkQueue. submitOperation(Operation operation)
Submits an operation to be processed in the server.abstract boolean
WorkQueue. trySubmitOperation(Operation operation)
Tries to submit an operation to be processed in the server, without blocking.void
Group. updateMembers(List<Modification> modifications)
Attempt to make multiple changes to the group's member list.long
LocalBackend. verifyBackend(VerifyConfig verifyConfig)
Verify the integrity of the backend instance. -
Uses of LdapException in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat that throw LdapException Modifier and Type Method Description void
PatternRDN. addValue(String type, List<ByteString> valuePattern, String dnString)
Add another attribute-value pair to the pattern.boolean
AciHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
static PatternDN
PatternDN. decode(String dnString)
Create a new DN pattern matcher from a pattern string.boolean
AciHandler. isAllowed(Dn entryDN, Operation op, Control control)
boolean
AciHandler. isAllowed(AddOperation operation)
boolean
AciHandler. 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 void
ChangelogBackend. addEntry(Entry entry, AddOperation addOperation)
void
ConfigurationBackend. addEntry(Entry entry, AddOperation addOperation)
void
LDIFBackend. addEntry(Entry entry, AddOperation addOperation)
void
MemoryBackend. addEntry(Entry entry, AddOperation addOperation)
void
MonitorBackend. addEntry(Entry entry, AddOperation addOperation)
void
RootDSEBackend. addEntry(Entry entry, AddOperation addOperation)
void
SchemaBackend. addEntry(Entry entry, AddOperation addOperation)
void
ChangelogBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
ConfigurationBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
LDIFBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
MemoryBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
MonitorBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
RootDSEBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
SchemaBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
void
ConfigurationBackend. exportLDIF(LDIFExportConfig exportConfig)
void
MemoryBackend. exportLDIF(LDIFExportConfig exportConfig)
void
NullBackend. exportLDIF(LDIFExportConfig exportConfig)
void
RootDSEBackend. exportLDIF(LDIFExportConfig exportConfig)
void
SchemaBackend. exportLDIF(LDIFExportConfig exportConfig)
Entry
ChangelogBackend. getEntry(Dn entryDN)
Entry
MonitorBackend. getEntry(Dn entryDN)
long
ChangelogBackend. getNumberOfChildren(Dn parentDN)
long
ConfigurationBackend. getNumberOfChildren(Dn parentDN)
long
LDIFBackend. getNumberOfChildren(Dn parentDN)
long
ChangelogBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
ConfigurationBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
long
LDIFBackend. getNumberOfEntriesInBaseDN(Dn baseDN)
ConditionResult
ChangelogBackend. hasSubordinates(Dn entryDN)
ConditionResult
ConfigurationBackend. hasSubordinates(Dn entryDN)
ConditionResult
LDIFBackend. hasSubordinates(Dn entryDN)
LDIFImportResult
ConfigurationBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)
LDIFImportResult
LDIFBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)
LDIFImportResult
MemoryBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)
LDIFImportResult
NullBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)
LDIFImportResult
RootDSEBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)
LDIFImportResult
SchemaBackend. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)
void
ChangelogBackend. registerPersistentSearch(PersistentSearch pSearch)
void
ChangelogBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
ConfigurationBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
LDIFBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
MemoryBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
MonitorBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
RootDSEBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
SchemaBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
ChangelogBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
ConfigurationBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
LDIFBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
MemoryBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
MonitorBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
RootDSEBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
SchemaBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
LDIFBackend. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
void
ChangelogBackend. search(SearchOperation searchOperation)
Processes the specified search in this backend.void
ConfigurationBackend. search(SearchOperation searchOperation)
void
LDIFBackend. search(SearchOperation searchOperation)
void
MemoryBackend. search(SearchOperation searchOperation)
void
MonitorBackend. search(SearchOperation searchOperation)
void
NullBackend. search(SearchOperation searchOperation)
void
RootDSEBackend. search(SearchOperation searchOp)
void
SchemaBackend. search(SearchOperation searchOperation)
-
Uses of LdapException in org.opends.server.backends.pluggable
Methods in org.opends.server.backends.pluggable that throw LdapException Modifier and Type Method Description void
BackendImpl. addEntry(Entry entry, AddOperation addOperation)
void
BackendImpl. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
boolean
BackendImpl. entryExists(Dn entryDN)
void
BackendImpl. exportLDIF(LDIFExportConfig exportConfig)
Entry
BackendImpl. getEntry(Dn entryDN)
long
BackendImpl. getNumberOfChildren(Dn parentDN)
long
BackendImpl. getNumberOfEntriesInBaseDN(Dn baseDN)
ConditionResult
BackendImpl. hasSubordinates(Dn entryDN)
LDIFImportResult
BackendImpl. importLDIF(LDIFImportConfig importConfig, ServerContext serverContext)
void
BackendImpl. rebuildBackend(RebuildConfig rebuildConfig, ServerContext serverContext, BiConsumer<Long,Long> progressCallback)
void
BackendImpl. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
BackendImpl. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
BackendImpl. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
void
BackendImpl. search(SearchOperation searchOperation)
long
BackendImpl. verifyBackend(VerifyConfig verifyConfig)
-
Uses of LdapException in org.opends.server.backends.task
Methods in org.opends.server.backends.task that throw LdapException Modifier and Type Method Description void
TaskBackend. addEntry(Entry entry, AddOperation addOperation)
void
TaskScheduler. addRecurringTask(Entry recurringTask)
Adds a recurring task to the scheduler, optionally scheduling the first iteration for processing.void
TaskBackend. deleteEntry(Dn entryDN, DeleteOperation deleteOperation)
Task
TaskScheduler. entryToScheduledTask(Entry entry, Operation operation)
Decodes the contents of the provided entry as a scheduled task.Entry
TaskBackend. getEntry(Dn entryDN)
LDIFImportResult
TaskBackend. importLDIF(LDIFImportConfig importConfig, ServerContext sContext)
void
Task. initializeTask()
Performs any task-specific initialization that may be required before processing can start.protected void
Task. initializeTask(Entry taskEntry)
Performs any task-specific initialization that may be required before processing can start.static void
RecurringTask. parseTaskTab(String taskSchedule)
Parse and validate recurring task schedule.void
TaskScheduler. removeCompletedTask(String taskID)
Removes the specified completed task.void
TaskScheduler. removePendingTask(String taskID)
Removes the specified pending task.void
TaskScheduler. removeRecurringTask(String recurringTaskID)
Removes the recurring task with the given ID.void
TaskBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
TaskBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
Task
RecurringTask. scheduleNextIteration(Instant dateAndTimeToSchedule)
Schedules the next iteration of this recurring task for processing.void
TaskScheduler. scheduleTask(Task task)
Schedules the provided task for execution.void
TaskBackend. search(SearchOperation searchOp)
boolean
TaskScheduler. searchRecurringTasks(SearchOperation searchOperation)
Compares the filter in the provided search operation against each of the recurring task entries, returning any that match.boolean
TaskScheduler. searchScheduledTasks(SearchOperation searchOperation)
Compares the filter in the provided search operation against each of the task entries, returning any that match.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 Backup
BackupManager. 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 void
ConfigurationHandler. addEntry(Entry entry)
Add a configuration entry.void
ConfigurationHandler. deleteEntry(Dn dn)
Delete a configuration entry.void
ConfigurationHandler. replaceEntry(Entry oldEntry, Entry newEntry)
Replaces the old configuration entry with the new configuration entry provided.void
ConfigurationHandler. writeLDIF(LDIFExportConfig exportConfig)
Writes the current configuration to LDIF with the provided export configuration. -
Uses of LdapException in org.opends.server.core
Methods in org.opends.server.core that throw LdapException Modifier and Type Method Description static void
LockFileManager. acquireExclusiveLockForBackend(String backendID, LocalizableMessageDescriptor.Arg2<Object,Object> failureMsg)
Attempts to acquire an exclusive lock on the specified backend ID.static void
LockFileManager. acquireSharedLockForBackend(String backendID, LocalizableMessageDescriptor.Arg2<Object,Object> failureMsg)
Attempts to acquire an shared lock on the specified backend ID.void
BackendConfigManager. activateBackend(String backendId)
Loads and registers a configured and enabled backend.void
ModifyOperation. addModification(Modification modification)
Adds the provided modification to the set of modifications to this modify operation.void
DirectoryServer. checkCanEnqueueRequest(Operation operation, boolean isAllowedInLockDownMode)
void
ServerContext. checkCanEnqueueRequest(Operation operation, boolean isAllowedInLockDownMode)
Runs all the necessary checks prior to adding an operation to the work queue.void
BackendConfigManager. 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).void
BoundedWorkQueueStrategy. enqueueRequest(Operation operation)
void
DirectoryServer. enqueueRequest(Operation operation)
void
QueueingStrategy. enqueueRequest(Operation operation)
Put the request in the queue.void
ServerContext. enqueueRequest(Operation operation)
Adds the provided operation to the work queue so that it will be processed by one of the worker threads.void
SynchronousStrategy. enqueueRequest(Operation operation)
Run the request synchronously.void
WorkQueueStrategy. enqueueRequest(Operation operation)
Put the request in the work queue.boolean
DirectoryServer. entryExists(Dn entryDN)
boolean
ServerContext. entryExists(Dn entryDN)
Indicates whether the specified entry exists in the Directory Server.void
PasswordPolicyState. finalizeStateAfterBind()
ByteString
PasswordPolicyState. generatePassword()
Generates a new password for the user.Backend<?>
BackendConfigManager. getBackendWithBaseDn(Dn baseDn)
Retrieves the backend with the specified base DN.Entry
DirectoryServer. getEntry(Dn entryDN)
Entry
ServerContext. getEntry(Dn entryDN)
Retrieves the entry with the requested DN.Entry
DirectoryServer. getParentEntry(Dn childDn)
Entry
ServerContext. getParentEntry(Dn childDn)
Retrieves the entry that is the immediate parent of the entry having the provided DN.void
BackendConfigManager. 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 void
LockFileManager. releaseBackendLock(String backendID, LocalizableMessageDescriptor.Arg2<Object,Object> failureMsg)
Attempts to release a lock on the backend id.static void
BindOperation. runFakePasswordMatches(Dn bindDn, ByteString password)
When using cost based hashes, ensure similar response times when login with non-existing vs.void
SearchOperation. sendSearchEntry(SearchResultEntry entry)
Sends the provided search result entry to the client.boolean
SearchOperation. sendSearchReference(SearchResultReference reference)
Sends the provided search result reference to the client.protected boolean
BoundedWorkQueueStrategy. 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.boolean
DirectoryServer. tryEnqueueRequest(Operation operation)
boolean
ServerContext. 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 ByteString
PKCS5S2PasswordStorageScheme. encodeAuthPassword(ByteSequence plaintext)
static String
PBKDF2HmacSHA256PasswordStorageScheme. encodeOffline(byte[] passwordBytes)
Generates an encoded password string from the given clear-text password.static String
PBKDF2HmacSHA512PasswordStorageScheme. encodeOffline(byte[] passwordBytes)
Generates an encoded password string from the given clear-text password.static String
PBKDF2PasswordStorageScheme. encodeOffline(byte[] passwordBytes)
Generates an encoded password string from the given clear-text password.static String
SaltedSHA1PasswordStorageScheme. encodeOffline(byte[] passwordBytes)
Generates an encoded password string from the given clear-text password.static String
SaltedSHA512PasswordStorageScheme. encodeOffline(byte[] passwordBytes)
Generates an encoded password string from the given clear-text password.ByteString
Argon2PasswordStorageScheme. encodePassword(ByteSequence plaintext)
ByteString
CryptPasswordStorageScheme. encodePassword(ByteSequence plaintext)
ByteString
PKCS5S2PasswordStorageScheme. encodePassword(ByteSequence plaintext)
Entry
ExactMatchIdentityMapper. getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification string.Entry
RegularExpressionIdentityMapper. getEntryForID(String id)
KeyManager[]
FileBasedKeyManagerProvider. getKeyManagers()
KeyManager[]
LDAPKeyManagerProvider. getKeyManagers()
KeyManager[]
PKCS11KeyManagerProvider. getKeyManagers()
KeyStore
FileBasedKeyManagerProvider. getKeyStore()
KeyStore
PKCS11KeyManagerProvider. getKeyStore()
ByteString
Base64PasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)
TrustManager[]
AdminDataTrustManagerProvider. getTrustManagers()
TrustManager[]
FileBasedTrustManagerProvider. getTrustManagers()
TrustManager[]
LDAPTrustManagerProvider. getTrustManagers()
TrustManager[]
Pkcs11TrustManagerProvider. getTrustManagers()
boolean
DynamicGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)
boolean
StaticGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)
boolean
StaticGroup. isMember(Entry userEntry, Group.ExaminedGroups examinedGroups)
boolean
VirtualStaticGroup. isMember(Dn userDN, Group.ExaminedGroups examinedGroups)
boolean
VirtualStaticGroup. isMember(Entry userEntry, Group.ExaminedGroups examinedGroups)
protected Entry
FingerprintCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)
protected Entry
SubjectAttributeToUserAttributeCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)
protected Entry
SubjectDNToUserAttributeCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)
Entry
SubjectEqualsDNCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)
Establishes a mapping between the information in the provided certificate chain to the DN of a single user in the Directory Server.static StaticGroup
StaticGroup. newInstance(ServerContext serverContext, Entry groupEntry)
Creates a new group of this type based on the definition contained in the provided entry.static VirtualStaticGroup
VirtualStaticGroup. newInstance(Entry groupEntry, ServerContext serverContext)
Creates a new group of this type based on the definition contained in the provided entry.void
TraditionalWorkQueue. submitOperation(Operation operation)
Submits an operation to be processed by one of the worker threads associated with this work queue.boolean
TraditionalWorkQueue. trySubmitOperation(Operation operation)
void
StaticGroup. 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 void
ReactiveHandlersUtils. 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 LdapClientSocket
LDAPContext.InternalLdapClient. getAuthenticatedSocket(Entry userEntry)
Get a directLdapClientSocket
to 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 void
JmxClientConnection. 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 long
LDAPReplicationDomain. countEntries()
This method should return the total number of objects in the replicated domain.ReplicaId
LDAPReplicationDomain. decodeSource(String sourceReplicaName)
Verifies that the given string represents a valid source from which this server can be initialized.protected void
LDAPReplicationDomain. exportBackend(OutputStream output)
This method trigger an export of the replicated data.protected void
LDAPReplicationDomain. importBackend(InputStream input)
This method triggers an import of the replicated data.protected void
LDAPReplicationDomain. initializeRemote(ReplicaId target, ReplicaId requestorID, Task initTask, int initWindow)
Process the initialization of some other server or servers in the topology specified by the target argument when this initialization specifying the server that requests the initialization.void
LDAPReplicationDomain. purgeConflictsHistorical(PurgeConflictsHistoricalTask task, long endDate)
Check and purge the historical attribute on all eligible entries under this domain.static LDAPReplicationDomain
LDAPReplicationDomain. retrievesReplicationDomain(Dn baseDN, ServerContext serverContext)
Retrieves a replication domain based on the baseDN. -
Uses of LdapException in org.opends.server.replication.server
Methods in org.opends.server.replication.server that throw LdapException Modifier and Type Method Description boolean
ReplicationServerDomain. isAlreadyConnectedToRS(org.opends.server.replication.server.PeerReplicationServer peerRs)
Checks whether a remote RS is already connected to this hosting RS.void
ReplicationServer. validateCookie(MultiDomainServerState cookie, Set<Dn> ignoredBaseDNs)
Validate that provided cookie is coherent with this replication server, when ignoring the provided set of DNs. -
Uses of LdapException in org.opends.server.replication.service
Methods in org.opends.server.replication.service that return LdapException Modifier and Type Method Description LdapException
ReplicationDomain.ImportExportContext. getException()
Get the exception that occurred during the import/export.LdapException
ReplicationDomain.ImportExportContext. setException(LdapException exception)
Set the exception that occurred during the import/export.LdapException
ReplicationDomain.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 LdapException
ReplicationDomain.ImportExportContext. setException(LdapException exception)
Set the exception that occurred during the import/export.LdapException
ReplicationDomain.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 long
ReplicationDomain. countEntries()
This method should return the total number of objects in the replicated domain.ReplicaId
ReplicationDomain. decodeTarget(String targetString)
Verifies that the given string represents a valid source from which this server can be initialized.protected abstract void
ReplicationDomain. exportBackend(OutputStream output)
This method should trigger an export of the replicated data.protected abstract void
ReplicationDomain. importBackend(InputStream input)
This method should trigger an import of the replicated data.void
ReplicationDomain. initializeFromRemote(ReplicaId source, Task initTask)
Initializes asynchronously this domain from a remote source server.void
ReplicationDomain. initializeRemote(ReplicaId target, Task initTask)
Initializes a remote server from this server.protected void
ReplicationDomain. initializeRemote(ReplicaId replicaToInitialize, ReplicaId replicaRunningTheTask, Task initTask, int initWindow)
Process the initialization of some other server or servers in the topology specified by the target argument when this initialization specifying the server that requests the initialization.void
ReplicationDomain. resetGenerationId(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 void
SchemaHandler. importEntry(Entry newSchemaEntry, AlertGenerator alertGenerator)
Imports the provided schema entry in the schema.void
SchemaHandler. updateSchema(Schema schema)
Replaces the schema with the provided schema.void
SchemaHandler. updateSchema(SchemaHandler.SchemaUpdater updater)
Updates the schema using the provided schema updater.void
SchemaHandler. updateSchemaAndConcatenatedSchemaFile(Schema newSchema)
Replaces the schema with the provided schema and update the concatenated schema file.void
SchemaHandler. updateSchemaAndSchemaFiles(Schema newSchema, Map<String,Attribute> newExtraAttributes, SortedSet<String> modifiedSchemaFileNames, AlertGenerator alertGenerator)
Replaces the schema with the provided schema and updates the provided set of schema files.<T> void
SchemaHandler. updateSchemaOption(Option<T> option, T newValue)
Updates the schema option if the new value differs from the old value. -
Uses of LdapException in org.opends.server.tasks
Methods in org.opends.server.tasks with parameters of type LdapException Modifier and Type Method Description void
InitializeTask. retry(LdapException reason)
The task was not successful but can be retried, set the state accordingly.void
InitializeTask. updateTaskCompletionState(LdapException e)
Set the state for the current task.Methods in org.opends.server.tasks that throw LdapException Modifier and Type Method Description void
AddSchemaFileTask. initializeTask(Entry taskEntry)
protected void
BackupPurgeTask. initializeTask(Entry taskEntry)
void
BackupTask. initializeTask(Entry taskEntry)
void
DisconnectClientTask. initializeTask(Entry taskEntry)
void
EnterLockdownModeTask. initializeTask(Entry taskEntry)
void
ExportTask. initializeTask(Entry taskEntry)
void
ImportTask. initializeTask(Entry taskEntry)
void
InitializeTargetTask. initializeTask(Entry taskEntry)
void
InitializeTask. initializeTask(Entry taskEntry)
void
LeaveLockdownModeTask. initializeTask(Entry taskEntry)
void
PurgeConflictsHistoricalTask. initializeTask(Entry taskEntry)
void
RebuildTask. initializeTask(Entry taskEntry)
void
ResetChangeNumberTask. initializeTask(Entry taskEntry)
void
RestoreTask. initializeTask(Entry taskEntry)
void
SetGenerationIdTask. initializeTask(Entry taskEntry)
void
ShutdownTask. initializeTask(Entry taskEntry)
Performs any task-specific initialization that may be required before processing can start.void
ImportExportParams. validate(LocalizableMessageDescriptor.Arg2<Object,Object> includeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object,Object> excludeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object,Object> includeFilterErrMsg, LocalizableMessageDescriptor.Arg2<Object,Object> excludeFilterErrMsg)
Validates the parameters provided in the constructor. -
Uses of LdapException in org.opends.server.tools.tasks
Methods in org.opends.server.tools.tasks that throw LdapException Modifier and Type Method Description void
TaskClient. 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.TaskEntry
TaskClient. getTaskEntry(String taskId)
Gets the entry of the task associated to the provided identifier.TaskEntry
TaskClient. schedule(TaskScheduleInformation information)
Schedule a task for execution by writing an entry to the task backend.TaskEntry
TaskClient. waitUntilTaskIsDone(String taskId, PrintStream stream)
Wait until the task with the provided id is done. -
Uses of LdapException in org.opends.server.types
Methods in org.opends.server.types that return LdapException Modifier and Type Method Description protected static LdapException
Operation. createLdapException(Operation operation, Entry entry, Dn entryDN, Result result, Result altResult)
Returns a newLdapException
built from the provided resultCodes and messages.Methods in org.opends.server.types with parameters of type LdapException Modifier and Type Method Description void
Operation. setResult(LdapException e)
Sets the response elements for this operation based on the information contained in the providedexception
object.Methods in org.opends.server.types that throw LdapException Modifier and Type Method Description protected void
Operation. checkAttributeConformsToSyntax(Entry entry, Attribute attribute, LocalizableMessageDescriptor.Arg4<Object,Object,Object,Object> invalidSyntaxErrorMsg, LocalizableMessageDescriptor.Arg3<Object,Object,Object> invalidSyntaxNoValueErrorMsg, LocalizableMessageDescriptor.Arg1<Object> rejectErrorMsg)
Checks whether an attribute's values conform to its syntax.protected static void
Operation. checkIfBackendIsWritable(LocalBackend<?> backend, Operation op, Dn entryDN, LocalizableMessageDescriptor.Arg1<Object> serverMsg, LocalizableMessageDescriptor.Arg1<Object> backendMsg)
Checks if an update operation can be performed against a backend.protected static LdapException
Operation. createLdapException(Operation operation, Entry entry, Dn entryDN, Result result, Result altResult)
Returns a newLdapException
built from the provided resultCodes and messages.static FilePermission
FilePermission. decodeUNIXMode(String modeString)
Decodes the provided string as a UNIX mode and retrieves the corresponding file permission.void
Operation. evaluateProxyAuthControls()
Evaluate all aci and privilege checks for any proxy auth controls.static Entry
ProxyAuthHelper. getAuthorizationEntryFromControl(ProxiedAuthV1RequestControl proxiedAuthControl, ServerContext serverContext)
Retrieves the authorization entry for the provided proxied authorization V1 control.static Entry
ProxyAuthHelper. getAuthorizationEntryFromControl(ProxiedAuthV2RequestControl proxiedAuthControl, ServerContext serverContext)
Retrieves the authorization entry for this proxied authorization V2 control.Dn
LDAPURL. getName()
Retrieves the processed DN for this LDAP URL.<T extends Control>
TOperation. getRequestControl(ControlDecoder<T> d, DecodeOptions options)
static LDAPURL
LDAPURL. partiallyDecode(String url)
Decodes the provided string as an LDAP URL, but do not decode the base DN and only keep it as a string instead (it can be retrieved by callingLDAPURL.getRawBaseDN()
).protected void
Operation. removeAllDisallowedControls(Dn targetDN)
Removes all the disallowed request controls from this operation.static boolean
FilePermission. setPermissions(Path f, FilePermission p)
Attempts to set the given permissions on the specified file.protected static void
Operation. setResultCodeAndMessageNoInfoDisclosure(Operation operation, Entry entry, Dn entryDN, Result realResult, Result altResult)
Sets the provided resultCodes and messages on the provided operation.static LDAPURL
LDAPURL. valueOf(String url)
Decodes the provided string as an LDAP URL.static SubtreeSpecification
SubtreeSpecification. 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 void
InProgressOperation. setResult(LdapException e)
Sets the response elements for this operation based on the information contained in the providedexception
object.void
PostOperationOperation. setResult(LdapException e)
Sets the response elements for this operation based on the information contained in the providedexception
object.Methods in org.opends.server.types.operation that throw LdapException Modifier and Type Method Description void
PreOperationModifyOperation. addModification(Modification modification)
Adds the provided modification to the set of modifications to this modify operation.void
PreParseModifyOperation. addModification(Modification modification)
Adds the provided modification to the set of modifications for this modify operation.default <T extends Control>
TPluginOperation. getRequestControl(ControlDecoder<T> d)
Retrieves a control included in the request from the client using the default decode options.<T extends Control>
TPluginOperation. getRequestControl(ControlDecoder<T> d, DecodeOptions options)
Retrieves a control included in the request from the client. -
Uses of LdapException in org.opends.server.util
Methods in org.opends.server.util that throw LdapException Modifier and Type Method Description static SSLContext
SslUtils. createSslContext(Collection<Dn> trustManagerProviderDns, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, ServerContext serverContext)
Creates an SSL context.static SslOptions
SslUtils. createSslOptions(Collection<Dn> trustManagerProviderDns, Dn keyManagerProviderDn, String friendlyName, SortedSet<String> sslCertNicknames, SortedSet<String> sslCipherSuites, SortedSet<String> sslProtocols, ServerContext serverContext)
CreatesSslOptions
for the provided parameters.static KeyManager[]
SslUtils. getKeyManagers(Dn keyManagerProviderDn, String friendlyName, Set<String> sslCertNicknames, ServerContext serverContext)
Returns an array ofKeyManager
s for use by theSSLContext
while setting up communication.static TrustManager[]
SslUtils. getTrustManagers(Collection<Dn> trustManagerProviderDns, ServerContext serverContext)
Returns an array ofTrustManager
s for use by theSSLContext
while setting up communication.static String
SchemaUtils. parseAttributeTypeOID(String definition)
Returns the OID from the provided attribute type definition, assuming the definition is valid.static String
SchemaUtils. parseDITContentRuleOID(String definition)
Returns the OID from the provided DIT content rule definition, assuming the definition is valid.static String
SchemaUtils. parseMatchingRuleUseOID(String definition)
Returns the OID from the provided matching rule use definition, assuming the definition is valid.static String
SchemaUtils. parseNameFormOID(String definition)
Returns the OID from the provided name form definition, assuming the definition is valid.static String
SchemaUtils. parseObjectClassOID(String definition)
Returns the OID from the provided object class definition, assuming the definition is valid.static int
SchemaUtils. parseRuleID(String definition)
Returns the ruleID from the provided DIT structure rule definition, assuming the definition is valid.static String
SchemaUtils. parseSchemaFileFromElementDefinition(String definition)
Parses the schema file (value of X-SCHEMA-FILE extension) from the provided schema element definition.static String
SchemaUtils. parseSyntaxOID(String definition)
Returns the OID from the provided syntax definition, assuming the definition is valid.
-