Clears out the AuthorizationInfo cache entry for the specified account.
<p/>
This method is provided as a convenience to subclasses so they can invalidate a cache entry when they
change an account's authorization data (add/remove roles or permissions) during runtime. Because an account's
AuthorizationInfo can be cached, there needs to be a way to invalidate the cache for only that account so that
subsequent authorization operations don't used the (old) cached value if account data changes.
<p/>
After this method is called, the next authorization check for that same account will result in a call to
{@link #getAuthorizationInfo(hunt.shiro.subject.PrincipalCollection) getAuthorizationInfo}, and the
resulting return value will be cached before being returned so it can be reused for later authorization checks.
<p/>
If you wish to clear out all associated cached data (and not just authorization data), use the
{@link #clearCache(hunt.shiro.subject.PrincipalCollection)} method instead (which will in turn call this
method by default).
@param principals the principals of the account for which to clear the cached AuthorizationInfo.
Clears out the AuthorizationInfo cache entry for the specified account. <p/> This method is provided as a convenience to subclasses so they can invalidate a cache entry when they change an account's authorization data (add/remove roles or permissions) during runtime. Because an account's AuthorizationInfo can be cached, there needs to be a way to invalidate the cache for only that account so that subsequent authorization operations don't used the (old) cached value if account data changes. <p/> After this method is called, the next authorization check for that same account will result in a call to {@link #getAuthorizationInfo(hunt.shiro.subject.PrincipalCollection) getAuthorizationInfo}, and the resulting return value will be cached before being returned so it can be reused for later authorization checks. <p/> If you wish to clear out all associated cached data (and not just authorization data), use the {@link #clearCache(hunt.shiro.subject.PrincipalCollection)} method instead (which will in turn call this method by default).
@param principals the principals of the account for which to clear the cached AuthorizationInfo.