@ConfigurationProperties(value="micronaut.session") public class SessionConfiguration extends Object
Base configuration properties for session handling.
| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_MAXINACTIVEINTERVAL_SECONDSThe default max inactive interval in seconds. | 
| Constructor and Description | 
|---|
| SessionConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| OptionalInt | getMaxActiveSessions() | 
| Duration | getMaxInactiveInterval() | 
| void | setMaxActiveSessions(Integer maxActiveSessions)Sets the maximum number of active sessions. | 
| void | setMaxInactiveInterval(Duration maxInactiveInterval)Set the max active sessions. | 
public static final int DEFAULT_MAXINACTIVEINTERVAL_SECONDS
public OptionalInt getMaxActiveSessions()
public void setMaxActiveSessions(Integer maxActiveSessions)
maxActiveSessions - The max active sessionspublic Duration getMaxInactiveInterval()
public void setMaxInactiveInterval(Duration maxInactiveInterval)
maxInactiveInterval - The max inactive interval