Interface UserRolesProvider


  • public interface UserRolesProvider
    Provider for userroles
    • 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