Package cronapp.framework.security
Class SessionConfiguration
java.lang.Object
cronapp.framework.security.SessionConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.savedrequest.RequestCacheorg.springframework.boot.web.servlet.ServletListenerRegistrationBean<jakarta.servlet.http.HttpSessionListener> org.springframework.session.config.SessionRepositoryCustomizer<org.springframework.session.jdbc.JdbcIndexedSessionRepository> sessionRepositoryCustomizer(DataSource dataSource)
-
Constructor Details
-
SessionConfiguration
public SessionConfiguration()
-
-
Method Details
-
sessionCustomizer
-
sessionListener
@Bean public org.springframework.boot.web.servlet.ServletListenerRegistrationBean<jakarta.servlet.http.HttpSessionListener> sessionListener() -
requestCache
@Bean public org.springframework.security.web.savedrequest.RequestCache requestCache() -
sessionDataSource
@Bean(name="sessionDataSource") @SpringSessionDataSource @ConditionalOnProperty("cronapp.data.enabled") public DataSource sessionDataSource() throws NamingException- Throws:
NamingException
-
sessionRepositoryCustomizer
@Bean @ConditionalOnProperty("cronapp.data.enabled") public org.springframework.session.config.SessionRepositoryCustomizer<org.springframework.session.jdbc.JdbcIndexedSessionRepository> sessionRepositoryCustomizer(@SpringSessionDataSource DataSource dataSource)
-