Top Description Methods
javax.security.enterprise.authentication.mechanism.http

public @Interface AutoApplySession

extends Annotation
Annotations
@Inherited
@InterceptorBinding
@Retention:RUNTIME
@Target:TYPE
Static Imports
java.lang.annotation.ElementType.TYPE, .RetentionPolicy.RUNTIME

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.

See the JASPIC 1.1 specification section 3.8.4 for further details on javax.servlet.http.registerSession.

This support is provided via an implementation of an interceptor spec interceptor that conducts the necessary logic.

Example:


    @RequestScoped
    @AutoApplySession
    public class CustomAuthenticationMechanism implements HttpAuthenticationMechanism {
        // ...
    }

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString