Interface Utils.MethodRoleMapper
-
- Enclosing class:
- Utils
public static interface Utils.MethodRoleMapperAn interface for classes that map HTTP methods to a user Role.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthUtils.RolefindRole(HttpMethod method)Map the given method 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.
-
-