Uses of Interface
org.eclipse.jetty.security.AuthenticationState
Packages that use AuthenticationState
Package
Description
Jetty Security : Modular Support for Security in Jetty
Jetty Security : Authenticators and Callbacks
-
Uses of AuthenticationState in org.eclipse.jetty.security
Subinterfaces of AuthenticationState in org.eclipse.jetty.securityModifier and TypeInterfaceDescriptionstatic interfaceAuthentication is Deferred, either so that credentials can later be passed withlogin(String, String, Request, Response); or that existing credentials on the request may be validated withAuthenticationState.Deferred.authenticate(Request); or an authentication dialog can be advanced withAuthenticationState.Deferred.authenticate(Request, Response, Callback).static interfaceAuthentication Response sent state.static interfaceA successful Authentication with User information.Fields in org.eclipse.jetty.security declared as AuthenticationStateModifier and TypeFieldDescriptionstatic final AuthenticationStateAuthenticationState.CHALLENGEAuthentication challenge sent.static final AuthenticationStateAuthenticationState.SEND_FAILUREAuthentication failure sent.static final AuthenticationStateAuthenticationState.SEND_SUCCESSAuthentication success sent.Methods in org.eclipse.jetty.security that return AuthenticationStateModifier and TypeMethodDescriptionAuthenticationState.Deferred.authenticate(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, org.eclipse.jetty.util.Callback callback) Authenticate the request using any credentials already associated with the request or challenging if necessary.static AuthenticationStateAuthenticationState.getAuthenticationState(org.eclipse.jetty.server.Request request) Get the authentication state of a requestAuthenticator.NoOp.validateRequest(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, org.eclipse.jetty.util.Callback callback) Authenticator.validateRequest(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, org.eclipse.jetty.util.Callback callback) Validate a requestMethods in org.eclipse.jetty.security with parameters of type AuthenticationStateModifier and TypeMethodDescriptionprotected booleanSecurityHandler.isNotAuthorized(Constraint constraint, AuthenticationState authenticationState) default org.eclipse.jetty.server.RequestAuthenticator.prepareRequest(org.eclipse.jetty.server.Request request, AuthenticationState authenticationState) Called afterAuthenticator.validateRequest(Request, Response, Callback)and before callingRequest.Handler.handle(Request, Response, Callback)of the nested handler.static voidAuthenticationState.setAuthenticationState(org.eclipse.jetty.server.Request request, AuthenticationState authenticationState) Set the authentication state of a request. -
Uses of AuthenticationState in org.eclipse.jetty.security.authentication
Classes in org.eclipse.jetty.security.authentication that implement AuthenticationStateModifier and TypeClassDescriptionstatic classstatic classThis Authentication represents a just completed authentication, that has sent a response, typically to redirect the client to the original request target..static classBase class for representing a successful authentication state.classSessionAuthentication When a user has been successfully authenticated with some types of Authenticator, the Authenticator stashes a SessionAuthentication into an HttpSession to remember that the user is authenticated.Methods in org.eclipse.jetty.security.authentication that return AuthenticationStateModifier and TypeMethodDescriptionLoginAuthenticator.LoggedOutAuthentication.authenticate(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, org.eclipse.jetty.util.Callback callback) BasicAuthenticator.validateRequest(org.eclipse.jetty.server.Request req, org.eclipse.jetty.server.Response res, org.eclipse.jetty.util.Callback callback) DigestAuthenticator.validateRequest(org.eclipse.jetty.server.Request req, org.eclipse.jetty.server.Response res, org.eclipse.jetty.util.Callback callback) FormAuthenticator.validateRequest(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, org.eclipse.jetty.util.Callback callback) SPNEGOAuthenticator.validateRequest(org.eclipse.jetty.server.Request req, org.eclipse.jetty.server.Response res, org.eclipse.jetty.util.Callback callback) SslClientCertAuthenticator.validateRequest(org.eclipse.jetty.server.Request req, org.eclipse.jetty.server.Response res, org.eclipse.jetty.util.Callback callback) Methods in org.eclipse.jetty.security.authentication with parameters of type AuthenticationStateModifier and TypeMethodDescriptionorg.eclipse.jetty.server.RequestFormAuthenticator.prepareRequest(org.eclipse.jetty.server.Request request, AuthenticationState authenticationState)