Ensures this Subject {@link Permission#implies(Permission) implies} the specified {@code Permission}.
<p/>
If this subject's existing associated permissions do not {@link Permission#implies(Permission) imply}
the given permission, an {@link hunt.shiro.authz.AuthorizationException} will be thrown.
@param permission the Permission to check.
@throws hunt.shiro.authz.AuthorizationException
if this Subject does not have the permission.
Ensures this Subject {@link Permission#implies(Permission) implies} the specified {@code Permission}. <p/> If this subject's existing associated permissions do not {@link Permission#implies(Permission) imply} the given permission, an {@link hunt.shiro.authz.AuthorizationException} will be thrown.
@param permission the Permission to check. @throws hunt.shiro.authz.AuthorizationException if this Subject does not have the permission.