Interface UserRolesProvider


public interface UserRolesProvider
Provider for userroles
  • Method Details

    • getRoles

      Set<UserRole> getRoles()
    • hasRole

      boolean hasRole(String userRoleName)
    • getRole

      UserRole getRole(String userRoleName)
    • resolveRoles

      Set<UserRole> resolveRoles(String userRoleName)
    • resolveRoles

      Set<UserRole> resolveRoles(Iterable<String> userRoleNames)
    • 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