Spring Session with Redis integration for Vaadin applications
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:
Install
Framework Support
Vaadin 7.7+
Browser Independent
Install with
Release notes - Version 1.0