@Requires(property="micronaut.security.token.enabled", notEquals="false") @ConfigurationProperties(value="micronaut.security.token.jwt") public class JwtConfigurationProperties extends Object implements JwtConfiguration
JwtConfiguration
implementation.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static 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 String PREFIX
public static final boolean DEFAULT_ENABLED
public boolean isEnabled()
isEnabled
in interface Toggleable
isEnabled
in interface JwtConfiguration
public void setEnabled(boolean enabled)
enabled
- True if it is