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 Identity
public boolean hasRealmRole(String roleName)
hasRealmRole
in interface Identity
public boolean hasClientRole(String clientId, String roleName)
hasClientRole
in interface Identity
Copyright © 2021 JBoss by Red Hat. All rights reserved.