Package io.beanmapper.config
Interface RoleSecuredCheck
public interface RoleSecuredCheck
The handler which is used to see if a Principal can have access to a @BeanRoleSecured.
-
Method Summary
-
Method Details
-
hasRole
Checks whether the Principal has any one of the roles- Parameters:
roles
- roles of which the Principal must have at least one- Returns:
- true if at least one role matches, false if not
-