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.ldap.spi |
Interfaces and classes for service providers.
|
org.forgerock.opendj.ldif |
Classes and interfaces for reading and writing LDIF.
|
org.forgerock.opendj.rest2ldap.authz |
This package contains
Filter to authenticate and authorize LDAP connections. |
org.forgerock.opendj.server.config.client |
Provides client-side interfaces for querying and managing the Core
directory server administrative components.
|
org.opends.admin.ads |
Defines the different classes that are you used to have a read-only view of the configuration of the servers that are
registered in the Administration Directory Server (ADS).
|
org.opends.admin.ads.util |
Defines a set of auxiliary classes and utilities that are used to retrieve the configuration of the servers that are
registered in the Administration Directory Server (ADS).
|
org.opends.guitools.controlpanel.util |
Contains some utilities used in the Control Panel.
|
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.jeb |
Contains the code for the Directory Server backend that uses the Berkeley DB
Java Edition as the repository for storing entry and index information.
|
org.opends.server.backends.pluggable |
Contains the code for implementing Directory Server pluggable storage backends.
|
org.opends.server.backends.pluggable.spi |
Interfaces and classes required when implementing new storage engines for the pluggable backend.
|
org.opends.server.backends.task |
Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.
|
org.opends.server.config |
Contains code used to interact with the Directory Server configuration.
|
org.opends.server.controls |
Contains classes that represent specific LDAP controls and their values.
|
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.loggers |
Contains implementations of Directory Server access, error, and debug loggers.
|
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.protocols.ldap |
Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using LDAPv3.
|
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 |
Contains various Directory Server tool implementations.
|
org.opends.server.tools.dsreplication |
Defines the classes that are you used by the replication command lines.
|
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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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> |
ManagementContext.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> |
DriverBasedManagementContext.deleteManagedObject(ManagedObjectPath<?,?> parent,
InstantiableRelationDefinition<C,S> rd,
String name) |
<C extends ConfigurationClient,S extends Configuration> |
ManagementContext.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> |
DriverBasedManagementContext.deleteManagedObject(ManagedObjectPath<?,?> parent,
OptionalRelationDefinition<C,S> rd) |
<C extends ConfigurationClient,S extends Configuration> |
ManagementContext.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> |
DriverBasedManagementContext.deleteManagedObject(ManagedObjectPath<?,?> parent,
SetRelationDefinition<C,S> rd,
String name) |
<C extends ConfigurationClient,S extends Configuration> |
ManagedObject.getChild(InstantiableRelationDefinition<C,S> r,
String name)
Retrieves an instantiable child managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
ManagedObject.getChild(OptionalRelationDefinition<C,S> r)
Retrieves an optional child managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
ManagedObject.getChild(SetRelationDefinition<C,S> r,
String name)
Retrieves a set child managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
ManagedObject.getChild(SingletonRelationDefinition<C,S> r)
Retrieves a singleton child managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
ManagementContext.getManagedObject(ManagedObjectPath<C,S> path)
Gets the named managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
DriverBasedManagementContext.getManagedObject(ManagedObjectPath<C,S> path) |
<P> ValueOrExpression<P> |
ManagementContext.getPropertyValue(ManagedObjectPath<?,?> path,
PropertyDefinition<P> pd)
Gets the effective value of a property in the named managed object.
|
<P> ValueOrExpression<P> |
DriverBasedManagementContext.getPropertyValue(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.
|
<P> SortedSet<ValueOrExpression<P>> |
DriverBasedManagementContext.getPropertyValues(ManagedObjectPath<?,?> path,
PropertyDefinition<P> pd) |
<C extends ConfigurationClient,S extends Configuration> |
ManagedObject.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> |
ManagedObject.listChildren(InstantiableRelationDefinition<C,S> r)
Lists the child managed objects associated with the specified
instantiable relation.
|
<C extends ConfigurationClient,S extends Configuration> |
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> |
ManagedObject.listChildren(SetRelationDefinition<C,S> r)
Lists the child managed objects associated with the specified set
relation.
|
<C extends ConfigurationClient,S extends Configuration> |
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> |
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> |
DriverBasedManagementContext.listManagedObjects(ManagedObjectPath<?,?> parent,
InstantiableRelationDefinition<C,S> rd) |
<C extends ConfigurationClient,S extends Configuration> |
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> |
DriverBasedManagementContext.listManagedObjects(ManagedObjectPath<?,?> parent,
InstantiableRelationDefinition<C,S> rd,
AbstractManagedObjectDefinition<? extends C,? extends S> d) |
<C extends ConfigurationClient,S extends Configuration> |
ManagementContext.listManagedObjects(ManagedObjectPath<?,?> parent,
SetRelationDefinition<C,S> rd)
Lists the child managed objects of the named parent managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
DriverBasedManagementContext.listManagedObjects(ManagedObjectPath<?,?> parent,
SetRelationDefinition<C,S> rd) |
boolean |
ManagementContext.managedObjectExists(ManagedObjectPath<?,?> path)
Determines whether the named managed object exists.
|
boolean |
DriverBasedManagementContext.managedObjectExists(ManagedObjectPath<?,?> path) |
<C extends ConfigurationClient,S extends Configuration> |
ManagedObject.removeChild(InstantiableRelationDefinition<C,S> r,
String name)
Removes the named instantiable child managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
ManagedObject.removeChild(OptionalRelationDefinition<C,S> r)
Removes an optional child managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
ManagedObject.removeChild(SetRelationDefinition<C,S> r,
String name)
Removes s set child managed object.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractManagedObject.addNewManagedObject()
Adds this new managed object.
|
void |
AbstractManagedObject.commit() |
<C extends ConfigurationClient,S extends Configuration> |
Driver.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> |
Driver.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> |
Driver.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> |
Driver.deleteManagedObject(ManagedObjectPath<C,S> path)
Deletes the named managed object.
|
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.getChild(InstantiableRelationDefinition<C,S> r,
String name) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.getChild(OptionalRelationDefinition<C,S> r) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.getChild(SetRelationDefinition<C,S> r,
String name) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.getChild(SingletonRelationDefinition<C,S> r) |
abstract <C extends ConfigurationClient,S extends Configuration> |
Driver.getManagedObject(ManagedObjectPath<C,S> path)
Gets the named managed object.
|
abstract <C extends ConfigurationClient,S extends Configuration,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> |
AbstractManagedObject.hasChild(OptionalRelationDefinition<C,S> r) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.listChildren(InstantiableRelationDefinition<C,S> r) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.listChildren(InstantiableRelationDefinition<C,S> r,
AbstractManagedObjectDefinition<? extends C,? extends S> d) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.listChildren(SetRelationDefinition<C,S> r) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.listChildren(SetRelationDefinition<C,S> r,
AbstractManagedObjectDefinition<? extends C,? extends S> d) |
abstract <C extends ConfigurationClient,S extends Configuration> |
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> |
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> |
AbstractManagedObject.removeChild(InstantiableRelationDefinition<C,S> r,
String name) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.removeChild(OptionalRelationDefinition<C,S> r) |
<C extends ConfigurationClient,S extends Configuration> |
AbstractManagedObject.removeChild(SetRelationDefinition<C,S> r,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
OrCondition.evaluate(ManagementContext context,
ManagedObject<?> managedObject) |
boolean |
NotCondition.evaluate(ManagementContext context,
ManagedObject<?> managedObject) |
boolean |
ContainsCondition.evaluate(ManagementContext context,
ManagedObject<?> managedObject) |
boolean |
Condition.evaluate(ManagementContext context,
ManagedObject<?> managedObject)
Evaluates this condition against the provided client managed object.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
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,
Dn matchedDn,
Throwable cause)
Creates a new LDAP exception with the provided resultCode, diagnosticMessage, matched DN and cause.
|
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,
Throwable cause)
Creates a new LDAP exception with the provided result code and
cause.
|
static LdapException |
LdapException.newLdapException(Throwable cause)
Creates a new LDAP exception with the provided cause and a result code depending
on the class cause original
cause . |
Modifier and Type | Method and Description |
---|---|
Promise<Connection,LdapException> |
LdapConnectionFactory.getConnectionAsync() |
Promise<Connection,LdapException> |
ConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the Directory Server associated
with this connection factory.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
Result |
Connection.add(AddRequest request)
Adds an entry to the Directory Server using the provided add request.
|
Result |
AbstractConnectionWrapper.add(AddRequest request)
Adds an entry to the Directory Server using the provided add request.
|
Result |
AbstractAsynchronousConnection.add(AddRequest request) |
Result |
Connection.add(Entry entry)
Adds the provided entry to the Directory Server.
|
Result |
AbstractConnectionWrapper.add(Entry entry)
Adds the provided entry to the Directory Server.
|
Result |
AbstractConnection.add(Entry entry) |
Result |
Connection.add(String... ldifLines)
Adds an entry to the Directory Server using the provided lines of LDIF.
|
Result |
AbstractConnectionWrapper.add(String... ldifLines)
Adds an entry to the Directory Server using the provided lines of LDIF.
|
Result |
AbstractConnection.add(String... ldifLines) |
Result |
Connection.applyChange(ChangeRecord request)
Applies the provided change request to the Directory Server.
|
Result |
AbstractConnectionWrapper.applyChange(ChangeRecord request)
Applies the provided change request to the Directory Server.
|
Result |
AbstractConnection.applyChange(ChangeRecord request) |
BindResult |
Connection.bind(BindRequest request)
Authenticates to the Directory Server using the provided bind request.
|
BindResult |
AbstractConnectionWrapper.bind(BindRequest request)
Authenticates to the Directory Server using the provided bind request.
|
BindResult |
AbstractAsynchronousConnection.bind(BindRequest request) |
BindResult |
Connection.bind(String name,
char[] password)
Authenticates to the Directory Server using simple authentication and the
provided user name and password.
|
BindResult |
AbstractConnectionWrapper.bind(String name,
char[] password)
Authenticates to the Directory Server using simple authentication and the
provided user name and password.
|
BindResult |
AbstractConnection.bind(String name,
char[] password) |
CompareResult |
Connection.compare(CompareRequest request)
Compares an entry in the Directory Server using the provided compare
request.
|
CompareResult |
AbstractConnectionWrapper.compare(CompareRequest request)
Compares an entry in the Directory Server using the provided compare
request.
|
CompareResult |
AbstractAsynchronousConnection.compare(CompareRequest 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 |
AbstractConnectionWrapper.compare(String name,
String attributeDescription,
String assertionValue)
Compares the named entry in the Directory Server against the provided
attribute value assertion.
|
CompareResult |
AbstractConnection.compare(String name,
String attributeDescription,
String assertionValue) |
Result |
Connection.delete(DeleteRequest request)
Deletes an entry from the Directory Server using the provided delete
request.
|
Result |
AbstractConnectionWrapper.delete(DeleteRequest request)
Deletes an entry from the Directory Server using the provided delete
request.
|
Result |
AbstractAsynchronousConnection.delete(DeleteRequest request) |
Result |
Connection.delete(String name)
Deletes the named entry from the Directory Server.
|
Result |
AbstractConnectionWrapper.delete(String name)
Deletes the named entry from the Directory Server.
|
Result |
AbstractConnection.delete(String name) |
Result |
Connection.deleteSubtree(String name)
Deletes the named entry and all of its subordinates from the Directory
Server.
|
Result |
AbstractConnectionWrapper.deleteSubtree(String name)
Deletes the named entry and all of its subordinates from the Directory
Server.
|
Result |
AbstractConnection.deleteSubtree(String name) |
<R extends ExtendedResult> |
Connection.extendedRequest(ExtendedRequest<R> request)
Requests that the Directory Server performs the provided extended
request.
|
<R extends ExtendedResult> |
AbstractConnectionWrapper.extendedRequest(ExtendedRequest<R> request)
Requests that the Directory Server performs the provided extended
request.
|
<R extends ExtendedResult> |
AbstractConnection.extendedRequest(ExtendedRequest<R> request) |
<R extends ExtendedResult> |
Connection.extendedRequest(ExtendedRequest<R> request,
IntermediateResponseHandler handler)
Requests that the Directory Server performs the provided extended
request, optionally listening for any intermediate responses.
|
<R extends ExtendedResult> |
AbstractConnectionWrapper.extendedRequest(ExtendedRequest<R> request,
IntermediateResponseHandler handler)
Requests that the Directory Server performs the provided extended
request, optionally listening for any intermediate responses.
|
<R extends ExtendedResult> |
AbstractAsynchronousConnection.extendedRequest(ExtendedRequest<R> request,
IntermediateResponseHandler handler) |
GenericExtendedResult |
Connection.extendedRequest(String requestName,
ByteString requestValue)
Requests that the Directory Server performs the provided extended
request.
|
GenericExtendedResult |
AbstractConnectionWrapper.extendedRequest(String requestName,
ByteString requestValue)
Requests that the Directory Server performs the provided extended
request.
|
GenericExtendedResult |
AbstractConnection.extendedRequest(String requestName,
ByteString requestValue) |
Connection |
LdapConnectionFactory.getConnection() |
Connection |
ConnectionFactory.getConnection()
Returns a connection to the Directory Server associated with this
connection factory.
|
Result |
Connection.modify(ModifyRequest request)
Modifies an entry in the Directory Server using the provided modify
request.
|
Result |
AbstractConnectionWrapper.modify(ModifyRequest request)
Modifies an entry in the Directory Server using the provided modify
request.
|
Result |
AbstractAsynchronousConnection.modify(ModifyRequest request) |
Result |
Connection.modify(String... ldifLines)
Modifies an entry in the Directory Server using the provided lines of
LDIF.
|
Result |
AbstractConnectionWrapper.modify(String... ldifLines)
Modifies an entry in the Directory Server using the provided lines of
LDIF.
|
Result |
AbstractConnection.modify(String... ldifLines) |
Result |
Connection.modifyDn(ModifyDnRequest request)
Renames an entry in the Directory Server using the provided modify DN
request.
|
Result |
AbstractConnectionWrapper.modifyDn(ModifyDnRequest request)
Renames an entry in the Directory Server using the provided modify DN
request.
|
Result |
AbstractAsynchronousConnection.modifyDn(ModifyDnRequest request) |
Result |
Connection.modifyDn(String name,
String newRDN)
Renames the named entry in the Directory Server using the provided new
RDN.
|
Result |
AbstractConnectionWrapper.modifyDn(String name,
String newRDN)
Renames the named entry in the Directory Server using the provided new
RDN.
|
Result |
AbstractConnection.modifyDn(String name,
String newRDN) |
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.modifyEntry(Entry entry,
ModifyRequest changes)
Applies the provided modification request 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 |
Connection.readEntry(Dn 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 |
AbstractConnection.readEntry(Dn baseObject,
String... attributeDescriptions) |
SearchResultEntry |
Connection.readEntry(String name,
String... attributeDescriptions)
Reads the named entry from the Directory Server.
|
SearchResultEntry |
AbstractConnectionWrapper.readEntry(String name,
String... attributeDescriptions)
Reads the named entry from the Directory Server.
|
SearchResultEntry |
AbstractConnection.readEntry(String baseObject,
String... attributeDescriptions) |
static RootDse |
RootDse.readRootDse(Connection connection)
Reads the Root DSE from the Directory Server using the provided
connection.
|
static RootDse |
RootDse.readRootDse(LdapClientSocket socket)
Reads the Root DSE from the Directory Server using the provided client socket.
|
Result |
Connection.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)
Searches the Directory Server using the provided search request.
|
Result |
AbstractConnection.search(SearchRequest request,
Collection<? super SearchResultEntry> entries) |
Result |
Connection.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,
Collection<? super SearchResultEntry> entries,
Collection<? super SearchResultReference> references)
Searches the Directory Server using the provided search request.
|
Result |
AbstractConnection.search(SearchRequest request,
Collection<? super SearchResultEntry> entries,
Collection<? super SearchResultReference> references) |
Result |
Connection.search(SearchRequest request,
SearchResultHandler handler)
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 |
AbstractAsynchronousConnection.search(SearchRequest request,
SearchResultHandler handler) |
SearchResultEntry |
Connection.searchSingleEntry(SearchRequest request)
Searches the Directory Server for a single entry using the provided
search request.
|
SearchResultEntry |
AbstractConnectionWrapper.searchSingleEntry(SearchRequest request)
Searches the Directory Server for a single entry using the provided
search request.
|
SearchResultEntry |
AbstractConnection.searchSingleEntry(SearchRequest 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 |
AbstractConnectionWrapper.searchSingleEntry(String baseObject,
SearchScope scope,
String filter,
String... attributeDescriptions)
Searches the Directory Server for a single entry using the provided
search parameters.
|
SearchResultEntry |
AbstractConnection.searchSingleEntry(String baseObject,
SearchScope scope,
String filter,
String... attributeDescriptions) |
Modifier and Type | Method and Description |
---|---|
LdapException |
InvalidRequest.getReason()
Returns the reason why this request is invalid.
|
Modifier and Type | Method and Description |
---|---|
static InvalidRequest |
Requests.newInvalidRequest(Request.RequestType invalidRequestType,
String invalidRawDn,
LdapException reason)
Creates a new invalid request using the provided reason.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static <R,E extends LdapException> |
LdapPromises.newFailedLdapPromise(E error)
Returns a
LdapPromise representing an asynchronous task which has already failed with the provided
error. |
static <R,E extends LdapException> |
LdapPromises.newFailedLdapPromise(E error,
int requestId)
Returns a
LdapPromise representing an asynchronous task, identified by the provided requestId, which has
already failed with the provided error. |
Modifier and Type | Method and Description |
---|---|
LdapException |
ConnectionState.getConnectionError()
Returns the error that caused the connection to fail, or
null if
the connection has not failed. |
Modifier and Type | Method and Description |
---|---|
void |
LdapPromiseImpl.handleException(LdapException exception) |
boolean |
ConnectionState.notifyConnectionError(boolean isDisconnectNotification,
LdapException error)
Attempts to transition this connection state to error and invokes event
listeners if successful.
|
Modifier and Type | Method and Description |
---|---|
static <R> LdapPromise<R> |
LdapPromises.asLdapPromise(Promise<R,LdapException> wrappedPromise)
Converts a
Promise to a LdapPromise with a request ID of -1. |
static <R> LdapPromise<R> |
LdapPromises.asLdapPromise(Promise<R,LdapException> wrappedPromise,
int requestId)
Converts a
Promise to a LdapPromise with the provided request ID. |
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectionEntryReader.hasNext() |
boolean |
ConnectionEntryReader.isEntry()
Waits for the next search result entry or reference to become available
and returns
true if it is an entry, or false if it is a
reference. |
boolean |
ConnectionEntryReader.isReference()
Waits for the next search result entry or reference to become available
and returns
true if it is a reference, or false 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 a
SearchResultEntry . |
SearchResultReference |
ConnectionEntryReader.readReference()
Waits for the next search result entry or reference to become available
and, if it is a reference, returns it as a
SearchResultReference . |
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(ChangeRecord change)
Writes the provided change record 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.
|
ConnectionEntryWriter |
ConnectionEntryWriter.writeEntry(Entry entry)
Writes an entry to the underlying connection using an Add request,
blocking until the request completes.
|
Modifier and Type | Method and Description |
---|---|
Promise<org.forgerock.services.context.SecurityContext,LdapException> |
AuthenticationStrategy.authenticate(String username,
String password,
org.forgerock.services.context.Context parentContext)
Authenticate a user.
|
Modifier and Type | Method and Description |
---|---|
AccessControlHandlerCfgClient |
RootCfgClient.getAccessControlHandler()
Gets the Access Control Handler.
|
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.
|
ExternalChangelogDomainCfgClient |
ReplicationDomainCfgClient.getExternalChangelogDomain()
Gets the External Changelog Domain.
|
GlobalAccessControlPolicyCfgClient |
PolicyBasedAccessControlHandlerCfgClient.getGlobalAccessControlPolicy(String name)
Gets the named Global Access Control Policy.
|
GlobalCfgClient |
RootCfgClient.getGlobalConfiguration()
Gets the Global Configuration.
|
GroupImplementationCfgClient |
RootCfgClient.getGroupImplementation(String name)
Gets the named Group Implementation.
|
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.
|
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 |
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.listGroupImplementations()
Lists the Group Implementations.
|
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.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 |
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.removeGroupImplementation(String name)
Removes the named Group Implementation.
|
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.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.
|
Modifier and Type | Method and Description |
---|---|
static void |
ServerDescriptor.seedAdsTrustStore(ConnectionWrapper connWrapper,
Map<String,byte[]> keyEntryMap)
Seeds the bound instance's local ads-truststore with a set of instance key-pair public key certificates.
|
Constructor and Description |
---|
TopologyCacheException(TopologyCacheException.Type type,
LdapException e,
ApplicationTrustManager trustManager,
HostPort ldapHostPort)
Constructor for the exception that must be generated when a LdapException occurs.
|
Modifier and Type | Method and Description |
---|---|
ConnectionWrapper |
ServerLoader.createConnectionWrapper()
Returns a Connection Wrapper.
|
Constructor and Description |
---|
ConnectionWrapper(HostPort hostPort,
ConnectionSecurity connectionSecurity,
Dn bindDn,
String bindPwd,
int connectTimeout,
TrustManager trustManager)
Creates a connection wrapper.
|
ConnectionWrapper(HostPort hostPort,
ConnectionSecurity connectionSecurity,
Dn bindDn,
String bindPwd,
int connectTimeout,
TrustManager trustManager,
KeyManager keyManager)
Creates a connection wrapper.
|
Modifier and Type | Method and Description |
---|---|
protected Schema |
SchemaLoader.getBaseSchema()
Returns a basic version of the schema.
|
protected Schema |
ConfigReader.readSchema()
Reads the schema from the files.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
LocalBackend.addEntry(Entry entry,
AddOperation addOperation)
Adds the provided entry to this backend.
|
void |
Backupable.afterRestore(Path restoreDirectory,
Path saveDirectory)
Called after the restore operation has finished successfully.
|
Path |
Backupable.beforeRestore()
Called before the restore operation begins.
|
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.
|
AuthenticationPolicyState |
AuthenticationPolicy.createAuthenticationPolicyState(Entry userEntry)
Returns the authentication policy state object for the provided user using the current time as the basis for all
time-based state logic (such as expiring passwords).
|
abstract AuthenticationPolicyState |
AuthenticationPolicy.createAuthenticationPolicyState(Entry userEntry,
long time)
Returns an authentication policy state object for the provided user using the specified time as the basis for all
time-based state logic (such as expiring passwords).
|
void |
LocalBackend.createBackup(BackupConfig backupConfig)
Creates a backup of the contents of this backend in a form that may be restored at a later date if necessary.
|
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 AuthenticationPolicyState |
AuthenticationPolicyState.forUser(Entry userEntry,
boolean useDefaultOnError)
Returns the authentication policy state for the user provided user.
|
static AuthenticationPolicy |
AuthenticationPolicy.forUser(Entry userEntry,
boolean useDefaultOnError)
Returns the authentication policy 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.
|
abstract Entry |
IdentityMapper.getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification string.
|
ListIterator<Path> |
Backupable.getFilesToBackup()
Returns the files to backup.
|
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 SearchFilter |
Group.getGroupDefinitionFilter()
Retrieves a search filter that may be used to identify entries containing definitions for groups of this type in
the Directory Server.
|
abstract KeyManager[] |
KeyManagerProvider.getKeyManagers()
Retrieves a set of
KeyManager objects that may be used for interactions requiring access to a key
manager. |
protected abstract KeyStore |
KeyManagerProvider.getKeyStore()
Returns the keystore used by this key manager provider.
|
MemberList |
Group.getMembers()
Retrieves an iterator that may be used to cursor through the entries of the members contained in this group.
|
abstract MemberList |
Group.getMembers(Dn baseDN,
SearchScope scope,
SearchFilter filter)
Retrieves an iterator that may be used to cursor through the entries of the members contained in this group.
|
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 of
TrustManager 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(AddOperation addOperation)
Indicates whether the provided add operation is allowed based on the access control configuration.
|
boolean |
AccessControlHandler.isAllowed(BindOperation bindOperation)
Indicates whether the provided bind operation is allowed based on the access control configuration.
|
boolean |
AccessControlHandler.isAllowed(CompareOperation compareOperation)
Indicates whether the provided compare operation is allowed based on the access control configuration.
|
boolean |
AccessControlHandler.isAllowed(DeleteOperation deleteOperation)
Indicates whether the provided delete operation is allowed based on the access control configuration.
|
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(ExtendedOperation extendedOperation)
Indicates whether the provided extended operation is allowed based on the access control configuration.
|
boolean |
AccessControlHandler.isAllowed(ModifyDnOperation modifyDnOperation)
Indicates whether the provided modify DN 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.
|
boolean |
AccessControlHandler.isAllowed(Operation operation,
Entry entry,
SearchFilter filter)
Indicates whether the provided operation search filter is allowed based on the access control configuration.
|
boolean |
Group.isMember(Dn userDN)
Indicates whether the user with the specified DN is a member of this group.
|
abstract boolean |
Group.isMember(Dn userDN,
AtomicReference<Set<Dn>> examinedGroups)
Indicates whether the user with the specified DN is a member of this group.
|
boolean |
Group.isMember(Entry userEntry)
Indicates whether the user described by the provided user entry is a member of this group.
|
abstract boolean |
Group.isMember(Entry userEntry,
AtomicReference<Set<Dn>> 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.
|
abstract Group<T> |
Group.newInstance(ServerContext serverContext,
Entry groupEntry)
Creates a new group of this type based on the definition contained in the provided entry.
|
abstract boolean |
AuthenticationPolicyState.passwordMatches(ByteString password)
Returns
true if the provided password value matches any of the user's passwords. |
void |
LocalBackend.rebuildBackend(RebuildConfig rebuildConfig,
ServerContext serverContext)
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.
|
void |
LocalBackend.removeBackup(BackupDirectory backupDirectory,
String backupID)
Removes the specified backup if it is possible to do so.
|
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.restoreBackup(RestoreConfig restoreConfig)
Restores a backup of the contents of this backend.
|
abstract void |
LocalBackend.search(SearchOperation searchOperation)
Processes the specified search in this backend.
|
abstract void |
ClientConnection.sendSearchEntry(SearchOperation searchOperation,
SearchResultEntry searchEntry)
Sends the provided search result entry to the client.
|
abstract boolean |
ClientConnection.sendSearchReference(SearchOperation searchOperation,
SearchResultReference searchReference)
Sends the provided search result reference to the client.
|
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.
|
abstract 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
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(AddOperation operation) |
boolean |
AciHandler.isAllowed(Dn entryDN,
Operation op,
Control control) |
boolean |
AciHandler.isAllowed(ModifyOperation operation) |
Modifier and Type | Method and Description |
---|---|
void |
TrustStoreBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
SchemaBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
RootDSEBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
MonitorBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
MemoryBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
LDIFBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
ConfigurationBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
ChangelogBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
BackupBackend.addEntry(Entry entry,
AddOperation addOperation) |
Path |
SchemaBackend.beforeRestore() |
Path |
ConfigurationBackend.beforeRestore() |
void |
SchemaBackend.createBackup(BackupConfig backupConfig) |
void |
RootDSEBackend.createBackup(BackupConfig backupConfig) |
void |
LDIFBackend.createBackup(BackupConfig backupConfig) |
void |
ConfigurationBackend.createBackup(BackupConfig backupConfig) |
void |
TrustStoreBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
void |
SchemaBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
void |
RootDSEBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
void |
MonitorBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
void |
MemoryBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
void |
LDIFBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
void |
ConfigurationBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
void |
ChangelogBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
void |
BackupBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
boolean |
RootDSEBackend.entryExists(Dn entryDN) |
boolean |
MonitorBackend.entryExists(Dn entryDN) |
void |
SchemaBackend.exportLDIF(LDIFExportConfig exportConfig) |
void |
RootDSEBackend.exportLDIF(LDIFExportConfig exportConfig) |
void |
NullBackend.exportLDIF(LDIFExportConfig exportConfig) |
void |
MonitorBackend.exportLDIF(LDIFExportConfig exportConfig) |
void |
MemoryBackend.exportLDIF(LDIFExportConfig exportConfig) |
void |
LDIFBackend.exportLDIF(LDIFExportConfig exportConfig) |
void |
ConfigurationBackend.exportLDIF(LDIFExportConfig exportConfig) |
Entry |
TrustStoreBackend.getEntry(Dn entryDN) |
Entry |
RootDSEBackend.getEntry(Dn entryDN) |
Entry |
MonitorBackend.getEntry(Dn entryDN) |
Entry |
ChangelogBackend.getEntry(Dn entryDN) |
Entry |
BackupBackend.getEntry(Dn entryDN) |
ListIterator<Path> |
SchemaBackend.getFilesToBackup() |
Key |
TrustStoreBackend.getKey(String alias)
Returns the key associated with the given alias, using the trust store pin to recover it.
|
KeyManager[] |
TrustStoreBackend.getKeyManagers()
Retrieves a set of
KeyManager objects that may be used for interactions requiring access to a key
manager. |
long |
TrustStoreBackend.getNumberOfChildren(Dn parentDN) |
long |
RootDSEBackend.getNumberOfChildren(Dn parentDN) |
long |
NullBackend.getNumberOfChildren(Dn parentDN) |
long |
MonitorBackend.getNumberOfChildren(Dn parentDN) |
long |
MemoryBackend.getNumberOfChildren(Dn parentDN) |
long |
LDIFBackend.getNumberOfChildren(Dn parentDN) |
long |
ConfigurationBackend.getNumberOfChildren(Dn parentDN) |
long |
ChangelogBackend.getNumberOfChildren(Dn parentDN) |
long |
BackupBackend.getNumberOfChildren(Dn parentDN) |
long |
TrustStoreBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
long |
RootDSEBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
long |
NullBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
long |
MonitorBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
long |
MemoryBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
long |
LDIFBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
long |
ConfigurationBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
long |
ChangelogBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
long |
BackupBackend.getNumberOfEntriesInBaseDN(Dn baseDN) |
TrustManager[] |
TrustStoreBackend.getTrustManagers()
Retrieves a set of
TrustManager objects that may be used for interactions requiring access to a trust
manager. |
ConditionResult |
TrustStoreBackend.hasSubordinates(Dn entryDN) |
ConditionResult |
RootDSEBackend.hasSubordinates(Dn entryDN) |
ConditionResult |
NullBackend.hasSubordinates(Dn entryDN) |
ConditionResult |
MemoryBackend.hasSubordinates(Dn entryDN) |
ConditionResult |
LDIFBackend.hasSubordinates(Dn entryDN) |
ConditionResult |
ConfigurationBackend.hasSubordinates(Dn entryDN) |
ConditionResult |
ChangelogBackend.hasSubordinates(Dn entryDN) |
ConditionResult |
BackupBackend.hasSubordinates(Dn entryDN) |
LDIFImportResult |
SchemaBackend.importLDIF(LDIFImportConfig importConfig,
ServerContext serverContext) |
LDIFImportResult |
RootDSEBackend.importLDIF(LDIFImportConfig importConfig,
ServerContext serverContext) |
LDIFImportResult |
NullBackend.importLDIF(LDIFImportConfig importConfig,
ServerContext serverContext) |
LDIFImportResult |
MemoryBackend.importLDIF(LDIFImportConfig importConfig,
ServerContext serverContext) |
LDIFImportResult |
LDIFBackend.importLDIF(LDIFImportConfig importConfig,
ServerContext serverContext) |
LDIFImportResult |
ConfigurationBackend.importLDIF(LDIFImportConfig importConfig,
ServerContext serverContext) |
void |
ChangelogBackend.registerPersistentSearch(PersistentSearch pSearch) |
void |
SchemaBackend.removeBackup(BackupDirectory backupDirectory,
String backupID) |
void |
RootDSEBackend.removeBackup(BackupDirectory backupDirectory,
String backupID) |
void |
LDIFBackend.removeBackup(BackupDirectory backupDirectory,
String backupID) |
void |
ConfigurationBackend.removeBackup(BackupDirectory backupDirectory,
String backupID) |
void |
TrustStoreBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
SchemaBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
RootDSEBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
NullBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
MonitorBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
MemoryBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
LDIFBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
ConfigurationBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
ChangelogBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
BackupBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
TrustStoreBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
SchemaBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
RootDSEBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
MonitorBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
MemoryBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
LDIFBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
ConfigurationBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
ChangelogBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
BackupBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
SchemaBackend.restoreBackup(RestoreConfig restoreConfig) |
void |
RootDSEBackend.restoreBackup(RestoreConfig restoreConfig) |
void |
LDIFBackend.restoreBackup(RestoreConfig restoreConfig) |
void |
ConfigurationBackend.restoreBackup(RestoreConfig restoreConfig) |
void |
TrustStoreBackend.search(SearchOperation searchOperation) |
void |
SchemaBackend.search(SearchOperation searchOperation) |
void |
RootDSEBackend.search(SearchOperation searchOp) |
void |
NullBackend.search(SearchOperation searchOperation) |
void |
MonitorBackend.search(SearchOperation searchOperation) |
void |
MemoryBackend.search(SearchOperation searchOperation) |
void |
LDIFBackend.search(SearchOperation searchOperation) |
void |
ConfigurationBackend.search(SearchOperation searchOperation) |
void |
ChangelogBackend.search(SearchOperation searchOperation)
Processes the specified search in this backend.
|
void |
BackupBackend.search(SearchOperation searchOperation) |
Modifier and Type | Method and Description |
---|---|
void |
JEStorage.afterRestore(Path restoreDirectory,
Path saveDirectory) |
void |
JEStorage.createBackup(BackupConfig backupConfig) |
ListIterator<Path> |
JEStorage.getFilesToBackup() |
void |
JEStorage.removeBackup(BackupDirectory backupDirectory,
String backupID) |
void |
JEStorage.restoreBackup(RestoreConfig restoreConfig) |
Modifier and Type | Method and Description |
---|---|
void |
BackendImpl.addEntry(Entry entry,
AddOperation addOperation) |
void |
BackendImpl.createBackup(BackupConfig backupConfig) |
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) |
void |
BackendImpl.removeBackup(BackupDirectory backupDirectory,
String backupID) |
void |
BackendImpl.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
BackendImpl.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
BackendImpl.restoreBackup(RestoreConfig restoreConfig) |
void |
BackendImpl.search(SearchOperation searchOperation) |
long |
BackendImpl.verifyBackend(VerifyConfig verifyConfig) |
Modifier and Type | Method and Description |
---|---|
void |
Storage.createBackup(BackupConfig backupConfig)
Creates a backup for this storage.
|
void |
Storage.removeBackup(BackupDirectory backupDirectory,
String backupID)
Removes a backup for this storage.
|
void |
Storage.restoreBackup(RestoreConfig restoreConfig)
Restores a backup for this storage.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
TaskScheduler.addRecurringTask(RecurringTask recurringTask,
boolean scheduleIteration)
Adds a recurring task to the scheduler, optionally scheduling the first iteration for processing.
|
Path |
TaskBackend.beforeRestore() |
void |
TaskBackend.createBackup(BackupConfig backupConfig) |
void |
TaskBackend.deleteEntry(Dn entryDN,
DeleteOperation deleteOperation) |
RecurringTask |
TaskScheduler.entryToRecurringTask(Entry entry)
Decodes the contents of the provided entry as a recurring task.
|
Task |
TaskScheduler.entryToScheduledTask(Entry entry,
Operation operation)
Decodes the contents of the provided entry as a scheduled task.
|
Entry |
TaskBackend.getEntry(Dn entryDN) |
ListIterator<Path> |
TaskBackend.getFilesToBackup() |
LDIFImportResult |
TaskBackend.importLDIF(LDIFImportConfig importConfig,
ServerContext sContext) |
void |
Task.initializeTask()
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 |
TaskBackend.removeBackup(BackupDirectory backupDirectory,
String backupID) |
Task |
TaskScheduler.removeCompletedTask(String taskID)
Removes the specified completed task.
|
Task |
TaskScheduler.removePendingTask(String taskID)
Removes the specified pending task.
|
RecurringTask |
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) |
void |
TaskBackend.restoreBackup(RestoreConfig restoreConfig) |
Task |
RecurringTask.scheduleNextIteration(GregorianCalendar calendar)
Schedules the next iteration of this recurring task for processing.
|
void |
TaskScheduler.scheduleTask(Task task,
boolean writeState)
Schedules the provided task for execution.
|
void |
TaskBackend.search(SearchOperation searchOperation) |
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.
|
Constructor and Description |
---|
RecurringTask(ServerContext serverContext,
TaskScheduler taskScheduler,
Entry recurringTaskEntry)
Creates a new recurring task based on the information in the provided entry.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ServerSideSortRequestControl.containsSortKeys()
Indicates whether the sort control contains Sort keys.
|
static MatchedValuesFilter |
MatchedValuesFilter.decode(Asn1Reader reader)
Decodes the provided ASN.1 element as a matched values filter item.
|
T |
ControlDecoder.decode(boolean isCritical,
ByteString value)
Decodes the provided control.
|
Dn |
ProxiedAuthV1Control.getAuthorizationDN()
Retrieves the authorization DN from the control value.
|
Entry |
ProxiedAuthV2Control.getAuthorizationEntry()
Retrieves the authorization entry for this proxied authorization V2 control.
|
Entry |
ProxiedAuthV1Control.getAuthorizationEntry()
Retrieves the authorization entry for this proxied authorization V1 control.
|
SearchFilter |
LDAPAssertionRequestControl.getSearchFilter()
Retrieves the processed search filter for this control.
|
List<SortKey> |
ServerSideSortRequestControl.getSortKeys()
Retrieves the sort order for this server-side sort request control.
|
static Set<PersistentSearchChangeType> |
PersistentSearchChangeType.intToTypes(int intValue)
Decodes the provided int value into a set of change types as per the specification in draft-ietf-ldapext-psearch.
|
static PersistentSearchChangeType |
PersistentSearchChangeType.valueOf(int intValue)
Retrieves the change type associated with the provided integer value.
|
Constructor and Description |
---|
ServerSideSortRequestControl(boolean isCritical,
String sortOrderString)
Creates a new server-side sort request control based on the definition in the provided sort order string.
|
ServerSideSortRequestControl(String sortOrderString)
Creates a new server-side sort request control based on the definition in the provided sort order string.
|
Modifier and Type | Method and Description |
---|---|
void |
ModifyOperation.addModification(Modification modification)
Adds the provided modification to the set of modifications to this modify operation.
|
static void |
DirectoryServer.checkCanEnqueueRequest(Operation operation,
boolean isAllowedInLockDownMode)
Runs all the necessary checks prior to adding an operation to the work queue.
|
PasswordPolicyState |
PasswordPolicy.createAuthenticationPolicyState(Entry userEntry,
long time) |
List<ByteString> |
PasswordPolicyState.encodePassword(ByteString password)
Encodes the provided password using the default storage schemes (using the appropriate syntax for the password
attribute).
|
void |
WorkQueueStrategy.enqueueRequest(Operation operation)
Put the request in the work queue.
|
void |
SynchronousStrategy.enqueueRequest(Operation operation)
Run the request synchronously.
|
void |
QueueingStrategy.enqueueRequest(Operation operation)
Put the request in the queue.
|
static void |
DirectoryServer.enqueueRequest(Operation operation)
Adds the provided operation to the work queue so that it will be processed by one of the worker threads.
|
void |
BoundedWorkQueueStrategy.enqueueRequest(Operation operation) |
static boolean |
DirectoryServer.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.
|
static Entry |
DirectoryServer.getEntry(Dn entryDN)
Retrieves the entry with the requested DN.
|
static Entry |
DirectoryServer.getParentEntry(Dn childDn)
Retrieves the entry that is the immediate parent of the entry having the provided DN.
|
static Entry |
DirectoryServer.getParentSdkEntry(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.
|
Set<Dn> |
BackendConfigManager.registerBaseDNs(Backend<? extends BackendCfg> backend,
Set<Dn> newBaseDns)
Registers the provided base DNs for the provided backend.
|
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.
|
static boolean |
DirectoryServer.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.
|
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.
|
Constructor and Description |
---|
SubentryPasswordPolicy(SubEntry subentry)
Creates subentry password policy object from the subentry, parsing and evaluating subentry password policy
attributes.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
SaltedAbstractPasswordStorageScheme.encodeAuthPassword(ByteSequence plaintext) |
ByteString |
PKCS5S2PasswordStorageScheme.encodeAuthPassword(ByteSequence plaintext) |
ByteString |
PBKDF2PasswordStorageScheme.encodeAuthPassword(ByteSequence plaintext) |
static String |
SaltedSHA512PasswordStorageScheme.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 |
PKCS5S2PasswordStorageScheme.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.
|
ByteString |
TripleDESPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
SaltedAbstractPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
SHA1PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
RC4PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
PKCS5S2PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
PBKDF2PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
MD5PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
CryptPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
ClearPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
BlowfishPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
BcryptPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
Base64PasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
AESPasswordStorageScheme.encodePassword(ByteSequence plaintext) |
ByteString |
RandomPasswordGenerator.generatePassword(Entry userEntry)
Generates a password for the user whose account is contained in the specified entry.
|
Entry |
RegularExpressionIdentityMapper.getEntryForID(String id) |
Entry |
ExactMatchIdentityMapper.getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification string.
|
SearchFilter |
VirtualStaticGroup.getGroupDefinitionFilter() |
SearchFilter |
StaticGroup.getGroupDefinitionFilter() |
SearchFilter |
DynamicGroup.getGroupDefinitionFilter() |
KeyManager[] |
PKCS11KeyManagerProvider.getKeyManagers() |
KeyManager[] |
LDAPKeyManagerProvider.getKeyManagers() |
KeyManager[] |
FileBasedKeyManagerProvider.getKeyManagers() |
protected KeyStore |
PKCS11KeyManagerProvider.getKeyStore() |
protected KeyStore |
FileBasedKeyManagerProvider.getKeyStore() |
MemberList |
VirtualStaticGroup.getMembers() |
MemberList |
StaticGroup.getMembers() |
MemberList |
DynamicGroup.getMembers() |
MemberList |
VirtualStaticGroup.getMembers(Dn baseDN,
SearchScope scope,
SearchFilter filter) |
MemberList |
StaticGroup.getMembers(Dn baseDN,
SearchScope scope,
SearchFilter filter) |
MemberList |
DynamicGroup.getMembers(Dn baseDN,
SearchScope scope,
SearchFilter filter) |
ByteString |
TripleDESPasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
RC4PasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
ClearPasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
BlowfishPasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
Base64PasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
ByteString |
AESPasswordStorageScheme.getPlaintextValue(ByteSequence storedPassword) |
TrustManager[] |
Pkcs11TrustManagerProvider.getTrustManagers() |
TrustManager[] |
LDAPTrustManagerProvider.getTrustManagers() |
TrustManager[] |
FileBasedTrustManagerProvider.getTrustManagers() |
TrustManager[] |
BlindTrustManagerProvider.getTrustManagers() |
boolean |
VirtualStaticGroup.isMember(Dn userDN,
AtomicReference<Set<Dn>> examinedGroups) |
boolean |
StaticGroup.isMember(Dn userDN,
AtomicReference<Set<Dn>> examinedGroups) |
boolean |
DynamicGroup.isMember(Dn userDN,
AtomicReference<Set<Dn>> examinedGroups) |
boolean |
VirtualStaticGroup.isMember(Entry userEntry,
AtomicReference<Set<Dn>> examinedGroups) |
boolean |
StaticGroup.isMember(Entry userEntry,
AtomicReference<Set<Dn>> examinedGroups) |
boolean |
DynamicGroup.isMember(Entry userEntry,
AtomicReference<Set<Dn>> examinedGroups) |
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.
|
protected Entry |
SubjectDNToUserAttributeCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) |
protected Entry |
SubjectAttributeToUserAttributeCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) |
protected Entry |
FingerprintCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) |
VirtualStaticGroup |
VirtualStaticGroup.newInstance(ServerContext serverContext,
Entry groupEntry) |
StaticGroup |
StaticGroup.newInstance(ServerContext serverContext,
Entry groupEntry) |
DynamicGroup |
DynamicGroup.newInstance(ServerContext serverContext,
Entry groupEntry) |
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) |
Constructor and Description |
---|
DynamicGroupMemberList(Dn groupDN,
Set<LDAPURL> memberURLs)
Creates a new dynamic group member list with the provided information.
|
DynamicGroupMemberList(Dn groupDN,
Set<LDAPURL> memberURLs,
Dn baseDN,
SearchScope scope,
SearchFilter filter)
Creates a new dynamic group member list with the provided information.
|
Modifier and Type | Method and Description |
---|---|
File[] |
SizeBasedRetentionPolicy.deleteFiles(org.opends.server.loggers.FileNamingPolicy fileNamingPolicy) |
File[] |
RetentionPolicy.deleteFiles(org.opends.server.loggers.FileNamingPolicy fileNamingPolicy)
Returns all files that should be deleted according to the policy.
|
File[] |
FreeDiskSpaceRetentionPolicy.deleteFiles(org.opends.server.loggers.FileNamingPolicy fileNamingPolicy) |
File[] |
FileNumberRetentionPolicy.deleteFiles(org.opends.server.loggers.FileNamingPolicy fileNamingPolicy) |
Modifier and Type | Method and Description |
---|---|
static void |
ReactiveHandlersUtils.setResultDetails(Result result,
Operation operation,
LdapException e,
int ldapVersion)
Set details on the provided result with data from an operation.
|
Modifier and Type | Method and Description |
---|---|
Connection |
LDAPContext.InternalConnectionFactory.getAuthenticatedConnection(Entry userEntry)
Get a direct
Connection to this Directory Server. |
Modifier and Type | Method and Description |
---|---|
BindResult |
JmxClientConnection.processBind(BindRequest request)
Processes a bind request.
|
void |
JmxClientConnection.sendSearchEntry(SearchOperation searchOperation,
SearchResultEntry searchEntry)
Sends the provided search result entry to the client.
|
boolean |
JmxClientConnection.sendSearchReference(SearchOperation searchOperation,
SearchResultReference searchReference)
Sends the provided search result reference to the client.
|
Modifier and Type | Method and Description |
---|---|
static LDAPFilter |
LDAPFilter.decode(String filterString)
Decodes the provided string into an LDAP search filter.
|
static LDAPControl |
LDAPReader.readControl(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP control.
|
static LDAPMessage |
LDAPReader.readMessage(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP message.
|
static ProtocolOp |
LDAPReader.readProtocolOp(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP protocol op.
|
static SearchResultEntryProtocolOp |
LDAPReader.readSearchEntry(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP search result entry protocol op.
|
Attribute |
LDAPAttribute.toAttribute()
Retrieves a core attribute containing the information for this LDAP attribute.
|
Modification |
LDAPModification.toModification()
Creates a new core
Modification object from this LDAP modification. |
SearchFilter |
LDAPFilter.toSearchFilter()
Converts this LDAP filter to a search filter that may be used by the Directory Server's core processing.
|
SearchResultEntry |
SearchResultEntryProtocolOp.toSearchResultEntry()
Converts this protocol op to a search result entry.
|
Constructor and Description |
---|
MultiDomainServerState(String cookie)
Create an object from a string representation.
|
Modifier and Type | Method and Description |
---|---|
long |
LDAPReplicationDomain.countEntries()
This method should return the total number of objects in the replicated domain.
|
int |
LDAPReplicationDomain.decodeSource(String sourceString)
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(int target,
int 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)
Retrieves a replication domain based on the baseDN.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplicationServerHandler.connect(Dn baseDN,
boolean sslEncryption)
Connect the hosting RS to the RS represented by THIS handler on an outgoing connection.
|
long |
ReplicationServer.getNewestChangeNumber()
Returns the newest change number in the change number index DB.
|
long |
ReplicationServer.getOldestChangeNumber()
Returns the oldest change number in the change number index DB.
|
boolean |
ReplicationServerDomain.isAlreadyConnectedToRS(ReplicationServerHandler rsHandler)
Checks whether a remote RS is already connected to this hosting RS.
|
boolean |
DataServerHandler.processStartFromRemote(ServerStartMsg serverStartMsg)
Processes a start message received from a remote data server.
|
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.
|
Modifier and Type | Method and Description |
---|---|
LdapException |
ReplicationDomain.ImportExportContext.getException()
Get the exception that occurred during the import/export.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplicationDomain.ImportExportContext.setException(LdapException exception)
Set the exception that occurred during the import/export.
|
void |
ReplicationDomain.ImportExportContext.setExceptionIfNoneSet(LdapException exception)
Only sets the exception that occurred during the import/export if none was already set on this object.
|
Modifier and Type | Method and Description |
---|---|
abstract long |
ReplicationDomain.countEntries()
This method should return the total number of objects in the replicated domain.
|
int |
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(int source,
Task initTask)
Initializes asynchronously this domain from a remote source server.
|
protected void |
ReplicationDomain.initializeRemote(int serverToInitialize,
int serverRunningTheTask,
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.initializeRemote(int target,
Task initTask)
Initializes a remote server from this server.
|
void |
ReplicationDomain.resetGenerationId(Long generationIdNewValue)
Reset the generationId of this domain in the whole topology.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
AuthPasswordSyntax.decodeAuthPassword(String authPasswordValue)
Decodes the provided authentication password value into its component parts.
|
static long |
GeneralizedTimeSyntax.decodeGeneralizedTimeValue(ByteSequence value)
Decodes the provided normalized value as a generalized time value and retrieves a timestamp containing its
representation.
|
static String[] |
UserPasswordSyntax.decodeUserPassword(String userPasswordValue)
Decodes the provided user password value into its component parts.
|
void |
SchemaHandler.importEntry(Entry newSchemaEntry,
AlertGenerator alertGenerator)
Imports the provided schema entry in the schema.
|
void |
SchemaHandler.SchemaUpdater.update(SchemaBuilder builder)
Updates the schema using the provided schema builder.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
InitializeTask.updateTaskCompletionState(LdapException e)
Set the state for the current task.
|
Modifier and Type | Method and Description |
---|---|
static void |
TaskUtils.disableBackend(String backendID)
Disables a backend using an internal modify operation on the backend configuration entry.
|
static void |
TaskUtils.enableBackend(String backendID)
Enables a backend using an internal modify operation on the backend configuration entry.
|
void |
ShutdownTask.initializeTask()
Performs any task-specific initialization that may be required before processing can start.
|
void |
SetGenerationIdTask.initializeTask() |
void |
RestoreTask.initializeTask() |
void |
ResetChangeNumberTask.initializeTask() |
void |
RebuildTask.initializeTask() |
void |
PurgeConflictsHistoricalTask.initializeTask() |
void |
LeaveLockdownModeTask.initializeTask() |
void |
InitializeTask.initializeTask() |
void |
InitializeTargetTask.initializeTask() |
void |
ImportTask.initializeTask() |
void |
ExportTask.initializeTask() |
void |
EnterLockdownModeTask.initializeTask() |
void |
DisconnectClientTask.initializeTask() |
void |
BackupTask.initializeTask() |
void |
AddSchemaFileTask.initializeTask() |
Modifier and Type | Method and Description |
---|---|
void |
LDAPConnection.connectToHost(String bindDN,
String bindPassword)
Connects to the directory server instance running on specified hostname and port number.
|
void |
LDAPConnection.connectToHost(String bindDN,
String bindPassword,
AtomicInteger nextMessageID)
Connects to the directory server instance running on specified hostname and port number.
|
void |
LDAPConnection.connectToHost(String bindDN,
String bindPassword,
AtomicInteger nextMessageID,
int timeout)
Connects to the directory server instance running on specified hostname and port number.
|
String |
LDAPAuthenticationHandler.doSASLBind(ByteSequence bindDN,
ByteSequence bindPassword,
String mechanism,
Map<String,List<String>> saslProperties,
List<Control> requestControls,
List<Control> responseControls)
Processes a SASL bind using the provided information.
|
String |
LDAPAuthenticationHandler.doSASLExternal(ByteSequence bindDN,
Map<String,List<String>> saslProperties,
List<Control> requestControls,
List<Control> responseControls)
Processes a SASL EXTERNAL bind with the provided information.
|
String |
LDAPAuthenticationHandler.doSASLPlain(ByteSequence bindDN,
ByteSequence bindPassword,
Map<String,List<String>> saslProperties,
List<Control> requestControls,
List<Control> responseControls)
Processes a SASL PLAIN bind with the provided information.
|
String |
LDAPAuthenticationHandler.doSimpleBind(int ldapVersion,
ByteSequence bindDN,
ByteSequence bindPassword,
List<Control> requestControls,
List<Control> responseControls)
Processes a bind using simple authentication with the provided information.
|
LDAPMessage |
LDAPReader.readMessage()
Reads an LDAP message from the associated input stream.
|
ByteString |
LDAPAuthenticationHandler.requestAuthorizationIdentity()
Uses the "Who Am I?" extended operation to request that the server provide the client with the authorization
identity for this connection.
|
Object |
LDAPAuthenticationHandler.run()
Performs a privileged operation under JAAS so that the local authentication information can be available for the
SASL bind to the Directory Server.
|
Modifier and Type | Method and Description |
---|---|
static TopologyCache |
ReplicationCliMain.createTopologyCache(HostPort hostPort,
String password)
Returns a
TopologyCache corresponding to the replication topology of the provided server. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
protected static LdapException |
Operation.createLdapException(Operation operation,
Entry entry,
Dn entryDN,
ResultCode resultCode,
LocalizableMessage message,
ResultCode altResultCode,
LocalizableMessage altMessage)
Returns a new
LdapException built from the provided resultCodes and messages. |
Modifier and Type | Method and Description |
---|---|
void |
Operation.setResponseData(LdapException e)
Sets the response elements for this operation based on the information contained in the provided
exception object. |
Modifier and Type | Method and 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.
|
static RawFilter |
RawFilter.create(String filterString)
Creates a new LDAP filter from the provided filter string.
|
protected static LdapException |
Operation.createLdapException(Operation operation,
Entry entry,
Dn entryDN,
ResultCode resultCode,
LocalizableMessage message,
ResultCode altResultCode,
LocalizableMessage altMessage)
Returns a new
LdapException built from the provided resultCodes and messages. |
static LDAPModification |
RawModification.decode(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP modification.
|
static LDAPFilter |
RawFilter.decode(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as a raw search filter.
|
static LDAPAttribute |
RawAttribute.decode(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP attribute.
|
static LDAPURL |
LDAPURL.decode(String url,
boolean fullyDecode)
Decodes the provided string as an LDAP URL.
|
static FilePermission |
FilePermission.decodeUNIXMode(String modeString)
Decodes the provided string as a UNIX mode and retrieves the corresponding file permission.
|
protected static void |
Operation.evaluateProxyAuthControls(Operation operation)
Evaluate all aci and privilege checks for any proxy auth controls.
|
Dn |
LDAPURL.getBaseDN()
Retrieves the processed DN for this LDAP URL.
|
SearchFilter |
LDAPURL.getFilter()
Retrieves the processed search filter for this LDAP URL.
|
<T extends Control> |
Operation.getRequestControl(ControlDecoder<T> d) |
Pair<Boolean,LocalizableMessage> |
LDIFImportConfig.includeEntry(Entry entry)
Indicates whether the specified entry should be included in the import based on the configured set of include and
exclude filters.
|
boolean |
LDIFExportConfig.includeEntry(Entry entry)
Indicates whether the specified entry should be included in the export based on the configured set of include and
exclude filters.
|
boolean |
SearchFilter.matchesEntry(Entry entry)
Indicates whether this search filter matches the provided entry.
|
boolean |
LDAPURL.matchesEntry(Entry entry)
Indicates whether the provided entry matches the criteria defined in this LDAP URL.
|
static Entry |
Entries.modifyEntry(Entry entry,
Modification change)
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.
|
protected static void |
Operation.removeAllDisallowedControls(Dn targetDN,
Operation operation)
Removes all the disallowed request controls from the provided operation.
|
static boolean |
FilePermission.setPermissions(File f,
FilePermission p)
Attempts to set the given permissions on the specified file.
|
protected static void |
Operation.setResultCodeAndMessageNoInfoDisclosure(Operation operation,
Entry entry,
Dn entryDN,
ResultCode resultCode,
LocalizableMessage message,
ResultCode altResultCode,
LocalizableMessage altMessage)
Sets the provided resultCodes and messages on the provided operation.
|
abstract Attribute |
RawAttribute.toAttribute()
Retrieves a core attribute containing the information for this raw attribute.
|
abstract Modification |
RawModification.toModification()
Creates a new core
Modification object from this raw modification. |
abstract SearchFilter |
RawFilter.toSearchFilter()
Converts this raw filter to a search filter that may be used by the Directory Server's core processing.
|
static SubtreeSpecification |
SubtreeSpecification.valueOf(Dn rootDN,
String s)
Parses the string argument as an RFC3672 subtree specification.
|
static SearchFilter |
SearchFilter.valueOf(String filterString)
Decodes the provided filter string as a search filter.
|
Constructor and Description |
---|
SubEntry(Entry entry)
Constructs a subentry object from a given entry object.
|
Modifier and Type | Method and Description |
---|---|
void |
PostOperationOperation.setResponseData(LdapException e)
Sets the response elements for this operation based on the information contained in the provided
exception object. |
void |
InProgressOperation.setResponseData(LdapException e)
Sets the response elements for this operation based on the information contained in the provided
exception object. |
Modifier and Type | Method and Description |
---|---|
void |
PreOperationModifyOperation.addModification(Modification modification)
Adds the provided modification to the set of modifications to this modify operation.
|
<T extends Control> |
PluginOperation.getRequestControl(ControlDecoder<T> d)
Retrieves a control included in the request from the client.
|
Modifier and Type | Method and Description |
---|---|
void |
BackupManager.createBackup(Backupable backupable,
BackupConfig backupConfig)
Creates a backup of the provided backupable entity.
|
static List<Path> |
BackupManager.getFiles(File directory,
FileFilter filter,
String identifier)
Helper method to build a list of files to backup, in the simple case where all files are located under the
provided directory.
|
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.
|
void |
BackupManager.removeBackup(BackupDirectory backupDir,
String backupID)
Removes the specified backup if it is possible to do so.
|
void |
BackupManager.restoreBackup(Backupable backupable,
RestoreConfig restoreConfig)
Restores a backupable entity from its backup, or verify the backup.
|
static Path |
BackupManager.saveCurrentFilesToDirectory(Backupable backupable,
String identifier)
Helper method to save all current files of the provided backupable entity, using default behavior.
|
static Path |
BackupManager.saveFilesToDirectory(Path rootDirectory,
ListIterator<Path> files,
String targetBasePath,
String identifier)
Helper method to move all provided files in a target directory created from provided target base path, keeping
relative path information relative to root directory.
|
Copyright 2010-2018 ForgeRock AS.