Module jakarta.security
Package jakarta.security.enterprise.authentication.mechanism.http
package jakarta.security.enterprise.authentication.mechanism.http
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).
- Version:
- 1.0
-
ClassDescriptionParameters that are provided along with an authentication request.The AutoApplySession annotation provides an application the ability to declaratively designate that an authentication mechanism uses the
jakarta.servlet.http.registerSession
and auto applies this for every request.Supports inline instantiation of the AutoApplySession annotation.Annotation 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.Supports inline instantiation of theBasicAuthenticationMechanismDefinition.BasicAuthenticationMechanism
qualifier.Enables multipleBasicAuthenticationMechanismDefinition
annotations on the same type.Annotation used to define a container authentication mechanism that implements authentication resembling Servlet FORM authentication (Servlet spec 13.6.3).Supports inline instantiation of theCustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism
qualifier.Enables multipleCustomFormAuthenticationMechanismDefinition
annotations on the same type.Annotation 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.Supports inline instantiation of theFormAuthenticationMechanismDefinition.FormAuthenticationMechanism
qualifier.Enables multipleFormAuthenticationMechanismDefinition
annotations on the same type.HttpAuthenticationMechanism
is a mechanism for obtaining a caller's credentials in some way, using the HTTP protocol where necessary.HttpAuthenticationMechanismHandler
is a mechanism for obtaining a caller's credentials in some way, using the HTTP protocol where necessary, by consulting a set of one or moreHttpAuthenticationMechanism
s.This class is an implementation of theHttpAuthenticationMechanism
interface that can be subclassed by developers wishing to provide extra or different functionality.HttpMessageContext
contains 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.This class is an implementation of the HttpMessageContext interface that can be subclassed by developers wishing to provide extra or different functionality.TheLoginToContinue
annotation provides an application the ability to declaratively add login to continue functionality to an authentication mechanism.Supports inline instantiation of the LoginToContinue annotation.Annotation used to define a container authentication mechanism that implements the Authorization Code flow and Refresh tokens as defined by the OpenId Connect specification and make that implementation available as an enabled CDI bean.Enables multipleOpenIdAuthenticationMechanismDefinition
annotations on the same type.Supports inline instantiation of theOpenIdAuthenticationMechanismDefinition.OpenIdAuthenticationMechanism
qualifier.The 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.Supports inline instantiation of the RememberMe annotation.