@Requires(property="micronaut.security.token.enabled", notEquals="false") @ConfigurationProperties(value="micronaut.security.token.jwt") public class JwtConfigurationProperties extends java.lang.Object implements JwtConfiguration
JwtConfiguration
implementation.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
JwtConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Sets whether JWT security is enabled.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
isEnabled
in interface JwtConfiguration
public void setEnabled(boolean enabled)
enabled
- True if it is