public class SearchEntryResolver extends AbstractSearchEntryResolver implements ConnectionFactoryManager
Modifier and Type | Field and Description |
---|---|
private ConnectionFactory |
factory
Connection factory.
|
logger
Constructor and Description |
---|
SearchEntryResolver()
Default constructor.
|
SearchEntryResolver(ConnectionFactory cf)
Creates a new search entry resolver.
|
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
getConnectionFactory()
Returns the connection factory.
|
SearchResult |
performLdapSearch(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response)
Executes an ldap search with the supplied authentication criteria.
|
void |
setConnectionFactory(ConnectionFactory 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 ConnectionFactory factory
public SearchEntryResolver()
public SearchEntryResolver(ConnectionFactory cf)
cf
- connection factorypublic ConnectionFactory getConnectionFactory()
ConnectionFactoryManager
getConnectionFactory
in interface ConnectionFactoryManager
public void setConnectionFactory(ConnectionFactory cf)
ConnectionFactoryManager
setConnectionFactory
in interface ConnectionFactoryManager
cf
- connection factorypublic 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.