Subject.checkPermissions

Ensures this Subject {@link hunt.shiro.authz.Permission#implies(hunt.shiro.authz.Permission) implies} all of the specified permission strings. <p/> If this subject's existing associated permissions do not {@link hunt.shiro.authz.Permission#implies(hunt.shiro.authz.Permission) imply} all of the given permissions, an {@link hunt.shiro.authz.AuthorizationException} will be thrown.

@param permissions the Permissions to check. @throws AuthorizationException if this Subject does not have all of the given permissions.

  1. void checkPermissions(string[] permissions)
  2. void checkPermissions(Collection!(Permission) permissions)
    interface Subject
    void
    checkPermissions
    (
    Collection!(Permission) permissions
    )

Meta