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