Annotation Type AutoApplySession

  • @Inherited
    public @interface AutoApplySession
    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.

    See the Jakarta Authentication spec for further details on jakarta.servlet.http.registerSession.

    This support is provided via an implementation of a Jakarta Interceptors interceptor that conducts the necessary logic.


         public class CustomAuthenticationMechanism implements HttpAuthenticationMechanism {
             // ...