Files
alfresco-community-repo/source/web/WEB-INF/web-application-context.xml
Kevin Roast 9732e0f9b6 Merged 5.2-DEV (5.2.0) to 5.2.N (5.2.N)
131352 kroast: ACE-4881 - [Pentest 121015] Multiple admin CSRF
      - Added CSRF filter config to protect the Alfresco Admin Console pages

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 15:14:22 +00:00

30 lines
1.5 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<!-- Top-level imports of XML configuration -->
<beans>
<import resource="classpath:alfresco/application-context.xml" />
<import resource="classpath:alfresco/web-scripts-application-context.xml" />
<import resource="classpath*:alfresco/enterprise-web-scripts-application-context.xml" />
<!--
To give final control over the tuning of the custom environment, the custom-web-context.xml file is processed
last (note: custom-web-context.xml isn't part of the source tree itself).
-->
<import resource="classpath*:alfresco/extension/custom-web-context.xml" />
<!-- Apply web-client-security-config.xml to web/webscript config sources -->
<bean id="webscripts.configsource" class="org.springframework.extensions.config.source.UrlConfigSource">
<constructor-arg>
<list>
<value>classpath:alfresco/web-scripts-config.xml</value>
<value>classpath:alfresco/web-client-security-config.xml</value>
<value>classpath:alfresco/extension/web-scripts-config-custom.xml</value>
</list>
</constructor-arg>
</bean>
<bean id="web.config" class="org.springframework.extensions.config.xml.XMLConfigService" init-method="init">
<constructor-arg>
<ref bean="webscripts.configsource" />
</constructor-arg>
</bean>
</beans>