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