Package org.eclipse.jetty.security
Class SpnegoUserIdentity
- java.lang.Object
-
- org.eclipse.jetty.security.SpnegoUserIdentity
-
- All Implemented Interfaces:
org.eclipse.jetty.server.UserIdentity
public class SpnegoUserIdentity extends Object implements org.eclipse.jetty.server.UserIdentity
-
-
Constructor Summary
Constructors Constructor Description SpnegoUserIdentity(Subject subject, Principal principal, org.eclipse.jetty.server.UserIdentity roleDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubjectgetSubject()PrincipalgetUserPrincipal()booleanisEstablished()booleanisUserInRole(String role, org.eclipse.jetty.server.UserIdentity.Scope scope)
-
-
-
Method Detail
-
getSubject
public Subject getSubject()
- Specified by:
getSubjectin interfaceorg.eclipse.jetty.server.UserIdentity
-
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipalin interfaceorg.eclipse.jetty.server.UserIdentity
-
isUserInRole
public boolean isUserInRole(String role, org.eclipse.jetty.server.UserIdentity.Scope scope)
- Specified by:
isUserInRolein interfaceorg.eclipse.jetty.server.UserIdentity
-
isEstablished
public boolean isEstablished()
-
-