<commit_before><?xml version="1.0" encoding="UTF-8" ?>

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

    <!--	<bean id="classpathDsManager"
            class="org.saiku.service.datasource.ClassPathResourceDatasourceManager">
            <property name="path" value="res:saiku-datasources" />
        </bean>-->
    <bean id="repositoryDsManager" class="org.saiku.service.datasource.RepositoryDatasourceManager" init-method="load" destroy-method="unload">
        <property name="userService" ref="userServiceBean"/>
    </bean>

    <!-- <property name="path" value="file:///var/saiku/saiku-datasources/"/> -->
    <bean id="h2database" class="org.saiku.database.Database" init-method="init">
        <property name="datasourceManager" ref="repositoryDsManager"/>
    </bean>

    <bean id="sessionService" class="org.saiku.web.service.SessionService">
        <property name="authenticationManager" ref="authenticationManager" />
    </bean>

    <bean id="connectionManager" class="org.saiku.web.impl.SecurityAwareConnectionManager" init-method="init" destroy-method="destroy">
        <property name="dataSourceManager" ref="repositoryDsManager" />
        <property name="sessionService" ref="sessionService" />

    </bean>

    <bean id="datasourceServiceBean" class="org.saiku.service.datasource.DatasourceService">
        <property name="connectionManager" ref="connectionManager" />
    </bean>

    <bean id="customerDAO" class="org.saiku.database.JdbcUserDAO">
        <property name="dataSource" ref="dataSource" />
    </bean>

    <bean id="userServiceBean" class="org.saiku.service.user.UserService">
        <property name="jdbcUserDAO" ref="customerDAO"/><commit_msg>SKU-1128 fix sessions<commit_after><?xml version="1.0" encoding="UTF-8" ?>

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

    <!--	<bean id="classpathDsManager"
            class="org.saiku.service.datasource.ClassPathResourceDatasourceManager">
            <property name="path" value="res:saiku-datasources" />
        </bean>-->
    <bean id="repositoryDsManager" class="org.saiku.service.datasource.RepositoryDatasourceManager" init-method="load" destroy-method="unload">
        <property name="userService" ref="userServiceBean"/>
    </bean>

    <!-- <property name="path" value="file:///var/saiku/saiku-datasources/"/> -->
    <bean id="h2database" class="org.saiku.database.Database" init-method="init">
        <property name="datasourceManager" ref="repositoryDsManager"/>
    </bean>

    <bean id="sessionService" class="org.saiku.web.service.SessionService">
        <property name="authenticationManager" ref="authenticationManager" />
    </bean>
    <bean id="securityContextPersistenceFilter" class="org.springframework.security.web.context.SecurityContextPersistenceFilter" />
    <bean id="connectionManager" class="org.saiku.web.impl.SecurityAwareConnectionManager" init-method="init" destroy-method="destroy">
        <property name="dataSourceManager" ref="repositoryDsManager" />
        <property name="sessionService" ref="sessionService" />

    </bean>

    <bean id="datasourceServiceBean" class="org.saiku.service.datasource.DatasourceService">
        <property name="connectionManager" ref="connectionManager" />
    </bean>

    <bean id="customerDAO" class="org.saiku.database.JdbcUserDAO">
        <property name="dataSource" ref="dataSource" />
    </bean>

    <bean id="userServiceBean" class="org.saiku.service.user.UserService">
        <property name="jdbcUserDAO" ref="customerDAO"/>
{'fraction_non_alphanumeric': 0.16175723717623158, 'fraction_numerical': 0.006602336211274758, 'mean_word_length': 4.315789473684211, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 2, '>': 62, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6528418', 'n_tokens_mistral': 1199, 'n_tokens_neox': 1149, 'n_words': 152}