Configuring the filter to replace a HttpSession with Spring Session

The following configuration creates a servlet filter to replace HTTPSession with a session implementation from Spring Session—Redis data store:

    @EnableRedisHttpSession 
public class ApplicationConfiguration {

@Bean
public LettuceConnectionFactory connectionFactory() {
return new LettuceConnectionFactory();
}

}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset