Top Description Interfaces Annotations Classes
[default module]

Package javax.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

Interface Summary

Modifier and TypeInterface and Description
public interface
HttpAuthenticationMechanism

HttpAuthenticationMechanism is a mechanism for obtaining a caller's credentials in some way, using the HTTP protocol where necessary.

public interface
HttpMessageContext

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.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
AutoApplySession

The AutoApplySession annotation provides an application the ability to declaratively designate that an authentication mechanism uses the javax.servlet.http.registerSession and auto applies this for every request.

public @interface
BasicAuthenticationMechanismDefinition

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.

public @interface
CustomFormAuthenticationMechanismDefinition

Annotation used to define a container authentication mechanism that implements authentication resembling Servlet FORM authentication (Servlet spec 13.6.3).

public @interface
FormAuthenticationMechanismDefinition

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.

public @interface
LoginToContinue

The LoginToContinue annotation provides an application the ability to declaratively add login to continue functionality to an authentication mechanism.

public @interface
RememberMe

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.

Class Summary

Modifier and TypeClass and Description
public class
AuthenticationParameters

Parameters that are provided along with an authentication request.

public class
HttpMessageContextWrapper

This class is an implementation of the HttpMessageContext interface that can be subclassed by developers wishing to provide extra or different functionality.