org.keycloak.models

## Interface RoleMapperModel

- All Known Subinterfaces:
    GroupModel, UserModel
  All Known Implementing Classes:
    AbstractUserAdapter, AbstractUserAdapterFederatedStorage, GroupAdapter, GroupAdapter, GroupAdapter, GroupLDAPFederationMapper.LDAPGroupMappingsUserDelegate, MSADUserAccountControlMapper.MSADUserModelDelegate, ReadOnlyKerberosUserModelDelegate, ReadonlyLDAPUserModelDelegate, RoleLDAPFederationMapper.LDAPRoleMappingsUserDelegate, TxAwareLDAPUserModelDelegate, UnsyncedLDAPUserModelDelegate, UserAdapter, UserAdapter, UserAdapter, UserDataAdapter, UserModelDelegate, WritableLDAPUserModelDelegate

      public interface RoleMapperModel

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `deleteRoleMapping(RoleModel role)`
    `Set<RoleModel>` | `getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | `getRealmRoleMappings()`
    `Set<RoleModel>` | `getRoleMappings()`
    `void` | `grantRole(RoleModel role)`
    `boolean` | `hasRole(RoleModel role)`

- - ### Method Detail

    - #### getRealmRoleMappings

          Set<RoleModel> getRealmRoleMappings()

    - #### getClientRoleMappings

          Set<RoleModel> getClientRoleMappings(ClientModel app)

    - #### hasRole

          boolean hasRole(RoleModel role)

    - #### grantRole

          void grantRole(RoleModel role)

    - #### getRoleMappings

          Set<RoleModel> getRoleMappings()

    - #### deleteRoleMapping

          void deleteRoleMapping(RoleModel role)

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