The HTTP authentication mechanism API package. This package contains classes and interfaces associated with authentication mechanisms that specifically target HTTP as environment to interact with a caller (challenge/response, obtain credentials).
Interface Summary Interface Description HttpAuthenticationMechanism
HttpAuthenticationMechanismis a mechanism for obtaining a caller's credentials in some way, using the HTTP protocol where necessary.
HttpMessageContextcontains all of the per-request state information and encapsulates the client request, server response, container handler for authentication callbacks, and the subject representing the caller.
Class Summary Class Description AuthenticationParametersParameters that are provided along with an authentication request. HttpMessageContextWrapperThis class is an implementation of the HttpMessageContext interface that can be subclassed by developers wishing to provide extra or different functionality.
Annotation Types Summary Annotation Type Description AutoApplySessionThe AutoApplySession annotation provides an application the ability to declaratively designate that an authentication mechanism uses the
jakarta.servlet.http.registerSessionand auto applies this for every request.
BasicAuthenticationMechanismDefinitionAnnotation used to define a container authentication mechanism that implements the HTTP basic access authentication protocol as defined by the Servlet spec (13.6.1) and make that implementation available as an enabled CDI bean. CustomFormAuthenticationMechanismDefinitionAnnotation used to define a container authentication mechanism that implements authentication resembling Servlet FORM authentication (Servlet spec 13.6.3). FormAuthenticationMechanismDefinitionAnnotation used to define a container authentication mechanism that implements FORM authentication as defined by the Servlet spec (13.6.3) and make that implementation available as an enabled CDI bean. LoginToContinueThe
LoginToContinueannotation provides an application the ability to declaratively add login to continue functionality to an authentication mechanism.
RememberMeThe RememberMe annotation provides an application the ability to declaratively designate that an authentication mechanism effectively "remembers" the authentication and auto applies this with every request.