Package | Description |
---|---|
org.forgerock.opendj.adapter.server3x |
Classes for interacting with an embedded OpenDJ 2.x instance using the OpenDJ LDAP SDK.
|
org.forgerock.opendj.config.client.ldap |
LDAP configuration transport implementation.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
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 |
APIs for implementing REST to LDAP gateways.
|
org.forgerock.opendj.server.core |
Contains APIs for new DataProvider design.
|
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.server.protocols.http |
Contains the implementation for the Directory Server connection handler that
is responsible for interacting with clients using HTTP.
|
Modifier and Type | Method and Description |
---|---|
static Connection |
Adapters.newConnection(InternalClientConnection icc)
Returns a new connection.
|
Modifier and Type | Method and Description |
---|---|
static ManagementContext |
LDAPManagementContext.newManagementContext(Connection connection,
LDAPProfile profile)
Create a new LDAP management context using the provided LDAP connection.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectionWrapper<C extends Connection>
An abstract base class from which connection wrappers may be easily
implemented.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAsynchronousConnection
An abstract connection whose synchronous methods are implemented in terms of
asynchronous methods.
|
class |
AbstractConnection
This class provides a skeletal implementation of the
Connection
interface, to minimize the effort required to implement this interface. |
class |
AbstractConnectionWrapper<C extends Connection>
An abstract base class from which connection wrappers may be easily
implemented.
|
class |
AbstractSynchronousConnection
An abstract connection whose asynchronous methods are implemented in terms of
synchronous methods.
|
Modifier and Type | Field and Description |
---|---|
protected C |
AbstractConnectionWrapper.connection
The wrapped connection.
|
Modifier and Type | Method and Description |
---|---|
Connection |
LDAPConnectionFactory.getConnection() |
Connection |
ConnectionPool.getConnection()
Obtains a connection from this connection pool, potentially opening a new
connection if needed.
|
Connection |
ConnectionFactory.getConnection()
Returns a connection to the Directory Server associated with this
connection factory.
|
static Connection |
Connections.newInternalConnection(RequestHandler<RequestContext> requestHandler)
Creates a new internal client connection which will route requests to the
provided
RequestHandler . |
static Connection |
Connections.newInternalConnection(ServerConnection<Integer> serverConnection)
Creates a new internal client connection which will route requests to the
provided
ServerConnection . |
static Connection |
Connections.uncloseable(Connection connection)
Returns an uncloseable view of the provided connection.
|
Modifier and Type | Method and Description |
---|---|
Promise<Connection,LdapException> |
LDAPConnectionFactory.getConnectionAsync() |
Promise<Connection,LdapException> |
ConnectionPool.getConnectionAsync()
Asynchronously obtains a connection from this connection pool,
potentially opening a new connection if needed.
|
Promise<Connection,LdapException> |
ConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the Directory Server associated
with this connection factory.
|
Modifier and Type | Method and Description |
---|---|
static RootDSE |
RootDSE.readRootDSE(Connection connection)
Reads the Root DSE from the Directory Server using the provided
connection.
|
static LdapPromise<RootDSE> |
RootDSE.readRootDSEAsync(Connection connection)
Asynchronously reads the Root DSE from the Directory Server using the
provided connection.
|
static Connection |
Connections.uncloseable(Connection connection)
Returns an uncloseable view of the provided connection.
|
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.
|
LdapPromise<SchemaBuilder> |
SchemaBuilder.addSchemaAsync(Connection connection,
DN name,
boolean overwrite)
Asynchronously 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.
|
LdapPromise<SchemaBuilder> |
SchemaBuilder.addSchemaForEntryAsync(Connection connection,
DN name,
boolean overwrite)
Asynchronously 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 LdapPromise<Schema> |
Schema.readSchemaAsync(Connection connection,
DN name)
Asynchronously 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.
|
static LdapPromise<Schema> |
Schema.readSchemaForEntryAsync(Connection connection,
DN name)
Asynchronously reads the schema contained in the subschema sub-entry
which applies to the named entry.
|
Modifier and Type | Method and Description |
---|---|
static ResultLdapPromiseImpl<CompareRequest,CompareResult> |
LdapPromises.newCompareLdapPromise(int requestID,
CompareRequest request,
IntermediateResponseHandler intermediateResponseHandler,
Connection connection)
Creates a new compare
ResultLdapPromiseImpl . |
static <S extends ExtendedResult> |
LdapPromises.newExtendedLdapPromise(int requestID,
ExtendedRequest<S> request,
IntermediateResponseHandler intermediateResponseHandler,
Connection connection)
Creates a new extended
ExtendedResultLdapPromiseImpl . |
static <R extends Request> |
LdapPromises.newResultLdapPromise(int requestID,
R request,
IntermediateResponseHandler intermediateResponseHandler,
Connection connection)
Creates a new
ResultLdapPromiseImpl to handle a standard request (add, delete, modify and modidyDN). |
static SearchResultLdapPromiseImpl |
LdapPromises.newSearchLdapPromise(int requestID,
SearchRequest request,
SearchResultHandler resultHandler,
IntermediateResponseHandler intermediateResponseHandler,
Connection connection)
Creates a new search
SearchResultLdapPromiseImpl . |
Constructor and Description |
---|
ConnectionChangeRecordWriter(Connection connection)
Creates a new connection change record writer whose destination is the
provided connection.
|
ConnectionEntryReader(Connection connection,
SearchRequest searchRequest)
Creates a new connection entry reader whose destination is the provided
connection using an unbounded
LinkedBlockingQueue . |
ConnectionEntryReader(Connection connection,
SearchRequest searchRequest,
BlockingQueue<Response> entries)
Creates a new connection entry reader whose destination is the provided
connection.
|
ConnectionEntryWriter(Connection connection)
Creates a new connection entry writer whose destination is the provided
connection.
|
Modifier and Type | Method and Description |
---|---|
Connection |
AuthenticatedConnectionContext.getConnection()
Returns the cached pre-authenticated LDAP connection which should be
re-used for subsequent LDAP operations.
|
Constructor and Description |
---|
AuthenticatedConnectionContext(org.forgerock.services.context.Context parent,
Connection connection)
Creates a new pre-authenticated cached LDAP connection context having the
provided parent and an ID automatically generated using
UUID.randomUUID() . |
Modifier and Type | Method and Description |
---|---|
Connection |
Operation.getConnection()
Returns a connection for performing internal operations.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ConnectionWrapper.getConnection()
Returns the connection.
|
Modifier and Type | Class and Description |
---|---|
class |
SdkConnectionAdapter
Adapter class between LDAP SDK's
Connection
and OpenDJ server's
HTTPClientConnection . |
Modifier and Type | Method and Description |
---|---|
Connection |
LDAPContext.InternalConnectionFactory.getAuthenticatedConnection(Entry userEntry)
Get a direct
Connection to this Directory Server. |
Copyright 2010-2017 ForgeRock AS.