About the spring-session-redis category

spring-session-redis: This add-on allows replacing the standard HttpSession with Redis in Vaadin applications using Spring Session.

After adding the dependency, define a new bean of type VaadinSessionRewriteFilter. For example:

@Configuration
public class MySpringConfiguration {

    @Bean
    public Filter vaadinSessionRewriteFilter() {
        return new VaadinSessionRewriteFilter();
    }

}

Alternatively, use the @ServletComponentScan annotation to include the org.vaadin.spring.session.redis package. For example:

@ServletComponentScan("org.vaadin.spring.session.redis")
public class MySpringConfiguration {
    ...
}

See also: