@ConfigurationProperties(value="micronaut.security.basic-auth")
public class BasicAuthAuthenticationConfiguration
extends java.lang.Object
implements io.micronaut.core.util.Toggleable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
BasicAuthAuthenticationConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables the
BasicAuthAuthenticationFetcher . |
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public BasicAuthAuthenticationConfiguration()
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
BasicAuthAuthenticationFetcher
. Default value true.enabled
- True if enabled