Class UserModelIdentity
java.lang.Object
org.keycloak.authorization.common.UserModelIdentity
- All Implemented Interfaces:
Identity
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
boolean
hasClientRole
(String clientId, String roleName) boolean
hasOneClientRole
(String clientId, String... roleNames) boolean
hasRealmRole
(String roleName)
-
Field Details
-
realm
-
user
-
-
Constructor Details
-
UserModelIdentity
-
-
Method Details
-
getId
-
getAttributes
- Specified by:
getAttributes
in interfaceIdentity
-
hasRealmRole
- Specified by:
hasRealmRole
in interfaceIdentity
-
hasOneClientRole
- Specified by:
hasOneClientRole
in interfaceIdentity
-
hasClientRole
- Specified by:
hasClientRole
in interfaceIdentity
-