@Requires(property="micronaut.security.endpoints.logout.enabled", value="true") @ConfigurationProperties(value="micronaut.security.endpoints.logout") public class LogoutControllerConfigurationProperties extends Object implements LogoutControllerConfiguration
LogoutControllerConfiguration used to configure the LogoutController.| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
DEFAULT_ENABLED
The default enable value. 
 | 
static boolean | 
DEFAULT_GETALLOWED
Default Get Allowed. 
 | 
static String | 
DEFAULT_PATH
The default path. 
 | 
static String | 
PREFIX  | 
| Constructor and Description | 
|---|
LogoutControllerConfigurationProperties()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getPath()  | 
boolean | 
isEnabled()  | 
boolean | 
isGetAllowed()  | 
void | 
setEnabled(boolean enabled)
Enables  
LogoutController. | 
void | 
setGetAllowed(boolean getAllowed)
Enables HTTP GET invocations of  
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 static final boolean DEFAULT_GETALLOWED
public LogoutControllerConfigurationProperties()
public boolean isEnabled()
isEnabled in interface ToggleableLogoutControllerpublic String getPath()
getPath in interface LogoutControllerConfigurationpublic void setEnabled(boolean enabled)
LogoutController. Default value false.enabled - true if it ispublic void setPath(String path)
LogoutController. Default value "/logout".path - The pathpublic boolean isGetAllowed()
isGetAllowed in interface LogoutControllerConfigurationLogoutController.public void setGetAllowed(boolean getAllowed)
LogoutController. Default value (false).getAllowed - Whether Http GET should be supported.