Interface AuthConfig.HeaderBasedAuthConfig
- Enclosing interface:
- AuthConfig
public static interface AuthConfig.HeaderBasedAuthConfig
Configuration for the header based authentication.
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()- Returns:
- If the header based auth is enabled.
-
headerName
- Returns:
- Name of the authentication header. Defaults to "X-Cassandra-Token".
-
customChallengeEnabled
@WithDefault("${stargate.exception-mappers.enabled:true}") boolean customChallengeEnabled()- Returns:
- If the customization of the challenge sending should be done.
-