Uses of Interface
org.apache.directory.ldap.client.api.LdapConnection
-
-
Uses of LdapConnection in org.apache.directory.api.dsmlv2.engine
Methods in org.apache.directory.api.dsmlv2.engine that return LdapConnection Modifier and Type Method Description LdapConnection
Dsmlv2Engine. getConnection()
Constructors in org.apache.directory.api.dsmlv2.engine with parameters of type LdapConnection Constructor Description Dsmlv2Engine(LdapConnection connection, String user, String password)
Creates a new instance of Dsmlv2Engine. -
Uses of LdapConnection in org.apache.directory.ldap.client.api
Subinterfaces of LdapConnection in org.apache.directory.ldap.client.api Modifier and Type Interface Description interface
LdapAsyncConnection
Root interface for all asynchronous LDAP connections.Classes in org.apache.directory.ldap.client.api that implement LdapConnection Modifier and Type Class Description class
AbstractLdapConnection
An abstract LdapConnection class gathering the common behavior of LdapConnection concrete classes.class
LdapConnectionWrapper
Provides a base implementation of aWrapper
forLdapConnection
objects.class
LdapNetworkConnection
This class is the base for every operations sent or received to and from a LDAP server.class
MonitoringLdapConnection
A class used to monitor the use of a LdapConnectionMethods in org.apache.directory.ldap.client.api that return LdapConnection Modifier and Type Method Description LdapConnection
DefaultLdapConnectionFactory. bindConnection(LdapConnection connection)
Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.LdapConnection
LdapConnectionFactory. bindConnection(LdapConnection connection)
Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.LdapConnection
DefaultLdapConnectionFactory. configureConnection(LdapConnection connection)
Applies the following configuration settings from the LdapConnectionConfig to the supplied connection: timeOut binaryAttributeDetector This method is called by newLdapConnection, so there is no need to call this on a newly created connection.LdapConnection
LdapConnectionFactory. configureConnection(LdapConnection connection)
Applies the following configuration settings from the LdapConnectionConfig to the supplied connection: timeOut binaryAttributeDetector This method is called by newLdapConnection, so there is no need to call this on a newly created connection.LdapConnection
LdapConnectionPool. getConnection()
Gives a LdapConnection fetched from the pool.LdapConnection
DefaultLdapConnectionFactory. newLdapConnection()
Returns a newly created, configured, and authenticated connection.LdapConnection
LdapConnectionFactory. newLdapConnection()
Returns a newly created, configured, and authenticated connection.LdapConnection
DefaultLdapConnectionFactory. newUnboundLdapConnection()
Returns a newly created connection, that has not been bound (bind) that otherwise respects LdapConnectionConfig supplied to the constructor.LdapConnection
LdapConnectionFactory. newUnboundLdapConnection()
Returns a newly created connection, that has not been bound (bind) that otherwise respects LdapConnectionConfig supplied to the constructor.LdapConnection
LdapConnectionWrapper. wrapped()
Returns the wrapped object.Methods in org.apache.directory.ldap.client.api that return types with arguments of type LdapConnection Modifier and Type Method Description org.apache.commons.pool2.PooledObject<LdapConnection>
AbstractPoolableLdapConnectionFactory. makeObject()
Specifically, we are creating a new connection based on the LdapConnection Factory we used to create this pool of connections.org.apache.commons.pool2.PooledObject<LdapConnection>
ValidatingPoolableLdapConnectionFactory. makeObject()
Specifically, we are creating a new connection based on the LdapConnection Factory we used to create this pool of connections.Methods in org.apache.directory.ldap.client.api with parameters of type LdapConnection Modifier and Type Method Description LdapConnection
DefaultLdapConnectionFactory. bindConnection(LdapConnection connection)
Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.LdapConnection
LdapConnectionFactory. bindConnection(LdapConnection connection)
Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.LdapConnection
DefaultLdapConnectionFactory. configureConnection(LdapConnection connection)
Applies the following configuration settings from the LdapConnectionConfig to the supplied connection: timeOut binaryAttributeDetector This method is called by newLdapConnection, so there is no need to call this on a newly created connection.LdapConnection
LdapConnectionFactory. configureConnection(LdapConnection connection)
Applies the following configuration settings from the LdapConnectionConfig to the supplied connection: timeOut binaryAttributeDetector This method is called by newLdapConnection, so there is no need to call this on a newly created connection.void
LdapConnectionPool. releaseConnection(LdapConnection connection)
Places the given LdapConnection back in the pool.boolean
DefaultLdapConnectionValidator. validate(LdapConnection connection)
Returns true ifconnection
is connected, and authenticated.boolean
LdapConnectionValidator. validate(LdapConnection ldapConnection)
Return true if the connection is still valid.boolean
LookupLdapConnectionValidator. validate(LdapConnection connection)
Returns true ifconnection
is connected, authenticated, and a lookup on the rootDSE returns a non-null response.Method parameters in org.apache.directory.ldap.client.api with type arguments of type LdapConnection Modifier and Type Method Description void
AbstractPoolableLdapConnectionFactory. activateObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection)
There is nothing to do to activate a connection.void
ValidatingPoolableLdapConnectionFactory. activateObject(org.apache.commons.pool2.PooledObject<LdapConnection> pooledObject)
There is nothing to do to activate a connection.void
AbstractPoolableLdapConnectionFactory. destroyObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection)
Destroying a connection will unbind it which will result on a shutdown of teh underlying protocol.void
AbstractPoolableLdapConnectionFactory. passivateObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection)
We don't do anything with the connection.void
ValidatingPoolableLdapConnectionFactory. passivateObject(org.apache.commons.pool2.PooledObject<LdapConnection> pooledObject)
We don't do anything with the connection.boolean
AbstractPoolableLdapConnectionFactory. validateObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection)
Validating a connection is done by checking the connection status.Constructors in org.apache.directory.ldap.client.api with parameters of type LdapConnection Constructor Description DefaultSchemaLoader(LdapConnection connection)
Creates a new instance of DefaultSchemaLoader.DefaultSchemaLoader(LdapConnection connection, boolean relaxed)
Creates a new instance of DefaultSchemaLoader.DefaultSchemaLoader(LdapConnection connection, Dn subschemaSubentryDn)
Creates a new instance of NetworkSchemaLoader.Constructor parameters in org.apache.directory.ldap.client.api with type arguments of type LdapConnection Constructor Description LdapConnectionPool(org.apache.commons.pool2.PooledObjectFactory<LdapConnection> factory)
Instantiates a new LDAP connection pool.LdapConnectionPool(org.apache.commons.pool2.PooledObjectFactory<LdapConnection> factory, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
Instantiates a new LDAP connection pool. -
Uses of LdapConnection in org.apache.directory.ldap.client.api.future
Constructors in org.apache.directory.ldap.client.api.future with parameters of type LdapConnection Constructor Description AddFuture(LdapConnection connection, int messageId)
Creates a new instance of AddFuture.BindFuture(LdapConnection connection, int messageId)
Creates a new instance of BindFuture.CompareFuture(LdapConnection connection, int messageId)
Creates a new instance of CompareFuture.DeleteFuture(LdapConnection connection, int messageId)
Creates a new instance of DeleteFuture.ExtendedFuture(LdapConnection connection, int messageId)
Creates a new instance of ExtendedFuture.ModifyDnFuture(LdapConnection connection, int messageId)
Creates a new instance of ModifyDnFuture.ModifyFuture(LdapConnection connection, int messageId)
Creates a new instance of ModifyFuture.MultipleResponseFuture(LdapConnection connection, int messageId)
Creates a new instance of ResponseFuture.SearchFuture(LdapConnection connection, int messageId)
Creates a new instance of SearchFuture.UniqueResponseFuture(LdapConnection connection, int messageId)
Creates a new instance of UniqueResponseFuture. -
Uses of LdapConnection in org.apache.directory.ldap.client.template
Methods in org.apache.directory.ldap.client.template with parameters of type LdapConnection Modifier and Type Method Description T
ConnectionCallback. doWithConnection(LdapConnection connection)
Provides a managed connection to the implementation of this method.
-