public void clearCacheEntry(CacheKey key) { String keyValue = ((AuthorizationGrantCacheKey) key).getUserAttributesId(); super.clearCacheEntry(keyValue); SessionDataStore.getInstance().clearSessionData(keyValue, AUTHORIZATION_GRANT_CACHE_NAME); if (enableRequestScopeCache) { SessionDataStore.getInstance().clearSessionData(keyValue, AUTHORIZATION_GRANT_CACHE_NAME); } }
public void clearCacheEntryByCode(AuthorizationGrantCacheKey key) { super.clearCacheEntry(key); clearFromSessionStore(replaceFromCodeId(key.getUserAttributesId())); }