public class SearchRoleResolver extends AbstractSearchRoleResolver implements ConnectionFactoryManager
Modifier and Type | Field and Description |
---|---|
private ConnectionFactory |
factory
Connection factory.
|
logger
Constructor and Description |
---|
SearchRoleResolver()
Default constructor.
|
SearchRoleResolver(ConnectionFactory cf)
Creates a new role 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() |
search
createSearchOperation, getSearchCache, getSearchExceptionHandler, getSearchResponseHandlers, setSearchCache, setSearchExceptionHandler, setSearchResponseHandlers
private ConnectionFactory factory
public SearchRoleResolver()
public SearchRoleResolver(ConnectionFactory cf)
cf
- connection factorypublic ConnectionFactory getConnectionFactory()
getConnectionFactory
in interface ConnectionFactoryManager
public void setConnectionFactory(ConnectionFactory cf)
setConnectionFactory
in interface ConnectionFactoryManager
cf
- connection factoryprotected Connection getConnection() throws LdapException
getConnection
in class AbstractSearchRoleResolver
LdapException
- if an error occurs opening the connectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.