public class SearchDnResolver extends AbstractSearchDnResolver implements ConnectionFactoryManager
Modifier and Type | Field and Description |
---|---|
private ConnectionFactory |
factory
Connection factory.
|
logger
Constructor and Description |
---|
SearchDnResolver()
Default constructor.
|
SearchDnResolver(ConnectionFactory cf)
Creates a new search dn resolver.
|
Modifier and Type | Method and Description |
---|---|
protected Connection |
getConnection()
Retrieve a connection that is ready for use.
|
ConnectionFactory |
getConnectionFactory()
Returns the connection factory.
|
void |
setConnectionFactory(ConnectionFactory cf)
Sets the connection factory.
|
String |
toString() |
createSearchFilter, createSearchRequest, getAllowMultipleDns, getBaseDn, getDerefAliases, getReferralHandler, getSubtreeSearch, getUserFilter, getUserFilterParameters, performLdapSearch, resolve, resolveDn, setAllowMultipleDns, setBaseDn, setDerefAliases, setReferralHandler, setSubtreeSearch, setUserFilter, setUserFilterParameters
createSearchOperation, getSearchCache, getSearchExceptionHandler, getSearchResponseHandlers, setSearchCache, setSearchExceptionHandler, setSearchResponseHandlers
private ConnectionFactory factory
public SearchDnResolver()
public SearchDnResolver(ConnectionFactory cf)
cf
- connection factorypublic ConnectionFactory getConnectionFactory()
ConnectionFactoryManager
getConnectionFactory
in interface ConnectionFactoryManager
public void setConnectionFactory(ConnectionFactory cf)
ConnectionFactoryManager
setConnectionFactory
in interface ConnectionFactoryManager
cf
- connection factoryprotected Connection getConnection() throws LdapException
AbstractSearchDnResolver
getConnection
in class AbstractSearchDnResolver
LdapException
- if an error occurs opening the connectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.