All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.runtime.wavemaker-app-runtime-core.10.6.0.source-code.jdbc_session_config.xml Maven / Gradle / Ivy

There is a newer version: 11.9.2.ee
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context
           		http://www.springframework.org/schema/context/spring-context.xsd">

    <bean class="org.springframework.jdbc.datasource.DataSourceTransactionManager" id="jdbcSessionRepositoryTransactionManager">
        <constructor-arg ref="${session.jdbc.serviceName}DataSource"/>
    </bean>

    <alias name="${session.jdbc.serviceName}DataSource" alias="dataSource"/>
    <bean class="org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration" id="jdbcHttpSessionConfiguration">
        <property name="maxInactiveIntervalInSeconds" value="#{${general.session.timeout} * 60}"/>
        <property name="transactionManager" ref="jdbcSessionRepositoryTransactionManager"/>
    </bean>
    <context:annotation-config/>
    <bean class="com.wavemaker.runtime.security.session.JdbcSessionScriptInitializer" id="jdbcSessionScriptInitializer"/>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy