Package io.micronaut.security.session
Class SecuritySessionConfigurationProperties
java.lang.Object
io.micronaut.security.session.SecuritySessionConfigurationProperties
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
@ConfigurationProperties("micronaut.security.session")
public class SecuritySessionConfigurationProperties
extends Object
implements io.micronaut.core.util.Toggleable
Session-based Authentication configuration.
- Since:
- 1.0
- Author:
- Sergio del Amo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
The default enable value.static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEnabled
(boolean enabled) Sets whether the session config is enabled.
-
Field Details
-
PREFIX
- See Also:
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLEDThe default enable value.- See Also:
-
-
Constructor Details
-
SecuritySessionConfigurationProperties
public SecuritySessionConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) Sets whether the session config is enabled. Default value (true).- Parameters:
enabled
- True if it is enabled
-