Class JdbcSessionConfiguration
java.lang.Object
com.wavemaker.runtime.security.session.configuration.JdbcSessionConfiguration
@Configuration
@Conditional({SecurityEnabledCondition.class,JdbcSessionConfigCondition.class})
public class JdbcSessionConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.transaction.PlatformTransactionManagerorg.springframework.security.core.session.SessionRegistrysessionRegistry(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository) org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository(org.springframework.beans.factory.ObjectProvider<DataSource> springSessionDataSource, org.springframework.beans.factory.ObjectProvider<DataSource> jdbcSessionPersistenceDataSource, org.springframework.beans.factory.ObjectProvider<org.springframework.session.config.SessionRepositoryCustomizer<WMJdbcIndexedSessionRepository>> sessionRepositoryCustomizers)
-
Constructor Details
-
JdbcSessionConfiguration
public JdbcSessionConfiguration()
-
-
Method Details
-
jdbcSessionRepositoryTransactionManager
@Bean(name="jdbcSessionRepositoryTransactionManager") public org.springframework.transaction.PlatformTransactionManager jdbcSessionRepositoryTransactionManager() -
sessionRepository
@Bean public org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository(@SpringSessionDataSource org.springframework.beans.factory.ObjectProvider<DataSource> springSessionDataSource, org.springframework.beans.factory.ObjectProvider<DataSource> jdbcSessionPersistenceDataSource, org.springframework.beans.factory.ObjectProvider<org.springframework.session.config.SessionRepositoryCustomizer<WMJdbcIndexedSessionRepository>> sessionRepositoryCustomizers) -
sessionRegistry
@Bean(name="sessionRegistry") public org.springframework.security.core.session.SessionRegistry sessionRegistry(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository) -
jdbcSessionScriptInitializer
@Bean(name="jdbcSessionScriptInitializer") public JdbcSessionScriptInitializer jdbcSessionScriptInitializer() -
dataSource
-