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