Class UserCacheManager
java.lang.Object
org.keycloak.models.cache.infinispan.CacheManager
org.keycloak.models.cache.infinispan.UserCacheManager
- Author:
- Stian Thorgersen
-
Field Summary
Fields inherited from class org.keycloak.models.cache.infinispan.CacheManager
cache, counter, revisions
-
Constructor Summary
ConstructorDescriptionUserCacheManager
(org.infinispan.Cache<String, Revisioned> cache, org.infinispan.Cache<String, Long> revisions) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addInvalidationsFromEvent
(InvalidationEvent event, Set<String> invalidations) void
clear()
void
consentInvalidation
(String userId, Set<String> invalidations) void
federatedIdentityLinkRemovedInvalidation
(String userId, String realmId, String identityProviderId, String socialUserId, Set<String> invalidations) void
federatedIdentityLinkUpdatedInvalidation
(String userId, Set<String> invalidations) void
fullUserInvalidation
(String userId, String username, String email, String realmId, boolean identityFederationEnabled, Map<String, String> federatedIdentities, Set<String> invalidations) protected org.jboss.logging.Logger
void
invalidateRealmUsers
(String realm, Set<String> invalidations) void
userUpdatedInvalidations
(String userId, String username, String email, String realmId, Set<String> invalidations) Methods inherited from class org.keycloak.models.cache.infinispan.CacheManager
addInvalidations, addRevisioned, addRevisioned, bumpVersion, endRevisionBatch, get, getCache, getCurrentCounter, getCurrentRevision, invalidateObject, invalidationEventReceived, sendInvalidationEvents
-
Constructor Details
-
UserCacheManager
public UserCacheManager(org.infinispan.Cache<String, Revisioned> cache, org.infinispan.Cache<String, Long> revisions)
-
-
Method Details
-
getLogger
protected org.jboss.logging.Logger getLogger()- Specified by:
getLogger
in classCacheManager
-
clear
public void clear()- Overrides:
clear
in classCacheManager
-
userUpdatedInvalidations
-
fullUserInvalidation
-
federatedIdentityLinkUpdatedInvalidation
-
federatedIdentityLinkRemovedInvalidation
-
consentInvalidation
-
addInvalidationsFromEvent
- Specified by:
addInvalidationsFromEvent
in classCacheManager
-
invalidateRealmUsers
-