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.
  • Element Details

    • qualifiers

      Class<?>[] qualifiers
      List of qualifier annotations.

      An HttpAuthenticationMechanism injection point with these qualifier annotations injects a bean that is produced by this FormAuthenticationMechanismDefinition.

      The default value is FormAuthenticationMechanism, indicating that this FormAuthenticationMechanismDefinition produces bean instances of type HttpAuthenticationMechanism qualified by FormAuthenticationMechanism.

      Returns:
      list of qualifiers.
      Since:
      4.0
      Default:
      {jakarta.security.enterprise.authentication.mechanism.http.FormAuthenticationMechanismDefinition.FormAuthenticationMechanism.class}