ModularRealmAuthorizer.hasAllRoles

Returns <code>true</code> iff any of the configured realms' {@link #hasRole(hunt.shiro.subject.PrincipalCollection, string)} call returns <code>true</code> for <em>all</em> roles specified, <code>false</code> otherwise.

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

Meta