Modifier and Type | Class and Description |
---|---|
class |
SearchExecutor
Helper class which encapsulates the try, finally idiom used to execute a
SearchOperation . |
Modifier and Type | Field and Description |
---|---|
private Cache<SearchRequest> |
SearchOperation.cache
Cache to use when performing searches.
|
private Cache<SearchRequest> |
SearchExecutor.searchCache
Cache to use when performing searches.
|
private OperationExceptionHandler<SearchRequest,SearchResult> |
SearchExecutor.searchExceptionHandler
Handler to handle search exceptions.
|
Modifier and Type | Method and Description |
---|---|
static SearchRequest |
SearchRequest.newObjectScopeSearchRequest(String dn)
Returns a search request initialized for use with an object level search scope.
|
static SearchRequest |
SearchRequest.newObjectScopeSearchRequest(String dn,
String[] attrs)
Returns a search request initialized for use with an object level search scope.
|
static SearchRequest |
SearchRequest.newObjectScopeSearchRequest(String dn,
String[] attrs,
SearchFilter filter)
Returns a search request initialized for use with an object level search scope.
|
protected static SearchRequest |
SearchRequest.newSearchRequest(SearchRequest request)
Returns a search request initialized with the supplied request.
|
Modifier and Type | Method and Description |
---|---|
Cache<SearchRequest> |
SearchOperation.getCache()
Returns the cache to check when performing search operations.
|
Cache<SearchRequest> |
SearchExecutor.getSearchCache()
Returns the search cache.
|
OperationExceptionHandler<SearchRequest,SearchResult> |
SearchExecutor.getSearchExceptionHandler()
Returns the search exception handler.
|
Modifier and Type | Method and Description |
---|---|
protected Response<SearchResult> |
SearchOperation.executeSearch(SearchRequest request)
Performs the ldap search.
|
protected Response<SearchResult> |
SearchOperation.invoke(SearchRequest request) |
protected static SearchRequest |
SearchRequest.newSearchRequest(SearchRequest request)
Returns a search request initialized with the supplied request.
|
protected SearchResult |
SearchOperation.readResult(SearchRequest request,
SearchIterator si)
Invokes the provider search operation and iterates over the results.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchOperation.setCache(Cache<SearchRequest> c)
Sets the cache.
|
void |
SearchExecutor.setSearchCache(Cache<SearchRequest> cache)
Sets the search cache.
|
void |
SearchExecutor.setSearchExceptionHandler(OperationExceptionHandler<SearchRequest,SearchResult> handler)
Sets the search exception handler.
|
Constructor and Description |
---|
SearchOperation(Connection conn,
Cache<SearchRequest> c)
Creates a new search 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) |
void |
AbstractBinaryAttributeHandler.initializeRequest(SearchRequest request) |
Modifier and Type | Field and Description |
---|---|
private SearchRequest |
AsyncSearchOperation.AsyncSearchListener.searchRequest
Containing request handlers.
|
Modifier and Type | Method and Description |
---|---|
FutureResponse<SearchResult> |
AsyncSearchOperation.execute(SearchRequest request) |
protected Response<SearchResult> |
AsyncSearchOperation.invoke(SearchRequest request) |
Constructor and Description |
---|
AsyncSearchListener(SearchRequest request)
Creates a new async search listener.
|
Modifier and Type | Field and Description |
---|---|
private Cache<SearchRequest> |
AbstractSearchOperationFactory.searchCache
Cache to use when performing searches.
|
private OperationExceptionHandler<SearchRequest,SearchResult> |
AbstractSearchOperationFactory.searchExceptionHandler
Handler to handle search exceptions.
|
Modifier and Type | Method and Description |
---|---|
protected SearchRequest |
AbstractSearchEntryResolver.createSearchRequest(AuthenticationCriteria ac)
Returns a search request for the supplied authentication criteria.
|
protected SearchRequest |
WhoAmIEntryResolver.createSearchRequest(AuthenticationCriteria ac,
String dn)
Returns a search request for an object level search for the supplied DN.
|
protected SearchRequest |
AuthorizationIdentityEntryResolver.createSearchRequest(AuthenticationCriteria ac,
String dn)
Returns a search request for an object level search for the supplied DN.
|
protected SearchRequest |
AbstractSearchDnResolver.createSearchRequest(SearchFilter filter)
Returns a search request for searching for a single entry in an LDAP, returning no attributes.
|
Modifier and Type | Method and Description |
---|---|
Cache<SearchRequest> |
AbstractSearchOperationFactory.getSearchCache()
Returns the search cache.
|
OperationExceptionHandler<SearchRequest,SearchResult> |
AbstractSearchOperationFactory.getSearchExceptionHandler()
Returns the search exception handler.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractSearchOperationFactory.setSearchCache(Cache<SearchRequest> cache)
Sets the search cache.
|
void |
AbstractSearchOperationFactory.setSearchExceptionHandler(OperationExceptionHandler<SearchRequest,SearchResult> handler)
Sets the search exception handler.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Cache<Q extends SearchRequest>
Interface for cache implementations.
|
class |
LRUCache<Q extends SearchRequest>
Least-Recently-Used cache implementation.
|
Modifier and Type | Method and Description |
---|---|
protected SearchRequest |
SearchOperationCli.initSearchRequest(org.apache.commons.cli.CommandLine line)
Initialize a search request with command line options.
|
Modifier and Type | Method and Description |
---|---|
protected int |
SearchOperationCli.search(ConnectionFactory cf,
SearchRequest request)
Executes the ldap search operation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAggregateSearchExecutor<T extends ConnectionFactory>
Base class for aggregate search executors.
|
class |
AbstractParallelSearchExecutor<T extends ConnectionFactory>
Base class for parallel search executors.
|
class |
AbstractSearchExecutor
Base class for concurrent search executors.
|
class |
AggregatePooledSearchExecutor
Executes a list of search filters in parallel over a list of connection factories, each search is performed on a
separate connection in the pool.
|
class |
AggregateSearchExecutor
Executes a list of search filters in parallel over a list of connection factories.
|
class |
ParallelPooledSearchExecutor
Executes a list of search filters in parallel, each search is performed on a separate connection in the pool.
|
class |
ParallelSearchExecutor
Executes a list of search filters in parallel.
|
class |
QueueingSearchExecutor
Executes a search filter and places the results of the operation on a blocking queue.
|
Modifier and Type | Field and Description |
---|---|
private Cache<SearchRequest> |
AbstractSearchExecutor.searchCache
Cache to use when performing searches.
|
private OperationExceptionHandler<SearchRequest,SearchResult> |
AbstractSearchExecutor.searchExceptionHandler
Handler to handle search exceptions.
|
Modifier and Type | Method and Description |
---|---|
Cache<SearchRequest> |
AbstractSearchExecutor.getSearchCache()
Returns the search cache.
|
OperationExceptionHandler<SearchRequest,SearchResult> |
AbstractSearchExecutor.getSearchExceptionHandler()
Returns the search exception handler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueueingSearchExecutor.configureSearchRequest(SearchRequest request,
BlockingQueue<QueueingSearchExecutor.SearchItem> queue)
Sets the appropriate handlers on the supplied search request so that entries, references, and intermediate
responses are made available on the supplied queue.
|
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. |
HandlerResult<SearchEntry> |
QueueingSearchExecutor.SearchEntryHandler.handle(Connection conn,
SearchRequest request,
SearchEntry entry) |
HandlerResult<SearchReference> |
QueueingSearchExecutor.SearchReferenceHandler.handle(Connection conn,
SearchRequest request,
SearchReference reference) |
void |
QueueingSearchExecutor.SearchEntryHandler.initializeRequest(SearchRequest request) |
void |
QueueingSearchExecutor.SearchReferenceHandler.initializeRequest(SearchRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSearchExecutor.setSearchCache(Cache<SearchRequest> cache)
Sets the search cache.
|
void |
AbstractSearchExecutor.setSearchExceptionHandler(OperationExceptionHandler<SearchRequest,SearchResult> handler)
Sets the search exception handler.
|
Modifier and Type | Method and Description |
---|---|
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) |
void |
SearchEntryHandler.initializeRequest(SearchRequest request)
Initialize the search request for use with this entry handler.
|
void |
SearchReferenceHandler.initializeRequest(SearchRequest request)
Initialize the search request for use with this reference handler.
|
void |
AbstractSearchEntryHandler.initializeRequest(SearchRequest request) |
Modifier and Type | Field and Description |
---|---|
private SearchRequest |
LdapRoleAuthorizationModule.searchRequest
Search request to use for roles.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
RoleResolverFactory.createSearchRequest(Map<String,?> jaasOptions)
Creates a new search request with the supplied JAAS options.
|
SearchRequest |
PropertiesRoleResolverFactory.createSearchRequest(Map<String,?> jaasOptions) |
Modifier and Type | Method and Description |
---|---|
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 | Field and Description |
---|---|
private SearchRequest |
SearchValidator.searchRequest
Search request to perform validation with.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
SearchValidator.getSearchRequest()
Returns the search request.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchValidator.setSearchRequest(SearchRequest sr)
Sets the search request.
|
Constructor and Description |
---|
SearchValidator(SearchRequest sr)
Creates a new search validator.
|
Constructor and Description |
---|
SearchRequestPropertySource(SearchRequest request)
Creates a new search request property source using the default properties file.
|
SearchRequestPropertySource(SearchRequest request,
Properties props)
Creates a new search request property source.
|
SearchRequestPropertySource(SearchRequest request,
PropertySource.PropertyDomain domain,
Properties props)
Creates a new search request property source.
|
SearchRequestPropertySource(SearchRequest request,
Reader... readers)
Creates a new search request property source.
|
SearchRequestPropertySource(SearchRequest request,
String... paths)
Creates a new search request property source.
|
Modifier and Type | Method and Description |
---|---|
SearchIterator |
ProviderConnection.search(SearchRequest request)
Search the ldap.
|
void |
ProviderConnection.searchAsync(SearchRequest request,
SearchListener listener)
Search the ldap asynchronously.
|
Modifier and Type | Field and Description |
---|---|
protected SearchRequest |
ApacheLdapConnection.AbstractApacheLdapSearch.request
Search request.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.directory.api.ldap.model.message.SearchRequest |
ApacheLdapConnection.AbstractApacheLdapSearch.getSearchRequest(SearchRequest sr)
Returns an apache ldap search request object configured with the supplied search request.
|
protected org.apache.directory.api.ldap.model.cursor.SearchCursor |
ApacheLdapConnection.AbstractApacheLdapSearch.search(org.apache.directory.ldap.client.api.LdapNetworkConnection conn,
SearchRequest sr)
Executes an ldap search.
|
SearchIterator |
ApacheLdapConnection.search(SearchRequest request) |
void |
ApacheLdapConnection.searchAsync(SearchRequest request,
SearchListener listener) |
Constructor and Description |
---|
AbstractApacheLdapSearch(SearchRequest sr)
Creates a new abstract apache ldap search.
|
ApacheLdapSearchIterator(SearchRequest sr)
Creates a new apache ldap search iterator.
|
ApacheLdapSearchListener(SearchRequest sr,
SearchListener sl)
Creates a new apache ldap search listener.
|
Modifier and Type | Field and Description |
---|---|
protected SearchRequest |
JLdapConnection.AbstractJLdapSearch.request
Search request.
|
Modifier and Type | Method and Description |
---|---|
protected com.novell.ldap.LDAPSearchConstraints |
JLdapConnection.AbstractJLdapSearch.getLDAPSearchConstraints(SearchRequest sr)
Returns an ldap search constraints object configured with the supplied search request.
|
protected com.novell.ldap.LDAPSearchQueue |
JLdapConnection.JLdapAsyncSearchListener.search(com.novell.ldap.LDAPConnection conn,
SearchRequest sr)
Executes an ldap search.
|
protected com.novell.ldap.LDAPSearchQueue |
JLdapConnection.AbstractJLdapSearch.search(com.novell.ldap.LDAPConnection conn,
SearchRequest sr)
Executes an ldap search.
|
SearchIterator |
JLdapConnection.search(SearchRequest request) |
void |
JLdapConnection.searchAsync(SearchRequest request,
SearchListener listener) |
Constructor and Description |
---|
AbstractJLdapSearch(SearchRequest sr)
Creates a new abstract jldap search.
|
JLdapAsyncSearchListener(SearchRequest sr,
SearchListener sl)
Creates a new jldap async search listener.
|
JLdapSearchIterator(SearchRequest sr)
Creates a new jldap search iterator.
|
Modifier and Type | Field and Description |
---|---|
private SearchRequest |
JndiConnection.JndiSearchIterator.request
Search request.
|
Modifier and Type | Method and Description |
---|---|
protected SearchControls |
JndiConnection.JndiSearchIterator.getSearchControls(SearchRequest sr)
Returns a search controls object configured with the supplied search request.
|
protected String |
JndiConnection.JndiSearchIterator.getSearchDn(LdapContext ctx,
SearchRequest sr)
Determines the DN of the supplied search request.
|
protected void |
JndiConnection.JndiSearchIterator.initializeSearchContext(LdapContext ctx,
SearchRequest sr)
Adds any additional environment properties found in the supplied request to the supplied context.
|
protected NamingEnumeration<SearchResult> |
JndiConnection.JndiSearchIterator.search(LdapContext ctx,
SearchRequest sr)
|
SearchIterator |
JndiConnection.search(SearchRequest request) |
void |
JndiConnection.searchAsync(SearchRequest request,
SearchListener listener) |
Constructor and Description |
---|
JndiSearchIterator(SearchRequest sr)
Creates a new jndi search iterator.
|
Modifier and Type | Field and Description |
---|---|
protected SearchRequest |
OpenDJConnection.AbstractOpenDJSearch.request
Search request.
|
Modifier and Type | Method and Description |
---|---|
protected org.forgerock.opendj.ldap.requests.SearchRequest |
OpenDJConnection.AbstractOpenDJSearch.getSearchRequest(SearchRequest sr)
Returns an opendj search request object configured with the supplied search request.
|
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) |
Constructor and Description |
---|
AbstractOpenDJSearch(SearchRequest sr)
Creates a new abstract opendj search.
|
OpenDJAsyncSearchListener(SearchRequest sr,
SearchListener sl)
Creates a new opendj async search listener.
|
OpenDJSearchIterator(SearchRequest sr)
Creates a new opendj search iterator.
|
Modifier and Type | Field and Description |
---|---|
protected SearchRequest |
UnboundIDConnection.AbstractUnboundIDSearch.request
Search request.
|
Modifier and Type | Method and Description |
---|---|
protected com.unboundid.ldap.sdk.SearchRequest |
UnboundIDConnection.AbstractUnboundIDSearch.getSearchRequest(SearchRequest sr,
com.unboundid.ldap.sdk.SearchResultListener srListener,
com.unboundid.ldap.sdk.IntermediateResponseListener irListener)
Returns an unbound id search request object configured with the supplied search request.
|
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) |
Constructor and Description |
---|
AbstractUnboundIDSearch(SearchRequest sr)
Creates a new abstract unbound id search.
|
UnboundIDAsyncSearchListener(SearchRequest sr,
SearchListener sl)
Creates a new unbound id search listener.
|
UnboundIDSearchIterator(SearchRequest sr)
Creates a new unbound id search iterator.
|
Modifier and Type | Method and Description |
---|---|
protected SearchRequest |
SearchReferralHandler.createReferralRequest(SearchRequest request,
LdapURL url) |
Modifier and Type | Method and Description |
---|---|
protected Operation<SearchRequest,SearchResult> |
SearchReferralHandler.createReferralOperation(Connection conn) |
Modifier and Type | Method and Description |
---|---|
protected SearchRequest |
SearchReferralHandler.createReferralRequest(SearchRequest request,
LdapURL url) |
HandlerResult<SearchReference> |
SearchReferralHandler.SearchReferenceHandler.handle(Connection conn,
SearchRequest request,
SearchReference reference) |
void |
SearchReferralHandler.initializeRequest(SearchRequest request) |
void |
SearchReferralHandler.SearchReferenceHandler.initializeRequest(SearchRequest request) |
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.