@Configuration(proxyBeanMethods=false)
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 |
|---|---|
void |
setWebSessionIdResolver(org.springframework.web.server.session.WebSessionIdResolver webSessionIdResolver) |
org.springframework.web.server.session.WebSessionManager |
webSessionManager(ReactiveSessionRepository<? extends Session> repository)
Configure a
WebSessionManager using a provided
ReactiveSessionRepository. |
@Autowired(required=false) public void setWebSessionIdResolver(org.springframework.web.server.session.WebSessionIdResolver webSessionIdResolver)
@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.