Modifier and Type | Class and Description |
---|---|
protected static class |
DefaultConnectionFactory.DefaultConnection
Default implementation for managing a connection to an LDAP.
|
Modifier and Type | Field and Description |
---|---|
private Connection |
AbstractOperation.connection
Connection to perform operation.
|
Modifier and Type | Method and Description |
---|---|
Connection |
DefaultConnectionFactory.getConnection()
Creates a new connection.
|
protected Connection |
AbstractOperation.getConnection()
Returns the connection used for this operation.
|
Connection |
ConnectionFactory.getConnection()
Creates a new connection.
|
static Connection |
DefaultConnectionFactory.getConnection(ConnectionConfig cc)
Creates a new connection.
|
static Connection |
DefaultConnectionFactory.getConnection(String ldapUrl)
Creates a new connection.
|
Modifier and Type | Method and Description |
---|---|
protected HandlerResult<Response<S>> |
AbstractOperation.ReopenOperationExceptionHandler.createResult(Connection conn,
Q request,
Response<S> response) |
protected void |
AbstractOperation.ReopenOperationExceptionHandler.handleInternal(Connection conn,
Q request,
Response<S> response) |
Response<Void> |
BindConnectionInitializer.initialize(Connection c) |
Response<Void> |
ConnectionInitializer.initialize(Connection conn)
Initialize the supplied connection.
|
Constructor and Description |
---|
AbstractOperation(Connection conn)
Creates a new abstract operation.
|
AddOperation(Connection conn)
Creates a new add operation.
|
BindOperation(Connection conn)
Creates a new bind operation.
|
CompareOperation(Connection conn)
Creates a new compare operation.
|
DeleteOperation(Connection conn)
Creates a new delete operation.
|
ModifyDnOperation(Connection conn)
Creates a new modify dn operation.
|
ModifyOperation(Connection conn)
Creates a new modify operation.
|
SearchOperation(Connection conn)
Creates a new search operation.
|
SearchOperation(Connection conn,
Cache<SearchRequest> c)
Creates a new search operation.
|
Modifier and Type | Field and Description |
---|---|
private Connection |
NotificationClient.connection
Connection to invoke the search operation on.
|
private Connection |
DirSyncClient.connection
Connection to invoke the search operation on.
|
Constructor and Description |
---|
DirSyncClient(Connection conn)
Creates a new dir sync client.
|
DirSyncClient(Connection conn,
DirSyncControl.Flag[] dsFlags)
Creates a new dir sync client.
|
DirSyncClient(Connection conn,
DirSyncControl.Flag[] dsFlags,
int count)
Creates a new dir sync client.
|
NotificationClient(Connection conn)
Creates a new notification client.
|
Modifier and Type | Method and Description |
---|---|
Response<Void> |
FastBindOperation.FastBindConnectionInitializer.initialize(Connection c) |
Constructor and Description |
---|
FastBindOperation(Connection conn)
Creates a new fast bind operation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PrimaryGroupIdHandler.handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry) |
protected void |
RangeEntryHandler.handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry) |
protected void |
AbstractBinaryAttributeHandler.handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry) |
Modifier and Type | Field and Description |
---|---|
private Connection |
AbandonOperation.connection
Connection to perform operation.
|
Constructor and Description |
---|
AbandonOperation(Connection conn)
Creates a new abandon operation.
|
AbstractAsyncOperation(Connection conn)
Creates a new abstract async operation.
|
AsyncSearchOperation(Connection conn)
Creates a new async search operation.
|
Modifier and Type | Method and Description |
---|---|
HandlerResult<AsyncRequest> |
AsyncRequestHandler.handle(Connection conn,
Request request,
AsyncRequest asyncRequest) |
HandlerResult<Exception> |
ExceptionHandler.handle(Connection conn,
Request request,
Exception exception) |
Modifier and Type | Field and Description |
---|---|
private Connection |
AuthenticationHandlerResponse.connection
Connection that authentication occurred on.
|
Modifier and Type | Method and Description |
---|---|
protected Connection |
CompareAuthenticationHandler.getConnection() |
protected Connection |
BindAuthenticationHandler.getConnection() |
Connection |
AuthenticationHandlerResponse.getConnection()
Returns the connection that the ldap operation occurred on.
|
protected Connection |
PooledSearchDnResolver.getConnection() |
protected Connection |
PooledBindAuthenticationHandler.getConnection() |
protected abstract Connection |
AbstractCompareAuthenticationHandler.getConnection()
Returns a connection that the compare operation should be performed on.
|
protected abstract Connection |
AbstractAuthenticationHandler.getConnection()
Returns a connection that the authentication operation should be performed on.
|
protected Connection |
SearchDnResolver.getConnection() |
protected Connection |
PooledCompareAuthenticationHandler.getConnection() |
protected abstract Connection |
AbstractSearchDnResolver.getConnection()
Retrieve a connection that is ready for use.
|
Modifier and Type | Method and Description |
---|---|
protected AuthenticationHandlerResponse |
BindAuthenticationHandler.authenticateInternal(Connection c,
AuthenticationCriteria criteria) |
protected AuthenticationHandlerResponse |
PooledBindAuthenticationHandler.authenticateInternal(Connection c,
AuthenticationCriteria criteria) |
protected AuthenticationHandlerResponse |
AbstractCompareAuthenticationHandler.authenticateInternal(Connection c,
AuthenticationCriteria criteria) |
protected abstract AuthenticationHandlerResponse |
AbstractAuthenticationHandler.authenticateInternal(Connection c,
AuthenticationCriteria criteria)
Authenticate on the supplied connection using the supplied criteria.
|
protected SearchOperation |
AbstractSearchOperationFactory.createSearchOperation(Connection conn)
Creates a new search operation configured with the properties on this factory.
|
Constructor and Description |
---|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn)
Creates a new authentication response.
|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn,
String msg)
Creates a new authentication response.
|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn,
String msg,
ResponseControl[] controls,
int msgId)
Creates a new ldap response.
|
Modifier and Type | Method and Description |
---|---|
protected static <Q extends Request,S> |
AggregatePooledSearchExecutor.createCallable(Connection conn,
Operation<Q,S> operation,
Q request)
Returns a
Callable that executes the supplied request with the supplied operation in a try-finally block
that opens and closes the connection. |
protected static <Q extends Request,S> |
ParallelPooledSearchExecutor.createCallable(Connection conn,
Operation<Q,S> operation,
Q request)
Returns a
Callable that executes the supplied request with the supplied operation in a try-finally block
that opens and closes the connection. |
protected static <Q extends Request,S> |
AggregateSearchExecutor.createCallable(Connection conn,
OperationWorker<Q,S> worker,
Q[] requests)
Returns a
Callable that executes the supplied request with the supplied worker in a try-finally block that
opens and closes the connection. |
protected Callable<Response<SearchResult>> |
QueueingSearchExecutor.createCallable(Connection conn,
SearchOperation operation,
SearchRequest request,
BlockingQueue<QueueingSearchExecutor.SearchItem> queue)
Returns a
Callable that executes the supplied request with the supplied operation in a try-finally block
that opens and closes the connection. |
protected SearchOperation |
AbstractSearchExecutor.createSearchOperation(Connection conn)
Creates a new search operation configured with the properties on this search executor.
|
HandlerResult<IntermediateResponse> |
QueueingSearchExecutor.IntermediateResponseHandler.handle(Connection conn,
Request request,
IntermediateResponse response) |
HandlerResult<SearchEntry> |
QueueingSearchExecutor.SearchEntryHandler.handle(Connection conn,
SearchRequest request,
SearchEntry entry) |
HandlerResult<SearchReference> |
QueueingSearchExecutor.SearchReferenceHandler.handle(Connection conn,
SearchRequest request,
SearchReference reference) |
Modifier and Type | Field and Description |
---|---|
private Connection |
SyncReplClient.connection
Connection to invoke the search operation on.
|
private Connection |
PersistentSearchClient.connection
Connection to invoke the search operation on.
|
private Connection |
PagedResultsClient.connection
Connection to invoke the search operation on.
|
private Connection |
VirtualListViewClient.connection
Connection to invoke the search operation on.
|
Constructor and Description |
---|
PagedResultsClient(Connection conn,
int size)
Creates a new paged results client.
|
PersistentSearchClient(Connection conn,
EnumSet<PersistentSearchChangeType> types,
boolean co,
boolean re)
Creates a new persistent search client.
|
SyncReplClient(Connection conn,
boolean persist)
Creates a new sync repl client.
|
VirtualListViewClient(Connection conn,
SortKey... keys)
Creates a new virtual list view client.
|
Constructor and Description |
---|
MergeOperation(Connection conn)
Creates a new merge operation.
|
Modifier and Type | Field and Description |
---|---|
private Connection |
UnsolicitedNotifications.connection
Connection to configure unsolicited notifications on.
|
Constructor and Description |
---|
CancelOperation(Connection conn)
Creates a new cancel operation.
|
PasswordModifyOperation(Connection conn)
Creates a new password modify operation.
|
UnsolicitedNotifications(Connection conn)
Creates a new unsolicited notifications.
|
WhoAmIOperation(Connection conn)
Creates a new who am i operation.
|
Modifier and Type | Method and Description |
---|---|
protected abstract HandlerResult<Response<S>> |
AbstractRetryOperationExceptionHandler.createResult(Connection conn,
Q request,
Response<S> response)
|
HandlerResult<Response<S>> |
NoOpOperationExceptionHandler.handle(Connection conn,
Q request,
Response<S> response) |
HandlerResult<Response<S>> |
AbstractRetryOperationExceptionHandler.handle(Connection conn,
Q request,
Response<S> response) |
HandlerResult<Response<S>> |
OperationExceptionHandler.handle(Connection conn,
Q request,
Response<S> response) |
HandlerResult<Response<T>> |
OperationResponseHandler.handle(Connection conn,
Q request,
Response<T> response) |
HandlerResult<S> |
Handler.handle(Connection conn,
Q request,
S result)
Handle the supplied result.
|
HandlerResult<IntermediateResponse> |
IntermediateResponseHandler.handle(Connection conn,
Request request,
IntermediateResponse response) |
HandlerResult<SearchEntry> |
SearchEntryHandler.handle(Connection conn,
SearchRequest request,
SearchEntry entry) |
HandlerResult<SearchEntry> |
AbstractSearchEntryHandler.handle(Connection conn,
SearchRequest request,
SearchEntry entry) |
HandlerResult<SearchEntry> |
RecursiveEntryHandler.handle(Connection conn,
SearchRequest request,
SearchEntry entry) |
HandlerResult<SearchReference> |
SearchReferenceHandler.handle(Connection conn,
SearchRequest request,
SearchReference reference) |
protected void |
AbstractSearchEntryHandler.handleAttribute(Connection conn,
SearchRequest request,
LdapAttribute attr)
Handle a single attribute.
|
protected String |
AbstractSearchEntryHandler.handleAttributeName(Connection conn,
SearchRequest request,
String name)
Returns the supplied attribute name unaltered.
|
protected String |
CaseChangeEntryHandler.handleAttributeName(Connection conn,
SearchRequest request,
String name) |
protected void |
DnAttributeEntryHandler.handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry) |
protected void |
AbstractSearchEntryHandler.handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry)
Handle the attributes of a search entry.
|
protected void |
MergeAttributeEntryHandler.handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry) |
protected void |
CaseChangeEntryHandler.handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry) |
protected byte[] |
AbstractSearchEntryHandler.handleAttributeValue(Connection conn,
SearchRequest request,
byte[] value)
Returns the supplied attribute value unaltered.
|
protected byte[] |
CaseChangeEntryHandler.handleAttributeValue(Connection conn,
SearchRequest request,
byte[] value) |
protected String |
AbstractSearchEntryHandler.handleAttributeValue(Connection conn,
SearchRequest request,
String value)
Returns the supplied attribute value unaltered.
|
protected String |
CaseChangeEntryHandler.handleAttributeValue(Connection conn,
SearchRequest request,
String value) |
protected String |
AbstractSearchEntryHandler.handleDn(Connection conn,
SearchRequest request,
SearchEntry entry)
Handle the dn of a search entry.
|
protected String |
CaseChangeEntryHandler.handleDn(Connection conn,
SearchRequest request,
SearchEntry entry) |
protected abstract void |
AbstractRetryOperationExceptionHandler.handleInternal(Connection conn,
Q request,
Response<S> response)
Perform any operations required to recover from the operation exception.
|
private void |
RecursiveEntryHandler.readSearchAttribute(Connection conn,
LdapEntry entry,
List<String> searchedDns)
Reads the values of
RecursiveEntryHandler.searchAttribute from the supplied attributes and calls RecursiveEntryHandler.recursiveSearch(org.ldaptive.Connection, java.lang.String, org.ldaptive.LdapEntry, java.util.List<java.lang.String>) for
each. |
private void |
RecursiveEntryHandler.recursiveSearch(Connection conn,
String dn,
LdapEntry entry,
List<String> searchedDns)
Recursively gets the attribute(s)
RecursiveEntryHandler.mergeAttributes for the supplied dn and adds the values to the supplied
attributes. |
Modifier and Type | Method and Description |
---|---|
protected abstract Connection |
AbstractSearchRoleResolver.getConnection()
Retrieve a connection that is ready for use.
|
protected Connection |
PooledSearchRoleResolver.getConnection() |
protected Connection |
SearchRoleResolver.getConnection()
Retrieve a connection that is ready for use.
|
Modifier and Type | Field and Description |
---|---|
private Connection |
AbstractConnectionPool.DefaultPooledConnectionProxy.conn
Underlying connection.
|
Modifier and Type | Method and Description |
---|---|
protected Connection |
AbstractConnectionPool.createConnectionProxy(PooledConnectionProxy pc)
Creates a connection proxy using the supplied pool connection.
|
Connection |
ConnectionPool.getConnection()
Returns an object from the pool.
|
Connection |
SoftLimitConnectionPool.getConnection() |
abstract Connection |
AbstractConnectionPool.getConnection()
Returns a connection from the pool.
|
Connection |
AbstractConnectionPool.DefaultPooledConnectionProxy.getConnection() |
Connection |
PooledConnectionProxy.getConnection()
Returns the connection that is being proxied.
|
Connection |
PooledConnectionFactory.getConnection()
Returns a connection from the pool.
|
Connection |
BlockingConnectionPool.getConnection() |
Modifier and Type | Method and Description |
---|---|
Activator<Connection> |
ConnectionPool.getActivator()
Returns the activator for this pool.
|
Passivator<Connection> |
ConnectionPool.getPassivator()
Returns the passivator for this pool.
|
Validator<Connection> |
ConnectionPool.getValidator()
Returns the validator for this pool.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectActivator.activate(Connection c) |
boolean |
BindPassivator.passivate(Connection c) |
boolean |
ClosePassivator.passivate(Connection c) |
abstract void |
AbstractConnectionPool.putConnection(Connection c)
Returns a connection to the pool.
|
void |
BlockingConnectionPool.putConnection(Connection c) |
protected PooledConnectionProxy |
AbstractConnectionPool.retrieveConnectionProxy(Connection proxy)
Retrieves the invocation handler from the supplied connection proxy.
|
boolean |
SearchValidator.validate(Connection c) |
boolean |
CompareValidator.validate(Connection c) |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionPool.setActivator(Activator<Connection> a)
Sets the activator for this pool.
|
void |
ConnectionPool.setPassivator(Passivator<Connection> p)
Sets the passivator for this pool.
|
void |
ConnectionPool.setValidator(Validator<Connection> v)
Sets the validator for this pool.
|
Constructor and Description |
---|
DefaultPooledConnectionProxy(Connection c,
Response<Void> r)
Creates a new pooled connection.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Operation<Q,S> |
AbstractReferralHandler.createReferralOperation(Connection conn)
Creates an operation for this type of referral.
|
protected Operation<ModifyDnRequest,Void> |
ModifyDnReferralHandler.createReferralOperation(Connection conn) |
protected Operation<CompareRequest,Boolean> |
CompareReferralHandler.createReferralOperation(Connection conn) |
protected Operation<DeleteRequest,Void> |
DeleteReferralHandler.createReferralOperation(Connection conn) |
protected Operation<AddRequest,Void> |
AddReferralHandler.createReferralOperation(Connection conn) |
protected Operation<SearchRequest,SearchResult> |
SearchReferralHandler.createReferralOperation(Connection conn) |
protected Operation<ModifyRequest,Void> |
ModifyReferralHandler.createReferralOperation(Connection conn) |
protected Response<S> |
AbstractReferralHandler.followReferral(Connection conn,
Q request,
String[] referralUrls)
Follows the supplied referral URLs in order until a SUCCESS or REFERRAL_LIMIT_EXCEEDED occurs.
|
HandlerResult<Response<S>> |
AbstractReferralHandler.handle(Connection conn,
Q request,
Response<S> response) |
HandlerResult<Response<S>> |
ReferralHandler.handle(Connection conn,
Q request,
Response<S> response) |
HandlerResult<Response<S>> |
AbstractReferralHandler.handle(Connection conn,
Q request,
String[] referralUrls)
Implementation that does not require the response.
|
HandlerResult<SearchReference> |
SearchReferralHandler.SearchReferenceHandler.handle(Connection conn,
SearchRequest request,
SearchReference reference) |
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.