public class UserModelIdentity extends Object implements Identity
| Modifier and Type | Field and Description |
|---|---|
protected RealmModel |
realm |
protected UserModel |
user |
| Constructor and Description |
|---|
UserModelIdentity(RealmModel realm,
UserModel user) |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
getAttributes() |
String |
getId() |
boolean |
hasClientRole(String clientId,
String roleName) |
boolean |
hasRealmRole(String roleName) |
protected RealmModel realm
protected UserModel user
public UserModelIdentity(RealmModel realm, UserModel user)
public Attributes getAttributes()
getAttributes in interface Identitypublic boolean hasRealmRole(String roleName)
hasRealmRole in interface Identitypublic boolean hasClientRole(String clientId, String roleName)
hasClientRole in interface IdentityCopyright © 2020 JBoss by Red Hat. All rights reserved.