Interface UserRolesProvider
public interface UserRolesProvider
Provider for userroles
-
Method Summary
Modifier and TypeMethodDescriptiongetRoles()
boolean
resolveRoleNames
(Iterable<String> userRoleNames) Resolve the set of userrole names representing and implied by a iterable collection of userrole names.resolveRoleNames
(String userRoleName) Resolve the names of the user roles representing and implied by a role name.resolveRoles
(Iterable<String> userRoleNames) resolveRoles
(String userRoleName)
-
Method Details
-
getRoles
-
hasRole
-
getRole
-
resolveRoles
-
resolveRoles
-
resolveRoleNames
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
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
-