Ensures a subject/user {@link Permission#implies(Permission)} implies} the specified <tt>Permission</tt>.
If the subject's existing associated permissions do not {@link Permission#implies(Permission)} imply}
the given permission, an {@link AuthorizationException} will be thrown.
@param subjectPrincipal the application-specific subject/user identifier.
@param permission the Permission to check.
@throws AuthorizationException
if the user does not have the permission.
Ensures a subject/user {@link Permission#implies(Permission)} implies} the specified <tt>Permission</tt>. If the subject's existing associated permissions do not {@link Permission#implies(Permission)} imply} the given permission, an {@link AuthorizationException} will be thrown.
@param subjectPrincipal the application-specific subject/user identifier. @param permission the Permission to check. @throws AuthorizationException if the user does not have the permission.