public interface RoleMapperModel
| 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)
Grants the given role to this object.
|
boolean |
hasRole(RoleModel role)
Returns
true if this object is directly or indirectly assigned the given role, false otherwise. |
Set<RoleModel> getClientRoleMappings(ClientModel app)
boolean hasRole(RoleModel role)
true if this object is directly or indirectly assigned the given role, false otherwise.
For example, true is returned for hasRole(R) if:
role - void grantRole(RoleModel role)
role - void deleteRoleMapping(RoleModel role)
Copyright © 2016 JBoss by Red Hat. All rights reserved.