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 |
|---|---|
javax.security.auth.Subject |
getSubject() |
java.security.Principal |
getUserPrincipal() |
boolean |
isUserInRole(java.lang.String role,
UserIdentity.Scope scope)
Check if the user is in a role.
|
static final UserIdentity UNAUTHENTICATED_IDENTITY
javax.security.auth.Subject getSubject()
java.security.Principal getUserPrincipal()
boolean isUserInRole(java.lang.String role,
UserIdentity.Scope scope)
role - A role name.scope - Copyright © 2013 FuseSource, Corp.. All Rights Reserved.