org.keycloak.models

## Interface RoleMapperModel

- All Known Subinterfaces:
    RealmModel
  All Known Implementing Classes:
    RealmAdapter, RealmAdapter

      public interface RoleMapperModel

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `deleteRoleMapping(UserModel user, RoleModel role)`
    `Set<RoleModel>` | `getRoleMappings(UserModel user)`
    `void` | `grantRole(UserModel user, RoleModel role)`
    `boolean` | `hasRole(UserModel user, RoleModel role)`

- - ### Method Detail

    - #### hasRole

          boolean hasRole(UserModel user,
                        RoleModel role)

    - #### grantRole

          void grantRole(UserModel user,
                       RoleModel role)

    - #### getRoleMappings

          Set<RoleModel> getRoleMappings(UserModel user)

    - #### deleteRoleMapping

          void deleteRoleMapping(UserModel user,
                               RoleModel role)

Copyright © 2014. All Rights Reserved.