Uses of Interface
org.forgerock.opendj.ldap.Connection
Package
Description
LDAP configuration transport implementation.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for constructing and querying LDAP schemas.
Classes and interfaces for reading and writing LDIF.
Provides support for an embedded directory server.
Common administration classes.
This package contains classes that support client tool interaction with the tasks backend.
-
Uses of Connection in org.forgerock.opendj.config.client.ldap
Modifier and TypeMethodDescriptionstatic ManagementContext
LdapManagementContext.newManagementContext
(Connection connection, LdapProfile profile) Creates a new LDAP management context using the provided LDAP connection anddefault schema
.static ManagementContext
LdapManagementContext.newUnsafeManagementContext
(Connection connection, LdapProfile profile) Creates a new LDAP management context using the provided connection and profile. -
Uses of Connection in org.forgerock.opendj.ldap
Modifier and TypeClassDescriptionclass
AbstractConnectionWrapper<C extends Connection>
An abstract base class from which connection wrappers may be easily implemented.Modifier and TypeClassDescriptionclass
An abstract connection whose synchronous methods are implemented in terms of asynchronous methods.class
This class provides a skeletal implementation of theConnection
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
An abstract connection whose asynchronous methods are implemented in terms of synchronous methods.Modifier and TypeFieldDescriptionprotected final C
AbstractConnectionWrapper.connection
The wrapped connection.Modifier and TypeMethodDescriptionConnectionFactory.getConnection()
Returns a connection to the Directory Server associated with this connection factory.LdapConnectionFactory.getConnection()
static Connection
Connections.newInternalConnection
(BiFunction<Integer, Request, Flowable<Response>> requestHandler) Creates a newConnection
which will route requests to the providedrequestHandler
.static Connection
Connections.uncloseable
(Connection connection) Returns an uncloseable view of the provided connection.Modifier and TypeMethodDescriptionConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the Directory Server associated with this connection factory.LdapConnectionFactory.getConnectionAsync()
Modifier and TypeMethodDescriptionstatic 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. -
Uses of Connection in org.forgerock.opendj.ldap.schema
Modifier and TypeMethodDescriptionSchemaBuilder.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.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.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.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. -
Uses of Connection in org.forgerock.opendj.ldif
ModifierConstructorDescriptionConnectionChangeRecordWriter
(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 unboundedLinkedBlockingQueue
.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. -
Uses of Connection in org.forgerock.opendj.server.embedded
Modifier and TypeMethodDescriptionEmbeddedDirectoryServer.getConnection()
Returns a connection to the embedded server that will be authenticated automatically with the bind DN defined for this server.EmbeddedDirectoryServer.getConnection
(Dn userDn) Returns a connection to the embedded server that will be authenticated as the specified user. -
Uses of Connection in org.opends.server.admin
ModifierConstructorDescriptionAdministrationDataSync
(Connection internalConnection) Create an object that will synchronize configuration and the admin data. -
Uses of Connection in org.opends.server.tools.tasks
ModifierConstructorDescriptionTaskClient
(Connection conn) Creates a new TaskClient for interacting with the task backend remotely.