ModularRealmAuthorizer.hasRoles

Calls {@link #hasRole(hunt.shiro.subject.PrincipalCollection, string)} for each role name in the specified collection and places the return value from each call at the respective location in the returned array.

  1. bool[] hasRoles(PrincipalCollection principals, List!(string) roleIdentifiers)
    class ModularRealmAuthorizer
    bool[]
    hasRoles
  2. bool[] hasRoles(PrincipalCollection principals, string[] roleIdentifiers)

Meta