public abstract class AbstractSearchRoleResolver extends AbstractSearchOperationFactory implements RoleResolver
logger
Constructor and Description |
---|
AbstractSearchRoleResolver() |
Modifier and Type | Method and Description |
---|---|
protected abstract Connection |
getConnection()
Retrieve a connection that is ready for use.
|
Set<LdapRole> |
search(SearchRequest request)
Executes a search request and converts any attributes to ldap roles.
|
createSearchOperation, getSearchCache, getSearchExceptionHandler, getSearchResponseHandlers, setSearchCache, setSearchExceptionHandler, setSearchResponseHandlers
public Set<LdapRole> search(SearchRequest request) throws LdapException
RoleResolver
search
in interface RoleResolver
request
- to executeLdapException
- if the ldap operation failsprotected abstract Connection getConnection() throws LdapException
LdapException
- if an error occurs opening the connectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.