- All Superinterfaces:
- All Known Implementing Classes:
public interface UserStorageProvider extends Provider
A class implementing this interface represents a user storage provider to Keycloak. This interface contains only very basic methods for manipulating users. However, the storage provider capabilities are extended by implementing one or more of the following capability interfaces:
UserLookupProvider- Provide basic lookup methods. After implementing it is possible to login using users from the storage.
UserQueryMethodsProvider- Provide complex lookup methods. After implementing it is possible to manage users from admin console.
UserCountMethodsProvider- Provide complex count methods. After implementing it is possible to leverage optimizations during querying for users.
UserQueryProvider- This interface is combined capability of
UserRegistrationProvider- Provide methods for adding users. After implementing it is possible to store registered users in the storage.
UserBulkUpdateProvider- After implementing it is possible to perform bulk operations on all users from storage (for example, addition of a role to all users).
ImportedUserValidation- Provider method for validating users within Keycloak local storage that are imported from the storage.
ImportSynchronization- Provider methods for synchronization of the storage with Keycloak local storage. After implementing it is possible to sync users in the Admin console.
- $Revision: 1 $
- Bill Burke
Nested Class SummaryModifier and TypeInterfaceDescription
static enumOptional type that can be used by implementations to describe edit mode of user storage
preRemovedefault void preRemove
(RealmModel realm)Callback when a realm is removed. Implement this if, for example, you want to do some cleanup in your user storage when a realm is removed
preRemoveCallback when a group is removed. Allows you to do things like remove a user group mapping in your external store if appropriate
preRemoveCallback when a role is removed. Allows you to do things like remove a user role mapping in your external store if appropriate