Skip to content

Commit

Permalink
Fix SpringSessionRememberMeServices documentation example
Browse files Browse the repository at this point in the history
  • Loading branch information
vpavic committed Sep 21, 2018
1 parent 3e98ecf commit 58ae28b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.provisioning.InMemoryUserDetailsManager;
import org.springframework.security.web.authentication.RememberMeServices;
import org.springframework.session.MapSessionRepository;
import org.springframework.session.config.annotation.web.http.EnableSpringHttpSession;
import org.springframework.session.security.web.authentication.SpringSessionRememberMeServices;
Expand Down Expand Up @@ -54,7 +53,7 @@ protected void configure(HttpSecurity http) throws Exception {

// tag::rememberme-bean[]
@Bean
RememberMeServices rememberMeServices() {
public SpringSessionRememberMeServices rememberMeServices() {
SpringSessionRememberMeServices rememberMeServices =
new SpringSessionRememberMeServices();
// optionally customize
Expand Down

0 comments on commit 58ae28b

Please sign in to comment.