Package org.opencastproject.security.api
Interface RoleDirectoryService
- All Known Implementing Classes:
UserAndRoleDirectoryServiceImpl
public interface RoleDirectoryService
A marker interface for the federation of all
RoleProviders.-
Method Summary
Modifier and TypeMethodDescriptionfindRoles(String query, Role.Target target, int offset, int limit) Return the found roles as a list.
-
Method Details
-
findRoles
Return the found roles as a list.- Parameters:
query- the query. Use the wildcards "_" to match any single character and "%" to match an arbitrary number of characters (including zero characters).offset- the offset.limit- the limit. 0 means no limit- Returns:
- a list of roles
- Throws:
IllegalArgumentException- if the query isnull
-