Interface UserRolesProvider
-
public interface UserRolesProvider
Provider for userroles
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserRole
getRole(String userRoleName)
Set<UserRole>
getRoles()
boolean
hasRole(String userRoleName)
Set<String>
resolveRoleNames(Iterable<String> userRoleNames)
Resolve the set of userrole names representing and implied by a iterable collection of userrole names.Set<String>
resolveRoleNames(String userRoleName)
Resolve the names of the user roles representing and implied by a role name.Set<UserRole>
resolveRoles(Iterable<String> userRoleNames)
Set<UserRole>
resolveRoles(String userRoleName)
-
-
-
Method Detail
-
hasRole
boolean hasRole(String userRoleName)
-
resolveRoleNames
Set<String> resolveRoleNames(String userRoleName)
Resolve the names of the user roles representing and implied by a role name.- Parameters:
userRoleName
- userrole name- Returns:
- the set of resolved userrole names, empty if none found
-
resolveRoleNames
Set<String> resolveRoleNames(Iterable<String> userRoleNames)
Resolve the set of userrole names representing and implied by a iterable collection of userrole names.- Parameters:
userRoleNames
- iterable collection of userrole names- Returns:
- the set of resolved userrole names, empty if none found
-
-