Directory

← Back

spring-session-redis

Spring Session with Redis integration for Vaadin applications

Author

Rating

Popularity

<100

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:

Compatibility

(Loading compatibility data...)

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 applications spring-session-redis - Vaadin Add-on Directory
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: * * *
spring-session-redis API
Author Homepage
Example application
Source Code

spring-session-redis version 1.0
null

Online