Package org.keycloak.storage.user
Interface UserBulkUpdateProvider
- All Known Subinterfaces:
UserCache
,UserProvider
- All Known Implementing Classes:
JpaUserProvider
,UserCacheSession
,UserStorageManager
public interface UserBulkUpdateProvider
This is an optional capability interface that is intended to be implemented by any
UserStorageProvider
that supports bulk operations.- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptionvoid
grantToAllUsers
(RealmModel realm, RoleModel role) Grants the given role to all users from particular realm.
-
Method Details
-
grantToAllUsers
Grants the given role to all users from particular realm. The role has to belong to the realm.- Parameters:
realm
- Realmrole
- Role to be granted
-