Interface Utils.MethodRoleMapper
- Enclosing class:
Utils
public static interface Utils.MethodRoleMapper
An interface for classes that map HTTP methods to a user Role.
-
Method Summary
Modifier and TypeMethodDescriptionfindRole(HttpMethod method) Map the given method to a user Role.
-
Method Details
-
findRole
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.
-