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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationEventPublisher
protected org.springframework.session.web.http.HttpSessionIdResolver
protected org.springframework.security.core.session.SessionRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.session.web.http.SessionRepositoryFilter<SessionRepositoryWrapper<S>.SessionWrapper>
jmixSessionRepositoryFilter
(org.springframework.session.SessionRepository<S> sessionRepository) org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
sessionRepositoryWrapper
(org.springframework.session.SessionRepository<S> sessionRepository) void
setHttpSessionListeners
(List<jakarta.servlet.http.HttpSessionListener> listeners) org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext>
tokenCustomizer
(org.springframework.beans.factory.ObjectProvider<SessionData> sessionDataProvider)
-
Field Details
-
sessionIdResolver
@Autowired protected org.springframework.session.web.http.HttpSessionIdResolver sessionIdResolver -
applicationEventPublisher
@Autowired protected org.springframework.context.ApplicationEventPublisher applicationEventPublisher -
sessionRegistry
@Autowired protected org.springframework.security.core.session.SessionRegistry sessionRegistry
-
-
Constructor Details
-
SessionsConfiguration
public SessionsConfiguration()
-
-
Method Details
-
sessionRepositoryWrapper
public SessionRepositoryWrapper<S> sessionRepositoryWrapper(org.springframework.session.SessionRepository<S> sessionRepository) -
jmixSessionRepositoryFilter
@Bean @Primary public org.springframework.session.web.http.SessionRepositoryFilter<SessionRepositoryWrapper<S>.SessionWrapper> jmixSessionRepositoryFilter(@Autowired org.springframework.session.SessionRepository<S> sessionRepository) -
tokenCustomizer
@Bean public org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext> tokenCustomizer(org.springframework.beans.factory.ObjectProvider<SessionData> sessionDataProvider) -
sessionEventHttpSessionListenerAdapter
@Bean public org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter sessionEventHttpSessionListenerAdapter() -
setHttpSessionListeners
@Autowired(required=false) public void setHttpSessionListeners(List<jakarta.servlet.http.HttpSessionListener> listeners)
-