Package com.onec.auth
Class OnecAuthProperties.Session
java.lang.Object
com.onec.auth.OnecAuthProperties.Session
- Enclosing class:
OnecAuthProperties
Session longevity for the cookie-based modes. The idle
timeout is applied to the
servlet container (overriding Spring Boot's 30-minute default) and slides on every request,
so an actively-used tab never expires mid-session. rememberMe adds a persistent
login cookie in OnecAuthProperties.Mode.IN_MEMORY so a session that lapses (closed browser, idle past
the timeout) is silently re-established on the next request instead of bouncing to login.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRememberMe(OnecAuthProperties.RememberMe rememberMe) voidsetTimeout(Duration timeout)
-
Constructor Details
-
Session
public Session()
-
-
Method Details
-
getTimeout
-
setTimeout
-
getRememberMe
-
setRememberMe
-