RememberMeDsl
A Kotlin DSL to configure HttpSecurity Remember me using idiomatic Kotlin code.
Author
Ivan Pavlov
Properties
whether the cookie should always be created even if the remember-me parameter is not set. Defaults to false
the AuthenticationSuccessHandler used after authentication success
the domain name within which the remember me cookie is visible
the name of cookie which store the token for remember me authentication. Defaults to 'remember-me'
the HTTP parameter used to indicate to remember the user at time of login. Defaults to 'remember-me'
the RememberMeServices to use
the PersistentTokenRepository to use. Defaults to org.springframework.security.web.authentication.rememberme.TokenBasedRememberMeServices instead
how long (in seconds) a token is valid for. Defaults to 2 weeks
the UserDetailsService used to look up the UserDetails when a remember me token is valid
whether the cookie should be flagged as secure or not