Annotation Type BasicAuthenticationMechanismDefinition


@Retention(RUNTIME) @Target(TYPE) public @interface BasicAuthenticationMechanismDefinition
Annotation used to define a container authentication mechanism that implements the HTTP basic access authentication protocol as defined by the Servlet spec (13.6.1) and make that implementation available as an enabled CDI bean.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of realm that will be sent via the WWW-Authenticate header.
  • Element Details

    • realmName

      String realmName
      Name of realm that will be sent via the WWW-Authenticate header.

      Note that this realm name does not couple a named identity store configuration to the authentication mechanism.

      Returns:
      Name of realm
      Default:
      ""