Package com.onec.auth
Class OnecAuthProperties.RememberMe
java.lang.Object
com.onec.auth.OnecAuthProperties.RememberMe
- Enclosing class:
OnecAuthProperties
Persistent "remember me" login for
OnecAuthProperties.Mode.IN_MEMORY. When enabled, a successful
password login also issues a signed remember-me cookie; a request that arrives after the
session has expired is re-authenticated from that cookie (via Spring's
RememberMeAuthenticationFilter) for up to validity, so the user stays signed
in across the idle timeout and browser restarts. Has no effect in the OIDC or
resource-server modes, where the IdP owns session continuity.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()booleanbooleanvoidsetAllowEphemeralKey(boolean allowEphemeralKey) voidsetEnabled(boolean enabled) voidvoidsetValidity(Duration validity)
-
Constructor Details
-
RememberMe
public RememberMe()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
isAllowEphemeralKey
public boolean isAllowEphemeralKey() -
setAllowEphemeralKey
public void setAllowEphemeralKey(boolean allowEphemeralKey) -
getValidity
-
setValidity
-
getKey
-
setKey
-