@Configuration
public class SpringWebSessionConfiguration
extends java.lang.Object
WebSessionManager using a Reactive ReactiveSessionRepository from the application context.EnableSpringWebSession| Constructor and Description |
|---|
SpringWebSessionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.server.session.WebSessionManager |
webSessionManager(ReactiveSessionRepository<? extends Session> repository)
Configure a
WebSessionManager using a provided ReactiveSessionRepository. |
@Bean(value="webSessionManager") public org.springframework.web.server.session.WebSessionManager webSessionManager(ReactiveSessionRepository<? extends Session> repository)
WebSessionManager using a provided ReactiveSessionRepository.repository - a bean that implements ReactiveSessionRepository.WebSessionManager registered with a preconfigured name.