Package su.onno.auth
Class OnnoAuthProperties.Session
java.lang.Object
su.onno.auth.OnnoAuthProperties.Session
- Enclosing class:
OnnoAuthProperties
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 OnnoAuthProperties.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(OnnoAuthProperties.RememberMe rememberMe) voidsetTimeout(Duration timeout)
-
Constructor Details
-
Session
public Session()
-
-
Method Details
-
getTimeout
-
setTimeout
-
getRememberMe
-
setRememberMe
-