Package | Description |
---|---|
org.springframework.security.config.annotation.web.builders | |
org.springframework.security.config.annotation.web.configurers |
Modifier and Type | Method and Description |
---|---|
RememberMeConfigurer<HttpSecurity> |
HttpSecurity.rememberMe()
Allows configuring of Remember Me authentication.
|
Modifier and Type | Method and Description |
---|---|
RememberMeConfigurer<H> |
RememberMeConfigurer.authenticationSuccessHandler(AuthenticationSuccessHandler authenticationSuccessHandler)
Allows control over the destination a remembered user is sent to when they are successfully authenticated.
|
RememberMeConfigurer<H> |
RememberMeConfigurer.key(String key)
Sets the key to identify tokens created for remember me authentication.
|
RememberMeConfigurer<H> |
RememberMeConfigurer.rememberMeServices(RememberMeServices rememberMeServices)
Specify the
RememberMeServices to use. |
RememberMeConfigurer<H> |
RememberMeConfigurer.tokenRepository(PersistentTokenRepository tokenRepository)
Specifies the
PersistentTokenRepository to use. |
RememberMeConfigurer<H> |
RememberMeConfigurer.tokenValiditySeconds(int tokenValiditySeconds)
Allows specifying how long (in seconds) a token is valid for
|
RememberMeConfigurer<H> |
RememberMeConfigurer.userDetailsService(UserDetailsService userDetailsService)
Specifies the
UserDetailsService used to look up the
UserDetails when a remember me token is valid. |
RememberMeConfigurer<H> |
RememberMeConfigurer.useSecureCookie(boolean useSecureCookie)
Whether the cookie should be flagged as secure or not.
|
Copyright © 2019. All rights reserved.