Annotation Type EnableInfinispanRemoteHttpSession
-
@Retention(RUNTIME) @Target(TYPE) @Documented @Import(InfinispanRemoteHttpSessionConfiguration.class) @Configuration public @interface EnableInfinispanRemoteHttpSession
Add this annotation to a@Configurationclass to expose the SessionRepositoryFilter as a bean named "springSessionRepositoryFilter" and backed on Infinispan.The configuration requires creating a
SpringCache(for either remote or embedded configuration). Here's an example:
Configuring advanced features requires putting everything together manually or extending@Configuration @EnableInfinispanRemoteHttpSession public class InfinispanConfiguration { @Bean public SpringRemoteCacheManagerFactoryBean springCache() { return new SpringRemoteCacheManagerFactoryBean(); } }InfinispanRemoteHttpSessionConfiguration.- Since:
- 9.0
- Author:
- Sebastian Ćaskawiec
- See Also:
EnableSpringHttpSession
-
-
Field Summary
Fields Modifier and Type Fields Description static StringDEFAULT_CACHE_NAME
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringcacheNameCache name used for storing session data.intmaxInactiveIntervalInSecondsThis is the session timeout in seconds.
-