UserIdentitypublic class SpnegoUserIdentity extends java.lang.Object implements UserIdentity
UserIdentity.Scope, UserIdentity.UnauthenticatedUserIdentityUNAUTHENTICATED_IDENTITY| Constructor | Description |
|---|---|
SpnegoUserIdentity(javax.security.auth.Subject subject,
java.security.Principal principal,
java.util.List<java.lang.String> roles) |
| Modifier and Type | Method | Description |
|---|---|---|
javax.security.auth.Subject |
getSubject() |
|
java.security.Principal |
getUserPrincipal() |
|
boolean |
isUserInRole(java.lang.String role,
UserIdentity.Scope scope) |
public SpnegoUserIdentity(javax.security.auth.Subject subject,
java.security.Principal principal,
java.util.List<java.lang.String> roles)
public javax.security.auth.Subject getSubject()
getSubject in interface UserIdentitypublic java.security.Principal getUserPrincipal()
getUserPrincipal in interface UserIdentitypublic boolean isUserInRole(java.lang.String role,
UserIdentity.Scope scope)
isUserInRole in interface UserIdentityCopyright © 1995–2017 Webtide. All rights reserved.