Annotation Interface FormAuthenticationMechanismDefinition
@Retention(RUNTIME)
@Target(TYPE)
@Repeatable(List.class)
public @interface FormAuthenticationMechanismDefinition
Annotation used to define a container authentication mechanism that implements
FORM authentication as defined by the Servlet spec (13.6.3) and make that
implementation available as an enabled CDI bean.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
static @interface
Enables multipleFormAuthenticationMechanismDefinition
annotations on the same type. -
Required Element Summary
-
Optional Element Summary
-
Element Details
-
loginToContinue
LoginToContinue loginToContinue
-
-
-
qualifiers
Class<?>[] qualifiersList ofqualifier annotations
.An
HttpAuthenticationMechanism
injection point with these qualifier annotations injects a bean that is produced by thisFormAuthenticationMechanismDefinition
.The default value is
FormAuthenticationMechanism
, indicating that thisFormAuthenticationMechanismDefinition
produces bean instances of typeHttpAuthenticationMechanism
qualified byFormAuthenticationMechanism
.- Returns:
- list of qualifiers.
- Since:
- 4.0
- Default:
- {jakarta.security.enterprise.authentication.mechanism.http.FormAuthenticationMechanismDefinition.FormAuthenticationMechanism.class}
-