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 Type
    Method
    Description
    void
    Grants the given role to all users from particular realm.
  • Method Details

    • 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 - Realm
      role - Role to be granted