+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
- <bean
- class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
- <property name="locations">
- <value>osgibundle:jackrabbit.properties</value>
- </property>
- </bean>
-
- <bean id="jcrRepository" class="org.argeo.jackrabbit.JackrabbitContainer"
- init-method="init" destroy-method="destroy">
- <property name="cndFiles">
- <list>
- <value>/org/argeo/slc/jcr/slc.cnd</value>
-<!-- <value>/org/argeo/slc/repo/repo.cnd</value> -->
- </list>
- </property>
- <property name="repository" ref="nodeRepository" />
- <property name="bundleContext" ref="bundleContext" />
- </bean>
-
- <!-- Security -->
- <bean class="org.argeo.jackrabbit.JackrabbitAuthorizations"
- init-method="run">
- <property name="principalPrivileges">
- <map>
- <entry key="jcr:all" value="ROLE_SLC" />
- </map>
- </property>
- <property name="repository" ref="jcrRepository" />
- </bean>
-
- <bean
- class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
- <description><![CDATA[Executes initialization with a system authentication]]></description>
- <property name="authenticationManager" ref="authenticationManager" />
- </bean>
-
-</beans>
\ No newline at end of file