1 |
18399
|
antonis.le
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
|
3 |
47597
|
katerina.i
|
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4 |
50505
|
stefanos.g
|
xmlns:context="http://www.springframework.org/schema/context"
|
5 |
|
|
xmlns="http://www.springframework.org/schema/beans"
|
6 |
|
|
xmlns:security="http://www.springframework.org/schema/security"
|
7 |
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
8 |
50400
|
katerina.i
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
|
9 |
|
|
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd">
|
10 |
18399
|
antonis.le
|
|
11 |
50505
|
stefanos.g
|
<import resource="classpath:META-INF/cxf/cxf.xml"/>
|
12 |
|
|
<!-- <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> -->
|
13 |
|
|
<!-- <import resource="classpath:META-INF/cxf/cxf-extension-jaxws.xml" /> -->
|
14 |
|
|
<!-- <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> -->
|
15 |
18399
|
antonis.le
|
|
16 |
50505
|
stefanos.g
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-commons.xml"/>
|
17 |
|
|
<import resource="classpath*:/gr/uoa/di/driver/util/springContext-locators.xml"/>
|
18 |
|
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-registrator.xml"/>
|
19 |
|
|
<import resource="classpath*:/eu/dnetlib/clients/ws/springContext-locatorFactory.xml"/>
|
20 |
|
|
<import resource="classpath*:/eu/dnetlib/soap/cxf/applicationContext-eprbuilders.xml"/>
|
21 |
|
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.xml"/>
|
22 |
|
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupClients.xml"/>
|
23 |
|
|
<import resource="classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.xml"/>
|
24 |
|
|
<import resource="classpath*:/eu/dnetlib/data/claims/migration/springContext-claimsDemo.xml"/>
|
25 |
|
|
<import resource="classpath*:/eu/dnetlib/openaire/rest/springContext-claims-authorization.xml"/>
|
26 |
|
|
<!--
|
27 |
|
|
<import resource="classpath*:/eu/dnetlib/openaire/thrift/springContext-openaire-thrift.xml" /> -->
|
28 |
|
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" id="propertySourcesPlaceholderConfigurer">
|
29 |
|
|
<property name="order" value="2"/>
|
30 |
|
|
<property name="ignoreUnresolvablePlaceholders" value="true"/>
|
31 |
|
|
<property name="properties">
|
32 |
|
|
<bean class="eu.dnetlib.conf.WebappContextProperyFactory">
|
33 |
|
|
<property name="propertyFetcher">
|
34 |
|
|
<bean class="eu.dnetlib.conf.PropertyFetcher"/>
|
35 |
|
|
</property>
|
36 |
|
|
</bean>
|
37 |
|
|
</property>
|
38 |
|
|
<property name="locations">
|
39 |
|
|
<list>
|
40 |
|
|
<value>classpath*:/eu/**/applicationContext*.properties</value>
|
41 |
|
|
<value>classpath*:/eu/dnetlib/applicationContext-defaultProperties.properties</value>
|
42 |
|
|
<value>classpath*:/gr/**/springContext-commons.properties</value>
|
43 |
|
|
<value>classpath*:/gr/**/springContext-registrator.properties</value>
|
44 |
|
|
<value>classpath*:/gr/**/springContext-locators.properties</value>
|
45 |
18399
|
antonis.le
|
|
46 |
50505
|
stefanos.g
|
<value>classpath*:/eu/dnetlib/data/claims/migration/springContext-claimsDemo.properties</value>
|
47 |
|
|
<value>classpath*:/eu/dnetlib/openaire/rest/springContext-claims-authorization.properties</value>
|
48 |
|
|
<value>classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.properties</value>
|
49 |
|
|
<value>classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.properties</value>
|
50 |
42620
|
katerina.i
|
|
51 |
50505
|
stefanos.g
|
<value>classpath*:/eu/dnetlib/openaire/applicationContext-openaire.properties</value>
|
52 |
|
|
<value>classpath*:/eu/dnetlib/openaire/thrift/springContext-openaire-thrift.properties</value>
|
53 |
23837
|
antonis.le
|
|
54 |
|
|
|
55 |
50505
|
stefanos.g
|
<value>classpath*:dnet-site-override.properties</value>
|
56 |
|
|
<value>classpath*:dnet-dnet-openaire-connector-wizard.properties</value>
|
57 |
|
|
<value>classpath*:dnet-dnet-openaire-connector-override.properties</value>
|
58 |
42620
|
katerina.i
|
|
59 |
50505
|
stefanos.g
|
<value>classpath*:/uoa-override.properties</value>
|
60 |
|
|
<value>classpath*:/dnet-override.properties</value>
|
61 |
23837
|
antonis.le
|
|
62 |
50505
|
stefanos.g
|
<value>classpath*:dnet-force-override.properties</value>
|
63 |
23837
|
antonis.le
|
|
64 |
50505
|
stefanos.g
|
</list>
|
65 |
|
|
</property>
|
66 |
|
|
</bean>
|
67 |
23837
|
antonis.le
|
|
68 |
50505
|
stefanos.g
|
<context:annotation-config/>
|
69 |
|
|
<context:component-scan base-package="eu.dnetlib.openaire.rest"/>
|
70 |
18405
|
antonis.le
|
|
71 |
50505
|
stefanos.g
|
<bean class="org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration"/>
|
72 |
|
|
<bean class="org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory">
|
73 |
|
|
<constructor-arg value="83.212.101.85"/>
|
74 |
|
|
<constructor-arg value="6379"/>
|
75 |
|
|
<!--<property name="password" value="${redis.password:#{null}}"/>-->
|
76 |
|
|
</bean>
|
77 |
50400
|
katerina.i
|
|
78 |
50505
|
stefanos.g
|
<bean class="org.springframework.session.web.http.DefaultCookieSerializer">
|
79 |
|
|
<property name="cookieName" value="SESSION"/>
|
80 |
|
|
<property name="cookiePath" value="/"/>
|
81 |
|
|
</bean>
|
82 |
50400
|
katerina.i
|
|
83 |
50505
|
stefanos.g
|
<!-- Enable SPEL annotation-->
|
84 |
|
|
<security:global-method-security pre-post-annotations="enabled" proxy-target-class="true"
|
85 |
|
|
authentication-manager-ref="authenticationManager"/>
|
86 |
50400
|
katerina.i
|
|
87 |
50505
|
stefanos.g
|
<security:http auto-config="false" use-expressions="true"
|
88 |
|
|
disable-url-rewriting="true" entry-point-ref="authenticationEntryPoint"
|
89 |
|
|
pattern="/**">
|
90 |
|
|
</security:http>
|
91 |
50400
|
katerina.i
|
|
92 |
50505
|
stefanos.g
|
<!--Disable authentication from this service-->
|
93 |
|
|
<bean id="authenticationEntryPoint"
|
94 |
|
|
class="org.springframework.security.web.authentication.Http403ForbiddenEntryPoint"/>
|
95 |
|
|
<security:authentication-manager alias="authenticationManager"/>
|
96 |
50400
|
katerina.i
|
|
97 |
50505
|
stefanos.g
|
<!--
|
98 |
|
|
<context:component-scan base-package="eu.dnetlib.api.enabling"/>
|
99 |
|
|
-->
|
100 |
50400
|
katerina.i
|
|
101 |
50505
|
stefanos.g
|
<!-- if the following import is not the last one, something overrides bus
|
102 |
|
|
configuration disabling logging and any other customized feature. -->
|
103 |
50400
|
katerina.i
|
|
104 |
50505
|
stefanos.g
|
<import resource="./cxf.xml"/>
|
105 |
18405
|
antonis.le
|
|
106 |
|
|
</beans>
|