Annotation Type CustomFormAuthenticationMechanismDefinition


@Retention(RUNTIME)
@Target(TYPE)
public @interface CustomFormAuthenticationMechanismDefinition
Annotation used to define a container authentication mechanism that implements authentication resembling Servlet FORM authentication (Servlet spec 13.6.3).

Instead of posting back to a predefined action to continue the authentication dialog (Servlet spec 13.6.3 step 3), this variant depends on the application calling SecurityContext.authenticate(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse, jakarta.security.enterprise.authentication.mechanism.http.AuthenticationParameters)