Ensures the corresponding Subject/user implies the specified permission string.
<p>If the subject's existing associated permissions do not {@link Permission#implies(Permission)} imply}
the given permission, an {@link AuthorizationException} will be thrown.
<p>This is an overloaded method for the corresponding type-safe {@link Permission Permission} variant.
Please see the class-level JavaDoc for more information on these string-based permission methods.
@param subjectPrincipal the application-specific subject/user identifier.
@param permission the string representation of the Permission to check.
@throws AuthorizationException
if the user does not have the permission.
Ensures the corresponding Subject/user implies the specified permission string.
<p>If the subject's existing associated permissions do not {@link Permission#implies(Permission)} imply} the given permission, an {@link AuthorizationException} will be thrown.
<p>This is an overloaded method for the corresponding type-safe {@link Permission Permission} variant. Please see the class-level JavaDoc for more information on these string-based permission methods.
@param subjectPrincipal the application-specific subject/user identifier. @param permission the string representation of the Permission to check. @throws AuthorizationException if the user does not have the permission.