Package org.ldaptive.jaas
Interface RoleResolver
-
- All Known Implementing Classes:
SearchRoleResolver
public interface RoleResolver
Looks up a user's roles using an LDAP search.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<LdapRole>
search(SearchRequest request)
Executes a search request and converts any attributes to ldap roles.
-
-
-
Method Detail
-
search
Set<LdapRole> search(SearchRequest request) throws LdapException
Executes a search request and converts any attributes to ldap roles.- Parameters:
request
- to execute- Returns:
- ldap roles
- Throws:
LdapException
- if the ldap operation fails
-
-