Class UserCacheManager
- java.lang.Object
-
- org.keycloak.models.cache.infinispan.CacheManager
-
- org.keycloak.models.cache.infinispan.UserCacheManager
-
public class UserCacheManager extends CacheManager
- Author:
- Stian Thorgersen
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
enabled
-
Fields inherited from class org.keycloak.models.cache.infinispan.CacheManager
cache, counter, revisions
-
-
Constructor Summary
Constructors Constructor Description UserCacheManager(org.infinispan.Cache<String,Revisioned> cache, org.infinispan.Cache<String,Long> revisions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
getLogger()
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 Detail
-
UserCacheManager
public UserCacheManager(org.infinispan.Cache<String,Revisioned> cache, org.infinispan.Cache<String,Long> revisions)
-
-
Method Detail
-
getLogger
protected org.jboss.logging.Logger getLogger()
- Specified by:
getLogger
in classCacheManager
-
clear
public void clear()
- Overrides:
clear
in classCacheManager
-
userUpdatedInvalidations
public void userUpdatedInvalidations(String userId, String username, String email, String realmId, Set<String> invalidations)
-
fullUserInvalidation
public void fullUserInvalidation(String userId, String username, String email, String realmId, boolean identityFederationEnabled, Map<String,String> federatedIdentities, Set<String> invalidations)
-
federatedIdentityLinkUpdatedInvalidation
public void federatedIdentityLinkUpdatedInvalidation(String userId, Set<String> invalidations)
-
federatedIdentityLinkRemovedInvalidation
public void federatedIdentityLinkRemovedInvalidation(String userId, String realmId, String identityProviderId, String socialUserId, Set<String> invalidations)
-
addInvalidationsFromEvent
protected void addInvalidationsFromEvent(InvalidationEvent event, Set<String> invalidations)
- Specified by:
addInvalidationsFromEvent
in classCacheManager
-
-