Uses of Interface
org.eclipse.jetty.server.Authentication
Package
Description
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 Authentication in org.eclipse.jetty.security
Modifier and TypeClassDescriptionclass
AbstractUserAuthentication Base class for representing an authenticated user.class
LoggedOutAuthentication An Authentication indicating that a user has been previously, but is not currently logged in, but may be capable of logging in after a call to Request.login(String,String)class
Modifier and TypeMethodDescriptionLoggedOutAuthentication.login
(String username, Object password, jakarta.servlet.ServletRequest request) AbstractUserAuthentication.logout
(jakarta.servlet.ServletRequest request) Authenticator.validateRequest
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, boolean mandatory) Validate a request -
Uses of Authentication in org.eclipse.jetty.security.authentication
Modifier and TypeClassDescriptionclass
static class
This Authentication represents a just completed Form authentication.class
SessionAuthentication 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.Modifier and TypeMethodDescriptionDeferredAuthentication.authenticate
(jakarta.servlet.ServletRequest request) DeferredAuthentication.authenticate
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) DeferredAuthentication.login
(String username, Object password, jakarta.servlet.ServletRequest request) DeferredAuthentication.logout
(jakarta.servlet.ServletRequest request) BasicAuthenticator.validateRequest
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, boolean mandatory) ClientCertAuthenticator.validateRequest
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, boolean mandatory) Deprecated.ConfigurableSpnegoAuthenticator.validateRequest
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, boolean mandatory) DigestAuthenticator.validateRequest
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, boolean mandatory) FormAuthenticator.validateRequest
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, boolean mandatory) SslClientCertAuthenticator.validateRequest
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, boolean mandatory) -
Uses of Authentication in org.eclipse.jetty.security.jaspi
Modifier and TypeMethodDescriptionJaspiAuthenticator.validateRequest
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, boolean mandatory) JaspiAuthenticator.validateRequest
(JaspiMessageInfo messageInfo) Modifier and TypeMethodDescriptionboolean
JaspiAuthenticator.secureResponse
(JaspiMessageInfo messageInfo, Authentication validatedUser) -
Uses of Authentication in org.eclipse.jetty.security.openid
Modifier and TypeClassDescriptionstatic class
This Authentication represents a just completed OpenId Connect authentication.Modifier and TypeMethodDescriptionOpenIdAuthenticator.validateRequest
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, boolean mandatory) -
Uses of Authentication in org.eclipse.jetty.server
Modifier and TypeInterfaceDescriptionstatic interface
An Authentication Challenge has been sent.static interface
A deferred authentication with methods to progress the authentication process.static interface
An Authentication Failure has been sent.static interface
An authentication that is capable of performing a programmatic login operation.static interface
An authentication that is capable of performing a programmatic logout operation.static interface
After a logout, the authentication reverts to a state where it is possible to programmatically log in again.static interface
Authentication Response sent state.static interface
static interface
A successful Authentication with User information.static interface
A wrapped authentication with methods provide the wrapped request/response for use by the applicationModifier and TypeFieldDescriptionstatic final Authentication
Authentication.NOT_CHECKED
Authentication not checkedstatic final Authentication
Authentication.SEND_CONTINUE
Authentication challenge sent.static final Authentication
Authentication.SEND_FAILURE
Authentication failure sent.static final Authentication
Authentication.SEND_SUCCESS
static final Authentication
Authentication.UNAUTHENTICATED
Unauthenticated state.Modifier and TypeMethodDescriptionAuthentication.Deferred.authenticate
(jakarta.servlet.ServletRequest request) Authenticate if possible without sending a challenge.Authentication.Deferred.authenticate
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) Authenticate and possibly send a challenge.Request.getAuthentication()
Get the authentication.Authentication.LoginAuthentication.login
(String username, Object password, jakarta.servlet.ServletRequest request) Login with the LOGIN authenticatorAuthentication.LogoutAuthentication.logout
(jakarta.servlet.ServletRequest request) Remove any user information that may be present in the request such that a call to getUserPrincipal/getRemoteUser will return null.Modifier and TypeMethodDescriptionvoid
Request.setAuthentication
(Authentication authentication) Set the authentication.