Clears out the AuthenticationInfo 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 authentication data (e.g. reset password) during runtime. Because an account's
AuthenticationInfo can be cached, there needs to be a way to invalidate the cache for only that account so that
subsequent authentication operations don't used the (old) cached value if account data changes.
<p/>
After this method is called, the next authentication for that same account will result in a call to
{@link #doGetAuthenticationInfo(hunt.shiro.authc.AuthenticationToken) doGetAuthenticationInfo}, and the
resulting return value will be cached before being returned so it can be reused for later authentications.
<p/>
If you wish to clear out all associated cached data (and not just authentication 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.
@see #clearCache(hunt.shiro.subject.PrincipalCollection)
Clears out the AuthenticationInfo 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 authentication data (e.g. reset password) during runtime. Because an account's AuthenticationInfo can be cached, there needs to be a way to invalidate the cache for only that account so that subsequent authentication operations don't used the (old) cached value if account data changes. <p/> After this method is called, the next authentication for that same account will result in a call to {@link #doGetAuthenticationInfo(hunt.shiro.authc.AuthenticationToken) doGetAuthenticationInfo}, and the resulting return value will be cached before being returned so it can be reused for later authentications. <p/> If you wish to clear out all associated cached data (and not just authentication 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. @see #clearCache(hunt.shiro.subject.PrincipalCollection)