@Requires(property="micronaut.security.endpoints.login.enabled", value="true") @ConfigurationProperties(value="micronaut.security.endpoints.login") public class LoginControllerConfigurationProperties extends Object implements LoginControllerConfiguration
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 |
---|
LoginControllerConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getPath() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
LoginController . |
void |
setPath(String path)
Path to the
LoginController . |
public static final String PREFIX
public static final boolean DEFAULT_ENABLED
public static final String DEFAULT_PATH
public LoginControllerConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface Toggleable
LoginController
public String getPath()
getPath
in interface LoginControllerConfiguration
public void setEnabled(boolean enabled)
LoginController
. Default value falseenabled
- True if it is enabledpublic void setPath(String path)
LoginController
. Default value "/login"path
- The path