Package | Description |
---|---|
org.forgerock.openam.ldap |
This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.
|
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.ldif |
Classes and interfaces for reading and writing LDIF.
|
Modifier and Type | Method and Description |
---|---|
static String |
LDAPUtils.getDBName(String suffix,
Connection ld)
Gets the DB name.
|
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 |
ConnectionFactory.getConnection()
Returns a connection to the Directory Server associated with this
connection factory.
|
static Connection |
Connections.newInternalConnection(io.reactivex.functions.BiFunction<Integer,Request,io.reactivex.Flowable<Response>> requestHandler)
Creates a new
Connection which will route requests to the provided requestHandler . |
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> |
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.
|
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.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.