java.lang.Object
org.eclipse.jetty.security.DefaultUserIdentity
- All Implemented Interfaces:
org.eclipse.jetty.server.UserIdentity
The default implementation of UserIdentity.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.UserIdentity
org.eclipse.jetty.server.UserIdentity.Scope, org.eclipse.jetty.server.UserIdentity.UnauthenticatedUserIdentity -
Field Summary
Fields inherited from interface org.eclipse.jetty.server.UserIdentity
UNAUTHENTICATED_IDENTITY -
Constructor Summary
ConstructorsConstructorDescriptionDefaultUserIdentity(Subject subject, Principal userPrincipal, String[] roles) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisUserInRole(String role, org.eclipse.jetty.server.UserIdentity.Scope scope) toString()
-
Constructor Details
-
DefaultUserIdentity
-
-
Method Details
-
getSubject
- Specified by:
getSubjectin interfaceorg.eclipse.jetty.server.UserIdentity
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfaceorg.eclipse.jetty.server.UserIdentity
-
isUserInRole
- Specified by:
isUserInRolein interfaceorg.eclipse.jetty.server.UserIdentity
-
toString
-