Package com.onec.auth

Class OnecAuthProperties.Session

java.lang.Object
com.onec.auth.OnecAuthProperties.Session
Enclosing class:
OnecAuthProperties

public static class OnecAuthProperties.Session extends Object
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.