public class PooledSearchEntryResolver extends AbstractSearchEntryResolver implements PooledConnectionFactoryManager
Modifier and Type | Field and Description |
---|---|
private PooledConnectionFactory |
factory
Connection factory.
|
logger
Constructor and Description |
---|
PooledSearchEntryResolver()
Default constructor.
|
PooledSearchEntryResolver(PooledConnectionFactory cf)
Creates a new pooled search entry resolver.
|
Modifier and Type | Method and Description |
---|---|
PooledConnectionFactory |
getConnectionFactory()
Returns the connection factory.
|
protected SearchResult |
performLdapSearch(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response)
Executes an ldap search with the supplied authentication criteria.
|
void |
setConnectionFactory(PooledConnectionFactory cf)
Sets the connection factory.
|
String |
toString() |
createSearchFilter, createSearchRequest, getAllowMultipleEntries, getBaseDn, getDerefAliases, getReferralHandler, getSearchEntryHandlers, getSubtreeSearch, getUserFilter, getUserFilterParameters, resolve, setAllowMultipleEntries, setBaseDn, setDerefAliases, setReferralHandler, setSearchEntryHandlers, setSubtreeSearch, setUserFilter, setUserFilterParameters
createSearchOperation, getSearchCache, getSearchExceptionHandler, getSearchResponseHandlers, setSearchCache, setSearchExceptionHandler, setSearchResponseHandlers
private PooledConnectionFactory factory
public PooledSearchEntryResolver()
public PooledSearchEntryResolver(PooledConnectionFactory cf)
cf
- connection factorypublic PooledConnectionFactory getConnectionFactory()
PooledConnectionFactoryManager
getConnectionFactory
in interface PooledConnectionFactoryManager
public void setConnectionFactory(PooledConnectionFactory cf)
PooledConnectionFactoryManager
setConnectionFactory
in interface PooledConnectionFactoryManager
cf
- connection factoryprotected SearchResult performLdapSearch(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) throws LdapException
AbstractSearchEntryResolver
performLdapSearch
in class AbstractSearchEntryResolver
criteria
- authentication criteria associated with the userresponse
- response from the authentication eventLdapException
- if an error occurs attempting the searchCopyright © 2003-2019 Virginia Tech. All Rights Reserved.