Interface Utils.MethodRoleMapper

  • Enclosing class:
    Utils

    public static interface Utils.MethodRoleMapper
    An interface for classes that map HTTP methods to a user Role.
    • Method Detail

      • findRole

        AuthUtils.Role findRole​(HttpMethod method)
        Map the given method to a user Role.
        Parameters:
        method - The method to map.
        Returns:
        the Role the user must have to execute the method.