Interface RoleSecuredCheck


public interface RoleSecuredCheck
The handler which is used to see if a Principal can have access to a @BeanRoleSecured.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasRole(String... roles)
    Checks whether the Principal has any one of the roles
  • Method Details

    • hasRole

      boolean hasRole(String... roles)
      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