Package org.eclipse.jetty.security
Class SpnegoUserIdentity
- java.lang.Object
-
- org.eclipse.jetty.security.SpnegoUserIdentity
-
- All Implemented Interfaces:
UserIdentity
public class SpnegoUserIdentity extends java.lang.Object implements UserIdentity
-
-
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
Constructors Constructor Description SpnegoUserIdentity(javax.security.auth.Subject subject, java.security.Principal principal, UserIdentity roleDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.security.auth.Subject
getSubject()
java.security.Principal
getUserPrincipal()
boolean
isEstablished()
boolean
isUserInRole(java.lang.String role, UserIdentity.Scope scope)
-
-
-
Constructor Detail
-
SpnegoUserIdentity
public SpnegoUserIdentity(javax.security.auth.Subject subject, java.security.Principal principal, UserIdentity roleDelegate)
-
-
Method Detail
-
getSubject
public javax.security.auth.Subject getSubject()
- Specified by:
getSubject
in interfaceUserIdentity
-
getUserPrincipal
public java.security.Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interfaceUserIdentity
-
isUserInRole
public boolean isUserInRole(java.lang.String role, UserIdentity.Scope scope)
- Specified by:
isUserInRole
in interfaceUserIdentity
-
isEstablished
public boolean isEstablished()
-
-