Uses of Interface
org.forgerock.opendj.ldap.Connection
Packages that use 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
Methods in org.forgerock.opendj.config.client.ldap with parameters of type ConnectionModifier 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
Classes in org.forgerock.opendj.ldap with type parameters of type ConnectionModifier and TypeClassDescriptionclass
AbstractConnectionWrapper<C extends Connection>
An abstract base class from which connection wrappers may be easily implemented.Classes in org.forgerock.opendj.ldap that implement ConnectionModifier 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.Fields in org.forgerock.opendj.ldap declared as ConnectionModifier and TypeFieldDescriptionprotected final C
AbstractConnectionWrapper.connection
The wrapped connection.Methods in org.forgerock.opendj.ldap that return ConnectionModifier 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.Methods in org.forgerock.opendj.ldap that return types with arguments of type ConnectionModifier and TypeMethodDescriptionConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the Directory Server associated with this connection factory.LdapConnectionFactory.getConnectionAsync()
Methods in org.forgerock.opendj.ldap with parameters of type ConnectionModifier 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
Methods in org.forgerock.opendj.ldap.schema with parameters of type ConnectionModifier 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
Constructors in org.forgerock.opendj.ldif with parameters of type ConnectionModifierConstructorDescriptionConnectionChangeRecordWriter
(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
Methods in org.forgerock.opendj.server.embedded that return ConnectionModifier 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
Constructors in org.opends.server.admin with parameters of type ConnectionModifierConstructorDescriptionAdministrationDataSync
(Connection internalConnection) Create an object that will synchronize configuration and the admin data. -
Uses of Connection in org.opends.server.tools.tasks
Constructors in org.opends.server.tools.tasks with parameters of type ConnectionModifierConstructorDescriptionTaskClient
(Connection conn) Creates a new TaskClient for interacting with the task backend remotely.