Uses of Interface
org.eclipse.jetty.server.UserIdentity
Package
Description
Jetty Jaas : Support for Jaas
Jetty Security : Modular Support for Security in Jetty
Jetty Security : Authenticators and Callbacks
Jetty Jaspi : Java Authentication SPI
Jetty Server : Core Server API
-
Uses of UserIdentity in org.eclipse.jetty.jaas
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionvoid
JAASLoginService.logout
(UserIdentity user) boolean
JAASLoginService.validate
(UserIdentity user) -
Uses of UserIdentity in org.eclipse.jetty.security
Modifier and TypeClassDescriptionclass
The default implementation of UserIdentity.class
Modifier and TypeMethodDescriptionDefaultIdentityService.getSystemUserIdentity()
IdentityService.getSystemUserIdentity()
AbstractUserAuthentication.getUserIdentity()
AbstractLoginService.login
(String username, Object credentials, jakarta.servlet.ServletRequest request) ConfigurableSpnegoLoginService.login
(String username, Object credentials, jakarta.servlet.ServletRequest req) EmptyLoginService.login
(String username, Object credentials, jakarta.servlet.ServletRequest request) Login a user.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) If there are roles refs present in the scope, then wrap the UserIdentity with one that uses the role references in theisUserInRole(String, org.eclipse.jetty.server.UserIdentity.Scope)
IdentityService.associate
(UserIdentity user) Associate a user identity with the current thread.protected boolean
ConstraintSecurityHandler.checkWebResourcePermissions
(String pathInContext, Request request, Response response, Object constraintInfo, UserIdentity userIdentity) protected abstract boolean
SecurityHandler.checkWebResourcePermissions
(String pathInContext, Request request, Response response, Object constraintInfo, UserIdentity userIdentity) void
AbstractLoginService.logout
(UserIdentity user) void
ConfigurableSpnegoLoginService.logout
(UserIdentity user) void
EmptyLoginService.logout
(UserIdentity user) void
LoginService.logout
(UserIdentity user) DefaultIdentityService.setRunAs
(UserIdentity user, RunAsToken token) IdentityService.setRunAs
(UserIdentity user, RunAsToken token) Associate a runas Token with the current user and thread.boolean
AbstractLoginService.validate
(UserIdentity user) boolean
ConfigurableSpnegoLoginService.validate
(UserIdentity user) boolean
EmptyLoginService.validate
(UserIdentity user) boolean
LoginService.validate
(UserIdentity user) Validate a user identity.ModifierConstructorDescriptionAbstractUserAuthentication
(String method, UserIdentity userIdentity) SpnegoUserIdentity
(Subject subject, Principal principal, UserIdentity roleDelegate) UserAuthentication
(String method, UserIdentity userIdentity) -
Uses of UserIdentity in org.eclipse.jetty.security.authentication
Modifier and TypeMethodDescriptionAuthorizationService.getUserIdentity
(jakarta.servlet.http.HttpServletRequest request, String name) SessionAuthentication.getUserIdentity()
ConfigurableSpnegoAuthenticator.login
(String username, Object password, jakarta.servlet.ServletRequest servletRequest) 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.DigestAuthenticator.login
(String username, Object credentials, jakarta.servlet.ServletRequest request) LoginAuthenticator.login
(String username, Object password, jakarta.servlet.ServletRequest servletRequest) If the UserIdentity is not null after this method callsLoginService.login(String, Object, ServletRequest)
, it is assumed that the user is fully authenticated and we need to change the session id to prevent session fixation vulnerability.ModifierConstructorDescriptionFormAuthentication
(String method, UserIdentity userIdentity) SessionAuthentication
(String method, UserIdentity userIdentity, Object credentials) -
Uses of UserIdentity in org.eclipse.jetty.security.jaspi
Modifier and TypeMethodDescription -
Uses of UserIdentity in org.eclipse.jetty.security.openid
Modifier and TypeMethodDescriptionOpenIdAuthenticator.login
(String username, Object credentials, jakarta.servlet.ServletRequest request) Modifier and TypeMethodDescriptionvoid
OpenIdLoginService.logout
(UserIdentity user) boolean
OpenIdLoginService.validate
(UserIdentity user) ModifierConstructorDescriptionOpenIdAuthentication
(String method, UserIdentity userIdentity) OpenIdUserIdentity
(Subject subject, Principal userPrincipal, UserIdentity userIdentity) -
Uses of UserIdentity in org.eclipse.jetty.server
Modifier and TypeMethodDescriptionRequest.getResolvedUserIdentity()
Authentication.User.getUserIdentity()
Request.getUserIdentity()