public class SpnegoUserIdentity extends Object implements UserIdentity
UserIdentity.Scope, UserIdentity.UnauthenticatedUserIdentityUNAUTHENTICATED_IDENTITY| Constructor and Description |
|---|
SpnegoUserIdentity(Subject subject,
Principal principal,
UserIdentity roleDelegate) |
| Modifier and Type | Method and Description |
|---|---|
Subject |
getSubject() |
Principal |
getUserPrincipal() |
boolean |
isEstablished() |
boolean |
isUserInRole(String role,
UserIdentity.Scope scope)
Check if the user is in a role.
|
public SpnegoUserIdentity(Subject subject, Principal principal, UserIdentity roleDelegate)
public Subject getSubject()
getSubject in interface UserIdentitypublic Principal getUserPrincipal()
getUserPrincipal in interface UserIdentitypublic boolean isUserInRole(String role, UserIdentity.Scope scope)
UserIdentityisUserInRole in interface UserIdentityrole - A role name.scope - the scopepublic boolean isEstablished()
Copyright © 2010 - 2020 Adobe. All Rights Reserved