org.keycloak.storage.federated

## Interface UserRoleMappingsFederatedStorage

- All Known Subinterfaces:
    UserFederatedStorageProvider
  All Known Implementing Classes:
    JpaUserFederatedStorageProvider

      public interface UserRoleMappingsFederatedStorage

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `deleteRoleMapping(RealmModel realm, UserModel user, RoleModel role)`
    `Set<RoleModel>` | `getRoleMappings(RealmModel realm, UserModel user)`
    `void` | `grantRole(RealmModel realm, UserModel user, RoleModel role)`

- - ### Method Detail

    - #### grantRole

          void grantRole(RealmModel realm,
                         UserModel user,
                         RoleModel role)

    - #### getRoleMappings

          Set<RoleModel> getRoleMappings(RealmModel realm,
                                         UserModel user)

    - #### deleteRoleMapping

          void deleteRoleMapping(RealmModel realm,
                                 UserModel user,
                                 RoleModel role)

Copyright © 2016 JBoss by Red Hat. All rights reserved.