@Requires(property="micronaut.security.endpoints.keys.enabled", notEquals="false", defaultValue="true") @ConfigurationProperties(value="micronaut.security.endpoints.keys") public class KeysControllerConfigurationProperties extends java.lang.Object implements KeysControllerConfiguration
KeysController
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
DEFAULT_PATH
The default path.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
KeysControllerConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath()
The path where the
KeysController can be accessed at. |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
KeysController . |
void |
setPath(java.lang.String path)
Path to the
KeysController . |
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public static final java.lang.String DEFAULT_PATH
public KeysControllerConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
KeysController
.public java.lang.String getPath()
KeysControllerConfiguration
KeysController
can be accessed at.getPath
in interface KeysControllerConfiguration
public void setEnabled(boolean enabled)
KeysController
. Default value true.enabled
- True if it is enabledpublic void setPath(java.lang.String path)
KeysController
. Default value "/keys".path
- The path