]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/META-INF/spring/backend.xml
New project conventions
[lgpl/argeo-commons.git] / org.argeo.cms / META-INF / spring / backend.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:util="http://www.springframework.org/schema/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:p="http://www.springframework.org/schema/p"
5 xsi:schemaLocation="http://www.springframework.org/schema/beans
6 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
8
9 <!-- BACKEND -->
10
11 <bean id="cmsRepository" class="org.argeo.jackrabbit.JackrabbitWrapper"
12 init-method="init" destroy-method="destroy">
13 <property name="cndFiles">
14 <list>
15 <value>/org/argeo/cms/cms.cnd</value>
16 </list>
17 </property>
18 <property name="repository" ref="repository" />
19 <property name="bundleContext" ref="bundleContext" />
20 </bean>
21
22 <!-- Execute initialization with a system authentication -->
23 <bean
24 class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
25 <property name="authenticationManager" ref="authenticationManager" />
26 <property name="beanNames">
27 <list>
28 <value>cmsRepository</value>
29 </list>
30 </property>
31 </bean>
32 </beans>