spring-session-redis
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:
- https://github.com/alejandro-du/vaadin-spring-session-redis
- http://docs.spring.io/spring-session/docs/current/reference/html5
- http://redis.io
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2016-11-10
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 7.7+
- Browser
- Browser Independent
spring-session-redis - Vaadin Add-on Directory
Spring Session with Redis integration for Vaadin applicationsThis 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:
*
*
*
spring-session-redis APIAuthor Homepage
Example application
Source Code