Interface UserRoleMappingsFederatedStorage

All Known Subinterfaces:
UserFederatedStorageProvider, UserFederatedStorageProvider.Streams, UserRoleMappingsFederatedStorage.Streams
All Known Implementing Classes:
JpaUserFederatedStorageProvider

public interface UserRoleMappingsFederatedStorage
Version:
$Revision: 1 $
Author:
Bill Burke
  • Method Details

    • grantRole

      void grantRole(RealmModel realm, String userId, RoleModel role)
    • getRoleMappingsStream

      Stream<RoleModel> getRoleMappingsStream(RealmModel realm, String userId)
      Obtains the roles associated with the federated user identified by userId.
      Parameters:
      realm - a reference to the realm.
      userId - the user identifier.
      Returns:
      a non-null Stream of roles.
    • deleteRoleMapping

      void deleteRoleMapping(RealmModel realm, String userId, RoleModel role)