Package com.onec.auth

Class OnecAuthProperties.RememberMe

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

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

      public Duration getValidity()
    • setValidity

      public void setValidity(Duration validity)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)