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 {
// ...
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | AutoApplySession.
Supports inline instantiation of the AutoApplySession annotation. |
| Modifier and Type | Field and Description |
|---|---|
| public static final AutoApplySession. | INSTANCE
Instance of the |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| INSTANCE | back to summary |
|---|---|
| public static final AutoApplySession. Instance of the | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides jakarta. | |
| Literal | back to summary |
|---|---|
| public Literal() | |