Uses of Interface
org.eclipse.jetty.security.UserIdentity
Packages that use UserIdentity
Package
Description
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.security
Classes in org.eclipse.jetty.security that implement UserIdentityMethods in org.eclipse.jetty.security that return UserIdentityModifier and TypeMethodDescriptionstatic UserIdentityDefaultIdentityService.getSystemUserIdentity()IdentityService.getSystemUserIdentity()AuthenticationState.Succeeded.getUserIdentity()default UserIdentityLoginService.getUserIdentity(Subject subject, Principal userPrincipal, boolean create) Get or create aUserIdentitythat is not authenticated by theLoginService.AbstractLoginService.login(String username, Object credentials, org.eclipse.jetty.server.Request request, Function<Boolean, org.eclipse.jetty.server.Session> getOrCreateSession) EmptyLoginService.login(String username, Object credentials, org.eclipse.jetty.server.Request request, Function<Boolean, org.eclipse.jetty.server.Session> getOrCreateSession) LoginService.login(String username, Object credentials, org.eclipse.jetty.server.Request request, Function<Boolean, org.eclipse.jetty.server.Session> getOrCreateSession) Login a user.SPNEGOLoginService.login(String username, Object credentials, org.eclipse.jetty.server.Request request, Function<Boolean, org.eclipse.jetty.server.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.Methods in org.eclipse.jetty.security with parameters of type UserIdentityModifier 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.voidAbstractLoginService.logout(UserIdentity user) voidEmptyLoginService.logout(UserIdentity user) voidLoginService.logout(UserIdentity user) voidSPNEGOLoginService.logout(UserIdentity user) voidDefaultIdentityService.onLogout(UserIdentity user) voidIdentityService.onLogout(UserIdentity user) Called to notify that a user has been logged out.booleanAbstractLoginService.validate(UserIdentity user) booleanEmptyLoginService.validate(UserIdentity user) booleanLoginService.validate(UserIdentity user) Validate a user identity.booleanSPNEGOLoginService.validate(UserIdentity user) Constructors in org.eclipse.jetty.security with parameters of type UserIdentityModifierConstructorDescriptionRoleDelegateUserIdentity(Subject subject, Principal principal, UserIdentity roleDelegate) -
Uses of UserIdentity in org.eclipse.jetty.security.authentication
Fields in org.eclipse.jetty.security.authentication declared as UserIdentityModifier and TypeFieldDescriptionprotected UserIdentityLoginAuthenticator.UserAuthenticationSucceeded._userIdentityMethods in org.eclipse.jetty.security.authentication that return UserIdentityModifier and TypeMethodDescriptionLoginAuthenticator.UserAuthenticationSucceeded.getUserIdentity()SessionAuthentication.getUserIdentity()DigestAuthenticator.login(String username, Object credentials, org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response) FormAuthenticator.login(String username, Object password, org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response) LoginAuthenticator.login(String username, Object password, org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response) 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.SPNEGOAuthenticator.login(String username, Object password, org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response) 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.Constructors in org.eclipse.jetty.security.authentication with parameters of type UserIdentityModifierConstructorDescriptionSessionAuthentication(String method, UserIdentity userIdentity, Object credentials) UserAuthenticationSent(String method, UserIdentity userIdentity) UserAuthenticationSucceeded(String authenticationType, UserIdentity userIdentity) -
Uses of UserIdentity in org.eclipse.jetty.security.jaas
Methods in org.eclipse.jetty.security.jaas that return UserIdentityModifier and TypeMethodDescriptionJAASLoginService.login(String username, Object credentials, org.eclipse.jetty.server.Request request, Function<Boolean, org.eclipse.jetty.server.Session> getOrCreateSession) Methods in org.eclipse.jetty.security.jaas with parameters of type UserIdentityModifier and TypeMethodDescriptionvoidJAASLoginService.logout(UserIdentity user) booleanJAASLoginService.validate(UserIdentity user)