Package org.keycloak.models.cache
Interface UserCache
- All Superinterfaces:
Provider
,UserBulkUpdateProvider
,UserCountMethodsProvider
,UserLookupProvider
,UserProvider
,UserQueryMethodsProvider
,UserQueryProvider
,UserRegistrationProvider
- All Known Implementing Classes:
UserCacheSession
All these methods effect an entire cluster of Keycloak instances.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear cache entirely.void
evict
(RealmModel realm) Evict users of a specific realmvoid
evict
(RealmModel realm, UserModel user) Evict user from cache.Methods inherited from interface org.keycloak.storage.user.UserBulkUpdateProvider
grantToAllUsers
Methods inherited from interface org.keycloak.storage.user.UserCountMethodsProvider
getUsersCount, getUsersCount, getUsersCount, getUsersCount, getUsersCount, getUsersCount, getUsersCount
Methods inherited from interface org.keycloak.storage.user.UserLookupProvider
getUserByCredential, getUserByEmail, getUserById, getUserByUsername
Methods inherited from interface org.keycloak.models.UserProvider
addConsent, addFederatedIdentity, addUser, getConsentByClient, getConsentsStream, getFederatedIdentitiesStream, getFederatedIdentity, getNotBeforeOfUser, getServiceAccount, getUserByFederatedIdentity, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove, removeFederatedIdentity, removeImportedUsers, revokeConsentForClient, setNotBeforeForUser, unlinkUsers, updateConsent, updateFederatedIdentity
Methods inherited from interface org.keycloak.storage.user.UserQueryMethodsProvider
getGroupMembersStream, getGroupMembersStream, getRoleMembersStream, getRoleMembersStream, searchForUserByUserAttributeStream, searchForUserStream, searchForUserStream, searchForUserStream, searchForUserStream
Methods inherited from interface org.keycloak.storage.user.UserRegistrationProvider
addUser, removeUser
-
Method Details
-
evict
Evict user from cache.- Parameters:
user
-
-
evict
Evict users of a specific realm- Parameters:
realm
-
-
clear
void clear()Clear cache entirely.
-