Uses of Interface
org.eclipse.jetty.security.UserIdentity
Package
Description
Jetty Jaspi : Java Authentication SPI
Jetty Security : Modular Support for Security in Jetty
Jetty Security : Authenticators and Callbacks
Jetty Jaas : Support for Jaas
-
Uses of UserIdentity in org.eclipse.jetty.ee10.security.jaspi
-
Uses of UserIdentity in org.eclipse.jetty.security
Modifier and TypeMethodDescriptionstatic UserIdentity
DefaultIdentityService.getSystemUserIdentity()
IdentityService.getSystemUserIdentity()
AuthenticationState.Succeeded.getUserIdentity()
default UserIdentity
LoginService.getUserIdentity
(Subject subject, Principal userPrincipal, boolean create) Get or create aUserIdentity
that is not authenticated by theLoginService
.AbstractLoginService.login
(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) EmptyLoginService.login
(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) LoginService.login
(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) Login a user.SPNEGOLoginService.login
(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) DefaultIdentityService.newUserIdentity
(Subject subject, Principal userPrincipal, String[] roles) IdentityService.newUserIdentity
(Subject subject, Principal userPrincipal, String[] roles) Create a new UserIdentity for use with this identity service.Modifier and TypeMethodDescriptionDefaultIdentityService.associate
(UserIdentity user, IdentityService.RunAsToken runAsToken) IdentityService.associate
(UserIdentity user, IdentityService.RunAsToken runAsToken) Associate a runas Token with the current user and thread.void
AbstractLoginService.logout
(UserIdentity user) void
EmptyLoginService.logout
(UserIdentity user) void
LoginService.logout
(UserIdentity user) void
SPNEGOLoginService.logout
(UserIdentity user) void
DefaultIdentityService.onLogout
(UserIdentity user) void
IdentityService.onLogout
(UserIdentity user) Called to notify that a user has been logged out.boolean
AbstractLoginService.validate
(UserIdentity user) boolean
EmptyLoginService.validate
(UserIdentity user) boolean
LoginService.validate
(UserIdentity user) Validate a user identity.boolean
SPNEGOLoginService.validate
(UserIdentity user) ModifierConstructorDescriptionRoleDelegateUserIdentity
(Subject subject, Principal principal, UserIdentity roleDelegate) -
Uses of UserIdentity in org.eclipse.jetty.security.authentication
Modifier and TypeFieldDescriptionprotected UserIdentity
LoginAuthenticator.UserAuthenticationSucceeded._userIdentity
Modifier and TypeMethodDescriptionLoginAuthenticator.UserAuthenticationSucceeded.getUserIdentity()
SessionAuthentication.getUserIdentity()
If the UserIdentity returned fromLoginService.login(String, Object, Request, Function)
is not null, it is assumed that the user is fully authenticated and we need to change the session id to prevent session fixation vulnerability.Only renew the session id if the user has been fully authenticated, don't renew the session for any of the intermediate request/response handshakes.ModifierConstructorDescriptionSessionAuthentication
(String method, UserIdentity userIdentity, Object credentials) UserAuthenticationSent
(String method, UserIdentity userIdentity) UserAuthenticationSucceeded
(String authenticationType, UserIdentity userIdentity) -
Uses of UserIdentity in org.eclipse.jetty.security.internal
Modifier and TypeClassDescriptionclass
The default implementation of UserIdentity. -
Uses of UserIdentity in org.eclipse.jetty.security.jaas
Modifier and TypeMethodDescriptionJAASLoginService.login
(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) Modifier and TypeMethodDescriptionvoid
JAASLoginService.logout
(UserIdentity user) boolean
JAASLoginService.validate
(UserIdentity user) -
Uses of UserIdentity in org.eclipse.jetty.security.openid
Modifier and TypeMethodDescriptionOpenIdLoginService.login
(String identifier, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) Modifier and TypeMethodDescriptionvoid
OpenIdLoginService.logout
(UserIdentity user) boolean
OpenIdLoginService.validate
(UserIdentity user)