Interface AuthConfig.HeaderBasedAuthConfig

Enclosing interface:
AuthConfig

public static interface AuthConfig.HeaderBasedAuthConfig
Configuration for the header based authentication.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    @NotBlank String
     
  • Method Details

    • enabled

      @WithDefault("true") boolean enabled()
      Returns:
      If the header based auth is enabled.
    • headerName

      @NotBlank @WithDefault("X-Cassandra-Token") @NotBlank String headerName()
      Returns:
      Name of the authentication header. Defaults to "X-Cassandra-Token".