]> git.argeo.org Git - lgpl/argeo-commons.git/blob - spring/noderepo.xml
Prepare next development cycle
[lgpl/argeo-commons.git] / spring / noderepo.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
5
6 <bean
7 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
8 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
9 <property name="locations">
10 <value>osgibundle:noderepo.properties</value>
11 </property>
12 </bean>
13
14 <bean id="nodeJcrRepository" class="org.argeo.jackrabbit.JackrabbitContainer"
15 init-method="init" destroy-method="dispose">
16 <property name="uri" value="${argeo.node.repo.uri}" />
17 <property name="homeDirectory" value="${argeo.node.repo.home}" />
18 <property name="configuration" value="${argeo.node.repo.configuration}" />
19 <property name="variables" value="osgibundle:/noderepo.properties" />
20 <property name="namespaces">
21 <map>
22 <entry key="argeo" value="http://www.argeo.org/ns/argeo" />
23 </map>
24 </property>
25 <property name="cndFiles">
26 <list>
27 <value>classpath:/org/argeo/jcr/argeo.cnd</value>
28 </list>
29 </property>
30 <property name="remoteSystemCredentials">
31 <bean class="javax.jcr.SimpleCredentials">
32 <constructor-arg value="root" />
33 <constructor-arg value="demo" />
34 </bean>
35 </property>
36 </bean>
37
38 <!-- Execute initialization with a system authentication -->
39 <bean
40 class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
41 <property name="authenticationManager" ref="authenticationManager" />
42 </bean>
43
44 </beans>