<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

    <import resource="file:${user.home}/.arkcase/acm/encryption/spring-properties-encryption.xml"/>

    <!-- property placeholder for all properties files -->
    <bean id="arkCasePropertyConfigurer"
        class="com.armedia.acm.crypto.properties.AcmEncryptablePropertySourcesPlaceholderConfigurer">
        <property name="encryptablePropertyUtils" ref="acmEncryptablePropertyUtils"/>
        <property name="ignoreResourceNotFound" value="true"/>
        <property name="localOverride" value="false"/>
        <property name="order" value="42"/>
        <property name="ignoreUnresolvablePlaceholders" value="true"/>
        <property name="locations">
            <list>
                <value>file:${user.home}/.arkcase/acm/sso/spring-config-armedia-sso.properties</value>
                <value>file:${user.home}/.arkcase/acm/spring/spring-config-kerberos.properties</value>
                <value>file:${user.home}/.arkcase/acm/spring/spring-config-saml.properties</value>
            </list>
        </property>
    </bean>

    <bean id="propertyFileManager" class="com.armedia.acm.files.propertymanager.PropertyFileManager">
        <property name="encryptablePropertyUtils" ref="acmEncryptablePropertyUtils"/>
    </bean>
</beans>
