Revision 50296
Added by Panagiotis Kanakakis about 6 years ago
springContext-repo-manager.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
3 |
xmlns:util="http://www.springframework.org/schema/util" |
|
4 | 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 |
xmlns:task="http://www.springframework.org/schema/task" |
|
6 | 4 |
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 |
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd |
|
9 |
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd" |
|
5 |
xmlns:util="http://www.springframework.org/schema/util" xmlns:task="http://www.springframework.org/schema/task" |
|
6 |
xsi:schemaLocation="http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd |
|
7 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd |
|
8 |
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd |
|
9 |
|
|
10 |
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd" |
|
10 | 11 |
default-autowire="byType"> |
11 | 12 |
|
13 |
|
|
12 | 14 |
<task:annotation-driven executor="myExecutor" scheduler="myScheduler"/> |
13 | 15 |
<task:executor id="myExecutor" pool-size="5"/> |
14 | 16 |
<task:scheduler id="myScheduler" pool-size="10"/> |
15 | 17 |
|
18 |
|
|
19 |
|
|
16 | 20 |
<bean id="maillib" class="eu.dnetlib.utils.MailLibrary" init-method="init"> |
17 | 21 |
<property name="mailhost" value="${services.validator.mail.host}"/> |
18 | 22 |
<property name="smtpPort" value="${services.validator.mail.port}"/> |
... | ... | |
25 | 29 |
<property name="debug" value="${services.validator.mail.debug}"/> |
26 | 30 |
</bean> |
27 | 31 |
|
28 |
<security:global-method-security pre-post-annotations="enabled" proxy-target-class="true" authentication-manager-ref="authenticationManager"/> |
|
32 |
<bean id="webexpressionHandler" |
|
33 |
class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/> |
|
29 | 34 |
|
35 |
<security:global-method-security pre-post-annotations="enabled" proxy-target-class="true" |
|
36 |
authentication-manager-ref="authenticationManager"/> |
|
37 |
|
|
30 | 38 |
<security:http auto-config="false" use-expressions="true" |
31 | 39 |
disable-url-rewriting="true" entry-point-ref="authenticationEntryPoint" |
32 | 40 |
pattern="/**"> |
... | ... | |
66 | 74 |
</util:set> |
67 | 75 |
|
68 | 76 |
|
69 |
<bean class="eu.openminted.registry.beans.FrontEndLinkURIAuthenticationSuccessHandler" id="frontEndRedirect">
|
|
77 |
<bean class="eu.dnetlib.repo.manager.server.utils.FrontEndLinkURIAuthenticationSuccessHandler" id="frontEndRedirect">
|
|
70 | 78 |
<property name="frontEndURI" value="${webapp.front}"/> |
71 | 79 |
</bean> |
72 | 80 |
<!-- |
Also available in: Unified diff
1. AAI communication established
2. Move validator methods to back end.