Configuring Filter to replacing HttpSession with Spring Session

The following configuration creates a Servlet Filter to replace HTTPSession with a Session implementation from Spring Session--Redis Data Store in this example:

    @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