Modifier and Type | Method and Description |
---|---|
LdapConnection |
Dsmlv2Engine.getConnection() |
Constructor and Description |
---|
Dsmlv2Engine(LdapConnection connection,
String user,
String password)
Creates a new instance of Dsmlv2Engine.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LdapAsyncConnection
Root interface for all asynchronous LDAP connections.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLdapConnection
An abstract LdapConnection class gathering the common behavior of LdapConnection
concrete classes.
|
class |
LdapConnectionWrapper
Provides a base implementation of a
Wrapper for LdapConnection
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 LdapConnection
|
Modifier and Type | Method and Description |
---|---|
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.bindConnection(LdapConnection 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 |
DefaultLdapConnectionFactory.configureConnection(LdapConnection connection) |
LdapConnection |
LdapConnectionPool.getConnection()
Gives a LdapConnection fetched from the pool.
|
LdapConnection |
AbstractPoolableLdapConnectionFactory.makeObject()
Specifically, we are creating a new connection based on the LdapConnection Factory
we used to create this pool of connections.
|
LdapConnection |
LdapConnectionFactory.newLdapConnection()
Returns a newly created, configured, and authenticated connection.
|
LdapConnection |
DefaultLdapConnectionFactory.newLdapConnection() |
LdapConnection |
LdapConnectionFactory.newUnboundLdapConnection()
Returns a newly created connection, that has not been bound (bind) that
otherwise respects LdapConnectionConfig supplied to the constructor.
|
LdapConnection |
DefaultLdapConnectionFactory.newUnboundLdapConnection() |
LdapConnection |
LdapConnectionWrapper.wrapped()
Returns the wrapped object.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidatingPoolableLdapConnectionFactory.activateObject(LdapConnection connection)
There is nothing to do to activate a connection.
|
void |
AbstractPoolableLdapConnectionFactory.activateObject(LdapConnection connection)
There is nothing to do to activate a connection.
|
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.bindConnection(LdapConnection 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 |
DefaultLdapConnectionFactory.configureConnection(LdapConnection connection) |
void |
AbstractPoolableLdapConnectionFactory.destroyObject(LdapConnection connection)
Destroying a connection will unbind it which will result on a shutdown
of teh underlying protocol.
|
void |
ValidatingPoolableLdapConnectionFactory.passivateObject(LdapConnection connection)
We don't do anything with the connection.
|
void |
AbstractPoolableLdapConnectionFactory.passivateObject(LdapConnection connection)
We don't do anything with the connection.
|
void |
LdapConnectionPool.releaseConnection(LdapConnection connection)
Places the given LdapConnection back in the pool.
|
boolean |
LookupLdapConnectionValidator.validate(LdapConnection connection)
Returns true if
connection is connected, authenticated, and
a lookup on the rootDSE returns a non-null response. |
boolean |
LdapConnectionValidator.validate(LdapConnection ldapConnection)
Return true if the connection is still valid.
|
boolean |
DefaultLdapConnectionValidator.validate(LdapConnection connection)
Returns true if
connection is connected, and authenticated. |
boolean |
AbstractPoolableLdapConnectionFactory.validateObject(LdapConnection connection)
Validating a connection is done by checking the connection status.
|
Constructor and 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 and Description |
---|
LdapConnectionPool(org.apache.commons.pool.PoolableObjectFactory<LdapConnection> factory)
Instantiates a new LDAP connection pool.
|
LdapConnectionPool(org.apache.commons.pool.PoolableObjectFactory<LdapConnection> factory,
org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig)
Instantiates a new LDAP connection pool.
|
Constructor and 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.
|
ResponseFuture(LdapConnection connection,
int messageId)
Creates a new instance of ResponseFuture.
|
SearchFuture(LdapConnection connection,
int messageId)
Creates a new instance of SearchFuture.
|
Modifier and Type | Method and Description |
---|---|
T |
ConnectionCallback.doWithConnection(LdapConnection connection)
Provides a managed connection to the implementation of this method.
|
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.