public interface UserIdentity
Modifier and Type | Interface and Description |
---|---|
static interface |
UserIdentity.Scope
A UserIdentity Scope.
|
static interface |
UserIdentity.UnauthenticatedUserIdentity |
Modifier and Type | Field and Description |
---|---|
static UserIdentity |
UNAUTHENTICATED_IDENTITY |
Modifier and Type | Method and Description |
---|---|
Subject |
getSubject() |
Principal |
getUserPrincipal() |
boolean |
isUserInRole(String role,
UserIdentity.Scope scope)
Check if the user is in a role.
|
static final UserIdentity UNAUTHENTICATED_IDENTITY
Subject getSubject()
Principal getUserPrincipal()
boolean isUserInRole(String role, UserIdentity.Scope scope)
role
- A role name.scope
- Copyright © 1995-2015 Webtide. All Rights Reserved.