@Inherited
@InterceptorBinding
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface AutoApplySession
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.
Example:
@RequestScoped
@AutoApplySession
public class CustomAuthenticationMechanism implements HttpAuthenticationMechanism {
// ...
}
Comments to: es-dev@eclipse.org.
Copyright © 2019, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.