Project

General

Profile

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

    
3
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
       xmlns:context="http://www.springframework.org/schema/context"
5
       xmlns="http://www.springframework.org/schema/beans"
6
       xsi:schemaLocation="http://www.springframework.org/schema/beans
7
       http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
8
	   http://www.springframework.org/schema/context
9
		   http://www.springframework.org/schema/context/spring-context-4.2.xsd">
10

    
11

    
12
    <import resource="classpath*:/eu/dnetlib/openaire/user/springContext-userManagementService.xml" />
13
    <import resource="classpath*:/eu/dnetlib/openaire/user/login/springContext-userLoginCore.xml" />
14

    
15
    <context:component-scan base-package="eu.dnetlib.openaire.usermanagement.*"/>
16
    <context:annotation-config />
17

    
18
    <!--<bean id="webexpressionHandler"-->
19
          <!--class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/>-->
20

    
21
    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
22
        <property name="order" value="2" />
23
        <property name="ignoreUnresolvablePlaceholders" value="true" />
24
        <property name="properties">
25
            <bean class="eu.dnetlib.conf.WebappContextProperyFactory">
26
                <property name="propertyFetcher">
27
                    <bean class="eu.dnetlib.conf.PropertyFetcher" />
28
                </property>
29
            </bean>
30
        </property>
31
        <property name="locations">
32
            <list>
33
                <value>classpath*:/eu/**/applicationContext*.properties</value>
34
                <value>classpath*:/eu/dnetlib/applicationContext-defaultProperties.properties</value>
35
                <value>classpath*:/eu/**/springContext-userManagementService.properties</value>
36
                <value>classpath*:/eu/**/springContext-userLoginCore.properties</value>
37
                <value>classpath*:/eu/**/springContext-dnetOpenaireUsersService.properties</value>
38
                <value>classpath*:/uoa-override.properties</value>
39
                <value>classpath*:/dnet-override.properties</value>
40
            </list>
41
        </property>
42
    </bean>
43

    
44
</beans>
(1-1/4)