Modifier and Type | Class and Description |
---|---|
class |
OperationException
Exception thrown when an ldap operation attempt fails.
|
Modifier and Type | Method and Description |
---|---|
protected HandlerResult<Response<S>> |
AbstractOperation.ReopenOperationExceptionHandler.createResult(Connection conn,
Q request,
Response<S> response) |
Response<S> |
Operation.execute(Q request)
Execute this ldap operation.
|
Response<S> |
AbstractOperation.execute(Q request) |
protected <Q extends Request,S> |
AbstractOperation.executeHandlers(Handler<Q,S>[] handlers,
Q request,
S result)
Processes each handler and returns a handler result containing a result processed by all handlers.
|
protected Response<SearchResult> |
SearchOperation.executeSearch(SearchRequest request)
Performs the ldap search.
|
Connection |
ConnectionFactory.getConnection()
Creates a new connection.
|
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.
|
protected Response<Void> |
AddOperation.invoke(AddRequest request) |
protected Response<Void> |
BindOperation.invoke(BindRequest request) |
protected Response<Boolean> |
CompareOperation.invoke(CompareRequest request) |
protected Response<Void> |
DeleteOperation.invoke(DeleteRequest request) |
protected Response<Void> |
ModifyDnOperation.invoke(ModifyDnRequest request) |
protected Response<Void> |
ModifyOperation.invoke(ModifyRequest request) |
protected abstract Response<S> |
AbstractOperation.invoke(Q request)
Call the provider specific implementation of this ldap operation.
|
protected Response<SearchResult> |
SearchOperation.invoke(SearchRequest request) |
Response<Void> |
DefaultConnectionFactory.DefaultConnection.open()
This will establish a connection if one does not already exist.
|
Response<Void> |
Connection.open()
This will establish a connection to the LDAP.
|
Response<Void> |
DefaultConnectionFactory.DefaultConnection.open(BindRequest request)
This will establish a connection if one does not already exist and bind to the LDAP using the supplied bind
request.
|
Response<Void> |
Connection.open(BindRequest request)
This will establish a connection to the LDAP using the supplied bind request.
|
protected SearchResult |
SearchOperation.readResult(SearchRequest request,
SearchIterator si)
Invokes the provider search operation and iterates over the results.
|
Response<Void> |
DefaultConnectionFactory.DefaultConnection.reopen() |
Response<Void> |
Connection.reopen()
This will close an existing connection to the LDAP and establish a new connection to the LDAP.
|
Response<Void> |
DefaultConnectionFactory.DefaultConnection.reopen(BindRequest request) |
Response<Void> |
Connection.reopen(BindRequest request)
This will close an existing connection to the LDAP and establish a new connection to the LDAP using the supplied
bind request.
|
Response<SearchResult> |
SearchExecutor.search(ConnectionFactory factory)
Performs a search operation with the supplied connection factory.
|
Response<SearchResult> |
SearchExecutor.search(ConnectionFactory factory,
SearchFilter filter)
Performs a search operation with the supplied connection factory.
|
Response<SearchResult> |
SearchExecutor.search(ConnectionFactory factory,
SearchFilter filter,
String... attrs)
Performs a search operation with the supplied connection factory.
|
Response<SearchResult> |
SearchExecutor.search(ConnectionFactory factory,
SearchFilter filter,
String[] attrs,
SearchEntryHandler... handlers)
Performs a search operation with the supplied connection factory.
|
Response<SearchResult> |
SearchExecutor.search(ConnectionFactory factory,
String filter)
Performs a search operation with the supplied connection factory.
|
Response<SearchResult> |
SearchExecutor.search(ConnectionFactory factory,
String filter,
String... attrs)
Performs a search operation with the supplied connection factory.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationClient.abandon(int messageId)
Invokes an abandon operation on the supplied ldap message id.
|
BlockingQueue<NotificationClient.NotificationItem> |
NotificationClient.execute(SearchRequest request)
Invokes
NotificationClient.execute(SearchRequest, int) with a capacity of Integer.MAX_VALUE . |
Response<SearchResult> |
DirSyncClient.execute(SearchRequest request)
Performs a search operation with the
DirSyncControl . |
Response<SearchResult> |
DirSyncClient.execute(SearchRequest request,
CookieManager manager)
Performs a search operation with the
DirSyncControl . |
BlockingQueue<NotificationClient.NotificationItem> |
NotificationClient.execute(SearchRequest request,
int capacity)
Performs a search operation with the
NotificationControl . |
Response<SearchResult> |
DirSyncClient.execute(SearchRequest request,
Response<SearchResult> response)
Performs a search operation with the
DirSyncControl . |
Response<SearchResult> |
DirSyncClient.executeToCompletion(SearchRequest request)
|
Response<SearchResult> |
DirSyncClient.executeToCompletion(SearchRequest request,
CookieManager manager)
Performs a search operation with the
DirSyncControl . |
Modifier and Type | Method and Description |
---|---|
Response<Void> |
FastBindOperation.FastBindConnectionInitializer.initialize(Connection c) |
protected Response<Void> |
FastBindOperation.invoke(FastBindRequest request) |
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 | Method and Description |
---|---|
static Schema |
SchemaFactory.createSchema(ConnectionFactory factory,
String entryDn)
Creates a new schema.
|
protected static SearchResult |
SchemaFactory.getSearchResult(ConnectionFactory factory,
String dn,
String filter,
String[] retAttrs)
Searches for the supplied dn and returns its ldap entry.
|
Modifier and Type | Field and Description |
---|---|
private LdapException |
AsyncSearchOperation.AsyncSearchListener.searchException
Thrown by the async search operation.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncRequest.abandon()
Abandon the operation.
|
void |
AsyncRequest.abandon(RequestControl[] controls)
Abandon the operation.
|
void |
AbandonOperation.execute(int messageId)
Execute this ldap operation.
|
void |
AbandonOperation.execute(int messageId,
RequestControl[] controls)
Execute this ldap operation.
|
FutureResponse<SearchResult> |
AsyncSearchOperation.execute(SearchRequest request) |
Response<SearchResult> |
AsyncSearchOperation.AsyncSearchListener.getResponse()
Returns the response data associated with this search, blocking until a response is available.
|
protected Response<SearchResult> |
AsyncSearchOperation.invoke(SearchRequest request) |
protected void |
AsyncSearchOperation.AsyncSearchListener.processAsyncRequest(AsyncRequest request)
Invokes the handlers for the supplied async request.
|
protected void |
AsyncSearchOperation.AsyncSearchListener.processSearchItem(SearchItem item)
Invokes the handlers for the supplied search item.
|
Modifier and Type | Method and Description |
---|---|
HandlerResult<AsyncRequest> |
AsyncRequestHandler.handle(Connection conn,
Request request,
AsyncRequest asyncRequest) |
Modifier and Type | Method and Description |
---|---|
AuthenticationHandlerResponse |
AuthenticationHandler.authenticate(AuthenticationCriteria criteria)
Perform an ldap authentication.
|
AuthenticationHandlerResponse |
AggregateDnResolver.AuthenticationHandler.authenticate(AuthenticationCriteria criteria) |
AuthenticationHandlerResponse |
AbstractAuthenticationHandler.authenticate(AuthenticationCriteria ac) |
AuthenticationResponse |
Authenticator.authenticate(AuthenticationRequest request)
Authenticate the user in the supplied request.
|
protected AuthenticationResponse |
Authenticator.authenticate(String dn,
AuthenticationRequest request)
Validates input and performs authentication using an
AuthenticationHandler . |
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 byte[] |
AbstractCompareAuthenticationHandler.digestCredential(Credential credential,
String algorithm)
Digests the supplied credential using the supplied algorithm.
|
protected Connection |
CompareAuthenticationHandler.getConnection() |
protected Connection |
BindAuthenticationHandler.getConnection() |
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.
|
void |
AggregateDnResolver.AuthenticationResponseHandler.handle(AuthenticationResponse response) |
void |
AuthenticationResponseHandler.handle(AuthenticationResponse response)
Handle the response from an ldap authentication.
|
void |
AuthenticationRequestHandler.handle(String dn,
AuthenticationRequest request)
Handle the request for an ldap authentication.
|
void |
AddControlAuthenticationRequestHandler.handle(String dn,
AuthenticationRequest request) |
protected abstract SearchResult |
AbstractSearchEntryResolver.performLdapSearch(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response)
Executes an ldap search with the supplied authentication criteria.
|
protected SearchResult |
WhoAmIEntryResolver.performLdapSearch(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response) |
protected SearchResult |
PooledSearchEntryResolver.performLdapSearch(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response) |
SearchResult |
SearchEntryResolver.performLdapSearch(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response) |
protected SearchResult |
AuthorizationIdentityEntryResolver.performLdapSearch(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response) |
protected SearchResult |
AbstractSearchDnResolver.performLdapSearch(SearchFilter filter)
Executes the ldap search operation with the supplied filter.
|
protected AuthenticationRequest |
Authenticator.processRequest(String dn,
AuthenticationRequest request)
Creates a new authentication request applying any applicable configuration on this authenticator.
|
LdapEntry |
AbstractSearchEntryResolver.resolve(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response) |
LdapEntry |
EntryResolver.resolve(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response)
Attempts to find the LDAP entry for the supplied authentication criteria and authentication handler response.
|
LdapEntry |
AggregateDnResolver.EntryResolver.resolve(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response) |
LdapEntry |
NoOpEntryResolver.resolve(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response) |
String |
AggregateDnResolver.resolve(User user) |
String |
FormatDnResolver.resolve(User user)
Returns a DN for the supplied user by applying it to a format string.
|
String |
DnResolver.resolve(User user)
Attempts to find the LDAP DN for the supplied user.
|
String |
AbstractSearchDnResolver.resolve(User user)
Attempts to find the DN for the supplied user.
|
String |
NoOpDnResolver.resolve(User user)
Returns the user as the DN.
|
String |
Authenticator.resolveDn(User user)
This will attempt to find the DN for the supplied user.
|
protected LdapEntry |
Authenticator.resolveEntry(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response)
Attempts to find the ldap entry for the supplied DN.
|
Modifier and Type | Method and Description |
---|---|
Response<Void> |
LdapEntryManager.add(T object)
Adds the supplied annotated object to an LDAP.
|
Response<Void> |
DefaultLdapEntryManager.add(T object) |
Response<Void> |
LdapEntryManager.delete(T object)
Deletes the supplied annotated object from an LDAP.
|
Response<Void> |
DefaultLdapEntryManager.delete(T object) |
T |
LdapEntryManager.find(T object)
Searches for the supplied annotated object in an LDAP and returns the object mapped with it's ldap attribute
properties set.
|
T |
DefaultLdapEntryManager.find(T object) |
Response<Void> |
LdapEntryManager.merge(T object)
Merges the supplied annotated object in an LDAP.
|
Response<Void> |
DefaultLdapEntryManager.merge(T object) |
Modifier and Type | Method and Description |
---|---|
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) |
BlockingQueue<QueueingSearchExecutor.SearchItem> |
QueueingSearchExecutor.search(ConnectionFactory factory)
Performs a search operation with the supplied connection factory.
|
Collection<Response<SearchResult>> |
AggregateSearchExecutor.search(ConnectionFactory[] factories,
SearchFilter[] filters,
String[] attrs,
SearchEntryHandler... handlers) |
BlockingQueue<QueueingSearchExecutor.SearchItem> |
QueueingSearchExecutor.search(ConnectionFactory factory,
SearchFilter filter)
Performs a search operation with the supplied connection factory.
|
Collection<Response<SearchResult>> |
ParallelSearchExecutor.search(ConnectionFactory factory,
SearchFilter[] filters,
String[] attrs,
SearchEntryHandler... handlers) |
BlockingQueue<QueueingSearchExecutor.SearchItem> |
QueueingSearchExecutor.search(ConnectionFactory factory,
SearchFilter filter,
String... attrs)
Performs a search operation with the supplied connection factory.
|
BlockingQueue<QueueingSearchExecutor.SearchItem> |
QueueingSearchExecutor.search(ConnectionFactory factory,
SearchFilter filter,
String[] attrs,
SearchEntryHandler... handlers)
Performs a search operation with the supplied connection factory.
|
BlockingQueue<QueueingSearchExecutor.SearchItem> |
QueueingSearchExecutor.search(ConnectionFactory factory,
String filter)
Performs a search operation with the supplied connection factory.
|
BlockingQueue<QueueingSearchExecutor.SearchItem> |
QueueingSearchExecutor.search(ConnectionFactory factory,
String filter,
String... attrs)
Performs a search operation with the supplied connection factory.
|
Collection<Response<SearchResult>> |
AggregatePooledSearchExecutor.search(PooledConnectionFactory[] factories,
SearchFilter[] filters,
String[] attrs,
SearchEntryHandler... handlers) |
Collection<Response<SearchResult>> |
ParallelPooledSearchExecutor.search(PooledConnectionFactory factory,
SearchFilter[] filters,
String[] attrs,
SearchEntryHandler... handlers) |
Collection<Response<SearchResult>> |
AbstractAggregateSearchExecutor.search(T[] factories,
SearchFilter[] filters)
Performs a search operation with the supplied connection factories.
|
Collection<Response<SearchResult>> |
AbstractAggregateSearchExecutor.search(T[] factories,
SearchFilter[] filters,
String... attrs)
Performs a search operation with the supplied connection factories.
|
abstract Collection<Response<SearchResult>> |
AbstractAggregateSearchExecutor.search(T[] factories,
SearchFilter[] filters,
String[] attrs,
SearchEntryHandler... handlers)
Performs a search operation with the supplied connection factories.
|
Collection<Response<SearchResult>> |
AbstractAggregateSearchExecutor.search(T[] factories,
String... filters)
Performs a search operation with the supplied connection factories.
|
Collection<Response<SearchResult>> |
AbstractAggregateSearchExecutor.search(T[] factories,
String[] filters,
String... attrs)
Performs a search operation with the supplied connection factories.
|
Collection<Response<SearchResult>> |
AbstractParallelSearchExecutor.search(T factory,
SearchFilter[] filters)
Performs a search operation with the supplied connection factory.
|
Collection<Response<SearchResult>> |
AbstractParallelSearchExecutor.search(T factory,
SearchFilter[] filters,
String... attrs)
Performs a search operation with the supplied connection factory.
|
abstract Collection<Response<SearchResult>> |
AbstractParallelSearchExecutor.search(T factory,
SearchFilter[] filters,
String[] attrs,
SearchEntryHandler... handlers)
Performs a search operation with the supplied connection factory.
|
Collection<Response<SearchResult>> |
AbstractParallelSearchExecutor.search(T factory,
String... filters)
Performs a search operation with the supplied connection factory.
|
Collection<Response<SearchResult>> |
AbstractParallelSearchExecutor.search(T factory,
String[] filters,
String... attrs)
Performs a search operation with the supplied connection factory.
|
Modifier and Type | Method and Description |
---|---|
void |
PersistentSearchClient.abandon(int messageId)
Invokes an abandon operation on the supplied ldap message id.
|
Response<Void> |
SyncReplClient.cancel(int messageId)
Invokes a cancel operation on the supplied ldap message id.
|
BlockingQueue<SyncReplItem> |
SyncReplClient.execute(SearchRequest request)
Invokes
SyncReplClient.execute(SearchRequest, CookieManager, int) with a DefaultCookieManager and a capacity of
Integer.MAX_VALUE . |
BlockingQueue<PersistentSearchItem> |
PersistentSearchClient.execute(SearchRequest request)
Invokes
PersistentSearchClient.execute(SearchRequest, int) with a capacity of Integer.MAX_VALUE . |
Response<SearchResult> |
PagedResultsClient.execute(SearchRequest request)
Performs a search operation with the
PagedResultsControl . |
BlockingQueue<SyncReplItem> |
SyncReplClient.execute(SearchRequest request,
CookieManager manager)
Invokes
SyncReplClient.execute(SearchRequest, CookieManager, int) with a capacity of Integer.MAX_VALUE . |
Response<SearchResult> |
PagedResultsClient.execute(SearchRequest request,
CookieManager manager)
Performs a search operation with the
PagedResultsControl . |
BlockingQueue<SyncReplItem> |
SyncReplClient.execute(SearchRequest request,
CookieManager manager,
int capacity)
Performs an async search operation with the
SyncRequestControl . |
BlockingQueue<PersistentSearchItem> |
PersistentSearchClient.execute(SearchRequest request,
int capacity)
Performs an async search operation with the
PersistentSearchRequestControl . |
Response<SearchResult> |
PagedResultsClient.execute(SearchRequest request,
Response<SearchResult> response)
Performs a search operation with the
PagedResultsControl . |
Response<SearchResult> |
VirtualListViewClient.execute(SearchRequest request,
VirtualListViewParams params)
Performs a search operation with the
VirtualListViewRequestControl . |
Response<SearchResult> |
VirtualListViewClient.execute(SearchRequest request,
VirtualListViewParams params,
Response<SearchResult> response)
Performs a search operation with the
VirtualListViewRequestControl . |
Response<SearchResult> |
PagedResultsClient.executeToCompletion(SearchRequest request)
Performs a search operation with the
PagedResultsControl . |
Response<SearchResult> |
PagedResultsClient.executeToCompletion(SearchRequest request,
CookieManager manager)
Performs a search operation with the
PagedResultsControl . |
Modifier and Type | Method and Description |
---|---|
protected Response<Void> |
MergeOperation.add(MergeRequest request,
LdapEntry entry)
Executes an
AddOperation for the supplied entry. |
protected Response<Void> |
MergeOperation.delete(MergeRequest request,
LdapEntry entry)
Executes a
DeleteOperation for the supplied entry. |
protected Response<Void> |
MergeOperation.invoke(MergeRequest request)
Executes the ldap operation necessary to perform a merge.
|
protected Response<Void> |
MergeOperation.modify(MergeRequest request,
LdapEntry source,
LdapEntry target)
Retrieves the attribute modifications from
LdapEntry.computeModifications(LdapEntry, LdapEntry) and
executes a ModifyOperation with those results. |
Modifier and Type | Method and Description |
---|---|
protected Response<Void> |
CancelOperation.invoke(CancelRequest request) |
protected Response<Credential> |
PasswordModifyOperation.invoke(PasswordModifyRequest request) |
protected Response<String> |
WhoAmIOperation.invoke(WhoAmIRequest request) |
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 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 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.
|
Set<LdapRole> |
AbstractSearchRoleResolver.search(SearchRequest request) |
Set<LdapRole> |
RoleResolver.search(SearchRequest request)
Executes a search request and converts any attributes to ldap roles.
|
Modifier and Type | Class and Description |
---|---|
class |
ActivationException
Thrown when an attempt to activate a pooled object fails.
|
class |
BlockingTimeoutException
Thrown when a blocking operation times out.
|
class |
PoolException
Base exception thrown when a pool operation fails.
|
class |
PoolExhaustedException
Thrown when the pool is empty and no new requests can be serviced.
|
class |
PoolInterruptedException
Thrown when a pool thread is unexpectedly interrupted while blocking.
|
class |
ValidationException
Thrown when an attempt to validate a pooled object fails.
|
Modifier and Type | Method and Description |
---|---|
Connection |
PooledConnectionFactory.getConnection()
Returns a connection from the pool.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionException
Exception thrown when a connection attempt fails.
|
Modifier and Type | Method and Description |
---|---|
void |
ProviderConnection.abandon(int messageId,
RequestControl[] controls)
Abandon an operation.
|
Response<Void> |
ProviderConnection.add(AddRequest request)
Add an entry to an ldap.
|
Response<Void> |
ProviderConnection.bind(BindRequest request)
Bind to the ldap.
|
void |
SearchIterator.close()
Close any resources associated with this iterator.
|
void |
ProviderConnection.close(RequestControl[] controls)
Tear down this connection to an LDAP.
|
Response<Boolean> |
ProviderConnection.compare(CompareRequest request)
Compare an entry in the ldap.
|
ProviderConnection |
ProviderConnectionFactory.create()
Create a connection to an LDAP.
|
ProviderConnection |
AbstractProviderConnectionFactory.create() |
protected abstract ProviderConnection |
AbstractProviderConnectionFactory.createInternal(String url)
Create the provider connection and prepare the connection for use.
|
Response<Void> |
ProviderConnection.delete(DeleteRequest request)
Delete an entry in the ldap.
|
Response<?> |
ProviderConnection.extendedOperation(ExtendedRequest request)
Perform an extended operation in the ldap.
|
boolean |
SearchIterator.hasNext()
Returns true if the iteration has more elements.
|
Response<Void> |
ProviderConnection.modify(ModifyRequest request)
Modify an entry in the ldap.
|
Response<Void> |
ProviderConnection.modifyDn(ModifyDnRequest request)
Modify the DN of an entry in the ldap.
|
SearchItem |
SearchIterator.next()
Returns the next element in the iteration.
|
SearchIterator |
ProviderConnection.search(SearchRequest request)
Search the ldap.
|
void |
ProviderConnection.searchAsync(SearchRequest request,
SearchListener listener)
Search the ldap asynchronously.
|
static void |
ProviderUtils.throwOperationException(ResultCode[] operationRetryResultCodes,
Exception e,
int resultCode,
String matchedDn,
ResponseControl[] respControls,
String[] referralUrls,
boolean throwLdapException)
Determines whether to throw operation exception or ldap exception.
|
static void |
ProviderUtils.throwOperationException(ResultCode[] operationRetryResultCodes,
String msg,
int resultCode,
String matchedDn,
ResponseControl[] respControls,
String[] referralUrls,
boolean throwLdapException)
Determines whether to throw operation exception or ldap exception.
|
Modifier and Type | Method and Description |
---|---|
void |
ApacheLdapConnection.abandon(int messageId,
RequestControl[] controls) |
Response<Void> |
ApacheLdapConnection.add(AddRequest request) |
protected Response<Void> |
ApacheLdapConnection.anonymousBind(BindRequest request)
Performs an anonymous bind.
|
Response<Void> |
ApacheLdapConnection.bind(BindRequest request) |
void |
ApacheLdapConnection.ApacheLdapSearchIterator.close() |
void |
ApacheLdapConnection.close(RequestControl[] controls) |
Response<Boolean> |
ApacheLdapConnection.compare(CompareRequest request) |
protected ApacheLdapConnection |
ApacheLdapConnectionFactory.createInternal(String url) |
Response<Void> |
ApacheLdapConnection.delete(DeleteRequest request) |
Response<?> |
ApacheLdapConnection.extendedOperation(ExtendedRequest request) |
boolean |
ApacheLdapConnection.ApacheLdapSearchIterator.hasNext() |
void |
ApacheLdapConnection.ApacheLdapSearchIterator.initialize()
Initializes this apache ldap search iterator.
|
void |
ApacheLdapConnection.ApacheLdapSearchListener.initialize()
Initializes this apache ldap search listener.
|
Response<Void> |
ApacheLdapConnection.modify(ModifyRequest request) |
Response<Void> |
ApacheLdapConnection.modifyDn(ModifyDnRequest request) |
SearchItem |
ApacheLdapConnection.ApacheLdapSearchIterator.next() |
protected void |
ApacheLdapConnection.processLdapException(org.apache.directory.api.ldap.model.exception.LdapException e)
Determines if the supplied ldap exception should result in an operation exception.
|
protected void |
ApacheLdapConnection.processLdapOperationException(org.apache.directory.api.ldap.model.exception.LdapOperationException e)
Determines if the supplied ldap exception should result in an operation exception.
|
protected Response<Void> |
ApacheLdapConnection.saslBind(BindRequest request)
Performs a sasl bind.
|
SearchIterator |
ApacheLdapConnection.search(SearchRequest request) |
void |
ApacheLdapConnection.searchAsync(SearchRequest request,
SearchListener listener) |
protected Response<Void> |
ApacheLdapConnection.simpleBind(BindRequest request)
Performs a simple bind.
|
protected void |
ApacheLdapConnection.throwOperationException(Request request,
org.apache.directory.api.ldap.model.message.ResultResponse resultResponse)
Determines if the supplied response should result in an operation retry.
|
Modifier and Type | Method and Description |
---|---|
void |
JLdapConnection.JLdapAsyncRequest.abandon() |
void |
JLdapConnection.abandon(int messageId,
RequestControl[] controls) |
void |
JLdapConnection.JLdapAsyncRequest.abandon(RequestControl[] controls) |
Response<Void> |
JLdapConnection.add(AddRequest request) |
protected Response<Void> |
JLdapConnection.anonymousBind(BindRequest request)
Performs an anonymous bind.
|
Response<Void> |
JLdapConnection.bind(BindRequest request) |
void |
JLdapConnection.JLdapSearchIterator.close() |
void |
JLdapStartTLSConnection.close(RequestControl[] controls) |
void |
JLdapConnection.close(RequestControl[] controls) |
Response<Boolean> |
JLdapConnection.compare(CompareRequest request) |
protected T |
AbstractJLdapConnectionFactory.createInternal(String url) |
Response<Void> |
JLdapConnection.delete(DeleteRequest request) |
Response<?> |
JLdapConnection.extendedOperation(ExtendedRequest request) |
boolean |
JLdapConnection.JLdapSearchIterator.hasNext() |
void |
JLdapConnection.JLdapSearchIterator.initialize()
Initializes this jldap search iterator.
|
void |
JLdapConnection.JLdapAsyncSearchListener.initialize()
Initializes this jldap search listener.
|
Response<Void> |
JLdapConnection.modify(ModifyRequest request) |
Response<Void> |
JLdapConnection.modifyDn(ModifyDnRequest request) |
SearchItem |
JLdapConnection.JLdapSearchIterator.next() |
protected void |
JLdapConnection.processLDAPException(com.novell.ldap.LDAPException e)
Determines if the supplied ldap exception should result in an operation retry.
|
protected Response<Void> |
JLdapConnection.saslBind(BindRequest request)
Performs a sasl bind.
|
SearchIterator |
JLdapConnection.search(SearchRequest request) |
void |
JLdapConnection.searchAsync(SearchRequest request,
SearchListener listener) |
protected Response<Void> |
JLdapConnection.simpleBind(BindRequest request)
Performs a simple bind.
|
protected void |
JLdapConnection.throwOperationException(Request request,
com.novell.ldap.LDAPResponse ldapResponse)
Determines if the supplied response should result in an operation retry.
|
Modifier and Type | Method and Description |
---|---|
void |
JndiConnection.abandon(int messageId,
RequestControl[] controls) |
Response<Void> |
JndiConnection.add(AddRequest request) |
protected Response<Void> |
JndiConnection.anonymousBind(BindRequest request)
Performs an anonymous bind.
|
Response<Void> |
JndiConnection.bind(BindRequest request) |
void |
JndiConnection.JndiSearchIterator.close() |
void |
JndiStartTLSConnection.close(RequestControl[] controls) |
void |
JndiConnection.close(RequestControl[] controls) |
Response<Boolean> |
JndiConnection.compare(CompareRequest request) |
protected JndiConnection |
JndiConnectionFactory.createInternal(String url) |
protected JndiStartTLSConnection |
JndiStartTLSConnectionFactory.createInternal(String url) |
Response<Void> |
JndiConnection.delete(DeleteRequest request) |
Response<?> |
JndiConnection.extendedOperation(ExtendedRequest request) |
boolean |
JndiConnection.JndiSearchIterator.hasNext() |
void |
JndiConnection.JndiSearchIterator.initialize()
Initializes this jndi search iterator.
|
Response<Void> |
JndiConnection.modify(ModifyRequest request) |
Response<Void> |
JndiConnection.modifyDn(ModifyDnRequest request) |
SearchItem |
JndiConnection.JndiSearchIterator.next() |
protected void |
JndiConnection.processNamingException(Request request,
NamingException e,
String[] urls,
LdapContext ctx)
Determines if the supplied naming exception should result in an operation retry.
|
protected Response<Void> |
JndiConnection.saslBind(BindRequest request)
Performs a sasl bind.
|
SearchIterator |
JndiConnection.search(SearchRequest request) |
void |
JndiConnection.searchAsync(SearchRequest request,
SearchListener listener) |
protected Response<Void> |
JndiConnection.simpleBind(BindRequest request)
Performs a simple bind.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenDJConnection.OpenDJAsyncRequest.abandon() |
void |
OpenDJConnection.abandon(int messageId,
RequestControl[] controls) |
void |
OpenDJConnection.OpenDJAsyncRequest.abandon(RequestControl[] controls) |
Response<Void> |
OpenDJConnection.add(AddRequest request) |
protected Response<Void> |
OpenDJConnection.anonymousBind(BindRequest request)
Performs an anonymous bind.
|
Response<Void> |
OpenDJConnection.bind(BindRequest request) |
void |
OpenDJConnection.OpenDJSearchIterator.close() |
void |
OpenDJConnection.close(RequestControl[] controls) |
Response<Boolean> |
OpenDJConnection.compare(CompareRequest request) |
protected OpenDJConnection |
OpenDJConnectionFactory.createInternal(String url) |
Response<Void> |
OpenDJConnection.delete(DeleteRequest request) |
Response<?> |
OpenDJConnection.extendedOperation(ExtendedRequest request) |
boolean |
OpenDJConnection.OpenDJSearchIterator.hasNext() |
void |
OpenDJConnection.OpenDJSearchIterator.initialize()
Initializes this opendj search iterator.
|
void |
OpenDJConnection.OpenDJAsyncSearchListener.initialize()
Initializes this opendj async search listener.
|
Response<Void> |
OpenDJConnection.modify(ModifyRequest request) |
Response<Void> |
OpenDJConnection.modifyDn(ModifyDnRequest request) |
SearchItem |
OpenDJConnection.OpenDJSearchIterator.next() |
protected void |
OpenDJConnection.processErrorResultException(Request request,
org.forgerock.opendj.ldap.ErrorResultException e)
Determines if the supplied error result exception should result in an operation retry.
|
protected Response<Void> |
OpenDJConnection.saslBind(BindRequest request)
Performs a sasl bind.
|
protected OpenDJConnection.OpenDJSearchIterator.SearchResultIterator |
OpenDJConnection.OpenDJSearchIterator.search(org.forgerock.opendj.ldap.Connection conn,
SearchRequest sr)
Executes an ldap search.
|
protected void |
OpenDJConnection.OpenDJAsyncSearchListener.search(org.forgerock.opendj.ldap.Connection conn,
SearchRequest sr)
Executes an asynchronous ldap search.
|
SearchIterator |
OpenDJConnection.search(SearchRequest request) |
void |
OpenDJConnection.searchAsync(SearchRequest request,
SearchListener listener) |
protected Response<Void> |
OpenDJConnection.simpleBind(BindRequest request)
Performs a simple bind.
|
Modifier and Type | Method and Description |
---|---|
void |
UnboundIDConnection.UnboundIDAsyncRequest.abandon() |
void |
UnboundIDConnection.abandon(int messageId,
RequestControl[] controls) |
void |
UnboundIDConnection.UnboundIDAsyncRequest.abandon(RequestControl[] controls) |
Response<Void> |
UnboundIDConnection.add(AddRequest request) |
protected Response<Void> |
UnboundIDConnection.anonymousBind(BindRequest request)
Performs an anonymous bind.
|
Response<Void> |
UnboundIDConnection.bind(BindRequest request) |
void |
UnboundIDConnection.UnboundIDSearchIterator.close() |
void |
UnboundIDConnection.close(RequestControl[] controls) |
Response<Boolean> |
UnboundIDConnection.compare(CompareRequest request) |
protected UnboundIDConnection |
UnboundIDConnectionFactory.createInternal(String url) |
protected UnboundIDConnection |
UnboundIDStartTLSConnectionFactory.createInternal(String url) |
Response<Void> |
UnboundIDConnection.delete(DeleteRequest request) |
Response<?> |
UnboundIDConnection.extendedOperation(ExtendedRequest request) |
boolean |
UnboundIDConnection.UnboundIDSearchIterator.hasNext() |
void |
UnboundIDConnection.UnboundIDSearchIterator.initialize()
Initializes this unbound id search iterator.
|
void |
UnboundIDConnection.UnboundIDAsyncSearchListener.initialize()
Initializes this unbound id search listener.
|
Response<Void> |
UnboundIDConnection.modify(ModifyRequest request) |
Response<Void> |
UnboundIDConnection.modifyDn(ModifyDnRequest request) |
SearchItem |
UnboundIDConnection.UnboundIDSearchIterator.next() |
protected void |
UnboundIDConnection.processLDAPException(Request request,
com.unboundid.ldap.sdk.LDAPException e)
Determines if the supplied ldap exception should result in an operation retry.
|
protected Response<Void> |
UnboundIDConnection.saslBind(BindRequest request)
Performs a sasl bind.
|
protected UnboundIDConnection.UnboundIDSearchIterator.SearchResultIterator |
UnboundIDConnection.UnboundIDSearchIterator.search(com.unboundid.ldap.sdk.LDAPConnection conn,
SearchRequest sr)
Executes an ldap search.
|
protected void |
UnboundIDConnection.UnboundIDAsyncSearchListener.search(com.unboundid.ldap.sdk.LDAPConnection conn,
SearchRequest sr)
Executes an ldap search.
|
SearchIterator |
UnboundIDConnection.search(SearchRequest request) |
void |
UnboundIDConnection.searchAsync(SearchRequest request,
SearchListener listener) |
protected Response<Void> |
UnboundIDConnection.simpleBind(BindRequest request)
Performs a simple bind.
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
static Schema |
SchemaFactory.createSchema(ConnectionFactory factory)
Creates a new schema.
|
static Schema |
SchemaFactory.createSchema(ConnectionFactory factory,
String entryDn)
Creates a new schema.
|
protected static LdapEntry |
SchemaFactory.getLdapEntry(ConnectionFactory factory,
String dn,
String filter,
String[] retAttrs)
Searches for the supplied dn and returns its ldap entry.
|
Modifier and Type | Method and Description |
---|---|
void |
ServletSearchExecutor.search(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Reads parameters from the request, performs an ldap search, and writes the result to the response.
|
void |
AbstractServletSearchTemplatesExecutor.search(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
AbstractServletSearchExecutor.search(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
SearchResult |
SearchTemplatesExecutor.search(Query query)
Applies the supplied query to a search templates and aggregates all results into a single search result.
|
protected SearchResult |
SearchTemplatesExecutor.search(SearchFilter[] filters,
String[] returnAttrs,
Integer fromResult,
Integer toResult)
Performs an LDAP search with the supplied filters and aggregates all the search results together.
|
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.