Package io.jmix.sessions
Class SessionsConfiguration<S extends org.springframework.session.Session>
java.lang.Object
io.jmix.sessions.SessionsConfiguration<S>
@Configuration
@ComponentScan
public class SessionsConfiguration<S extends org.springframework.session.Session>
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationEventPublisher
protected org.springframework.session.web.http.HttpSessionIdResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.session.web.http.SessionRepositoryFilter<SessionRepositoryWrapper<S>.SessionWrapper>
jmixSessionRepositoryFilter
(org.springframework.session.SessionRepository<S> sessionRepository) protected org.springframework.security.core.session.SessionRegistry
sessionRepositoryWrapper
(org.springframework.session.SessionRepository<S> sessionRepository)
-
Field Details
-
sessionIdResolver
@Autowired protected org.springframework.session.web.http.HttpSessionIdResolver sessionIdResolver -
applicationEventPublisher
@Autowired protected org.springframework.context.ApplicationEventPublisher applicationEventPublisher
-
-
Constructor Details
-
SessionsConfiguration
public SessionsConfiguration()
-
-
Method Details
-
sessionRepositoryWrapper
public SessionRepositoryWrapper<S> sessionRepositoryWrapper(org.springframework.session.SessionRepository<S> sessionRepository) -
sessionRegistry
@Bean @Primary protected org.springframework.security.core.session.SessionRegistry sessionRegistry() -
jmixSessionRepositoryFilter
@Bean @Primary public org.springframework.session.web.http.SessionRepositoryFilter<SessionRepositoryWrapper<S>.SessionWrapper> jmixSessionRepositoryFilter(@Autowired org.springframework.session.SessionRepository<S> sessionRepository)
-