|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.security.SpnegoUserIdentity
public class SpnegoUserIdentity
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jetty.server.UserIdentity |
|---|
UserIdentity.Scope, UserIdentity.UnauthenticatedUserIdentity |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jetty.server.UserIdentity |
|---|
UNAUTHENTICATED_IDENTITY |
| Constructor Summary | |
|---|---|
SpnegoUserIdentity(javax.security.auth.Subject subject,
java.security.Principal principal,
java.util.List<java.lang.String> roles)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpnegoUserIdentity(javax.security.auth.Subject subject,
java.security.Principal principal,
java.util.List<java.lang.String> roles)
| Method Detail |
|---|
public javax.security.auth.Subject getSubject()
getSubject in interface UserIdentitypublic java.security.Principal getUserPrincipal()
getUserPrincipal in interface UserIdentity
public boolean isUserInRole(java.lang.String role,
UserIdentity.Scope scope)
UserIdentity
isUserInRole in interface UserIdentityrole - A role name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||