Package org.keycloak.storage.user
Interface UserBulkUpdateProvider
-
- All Known Subinterfaces:
UserCache
,UserCache.Streams
,UserProvider
,UserProvider.Streams
- All Known Implementing Classes:
JpaUserProvider
,MapUserProvider
,UserCacheSession
,UserStorageManager
public interface UserBulkUpdateProvider
This is an optional capability interface that is intended to be implemented by anyUserStorageProvider
that supports bulk operations.- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
grantToAllUsers(RealmModel realm, RoleModel role)
Grants the given role to all users from particular realm.
-
-
-
Method Detail
-
grantToAllUsers
void grantToAllUsers(RealmModel realm, RoleModel role)
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
-
-