/** * This implementation clears out any cached authentication data by calling * {@link #clearCachedAuthenticationInfo(org.apache.shiro.subject.PrincipalCollection)}. * If overriding in a subclass, be sure to call {@code super.doClearCache} to ensure this behavior is maintained. * * @param principals principals the principals of the account for which to clear any cached data. * @since 1.2 */ @Override protected void doClearCache(PrincipalCollection principals) { super.doClearCache(principals); clearCachedAuthenticationInfo(principals); }
/** * Clears out any cached data associated with the specified account identity/identities. * <p/> * This implementation will return quietly if the principals argument is null or empty. Otherwise it delegates * to {@link #doClearCache(org.apache.shiro.subject.PrincipalCollection)}. * * @param principals the principals of the account for which to clear any cached data. * @since 1.2 */ protected void clearCache(PrincipalCollection principals) { if (!isEmpty(principals)) { doClearCache(principals); log.trace("Cleared cache entries for account with principals [{}]", principals); } }
/** * This implementation clears out any cached authentication data by calling * {@link #clearCachedAuthenticationInfo(org.apache.shiro.subject.PrincipalCollection)}. * If overriding in a subclass, be sure to call {@code super.doClearCache} to ensure this behavior is maintained. * * @param principals principals the principals of the account for which to clear any cached data. * @since 1.2 */ @Override protected void doClearCache(PrincipalCollection principals) { super.doClearCache(principals); clearCachedAuthenticationInfo(principals); }
/** * Clears out any cached data associated with the specified account identity/identities. * <p/> * This implementation will return quietly if the principals argument is null or empty. Otherwise it delegates * to {@link #doClearCache(org.apache.shiro.subject.PrincipalCollection)}. * * @param principals the principals of the account for which to clear any cached data. * @since 1.2 */ protected void clearCache(PrincipalCollection principals) { if (!isEmpty(principals)) { doClearCache(principals); log.trace("Cleared cache entries for account with principals [{}]", principals); } }