</bean>
<bean id="nodeJcrRepository" class="org.argeo.jackrabbit.JackrabbitContainer"
- init-method="init" destroy-method="dispose">
- <property name="uri" value="${argeo.node.repo.uri}" />
+ init-method="init" destroy-method="destroy">
<property name="homeDirectory" value="${argeo.node.repo.home}" />
<property name="configuration" value="${argeo.node.repo.configuration}" />
<property name="variables" value="osgibundle:/noderepo.properties" />
- <property name="namespaces">
- <map>
- <entry key="argeo" value="http://www.argeo.org/ns/argeo" />
- </map>
- </property>
- <property name="cndFiles">
- <list>
- <value>classpath:/org/argeo/jcr/argeo.cnd</value>
- </list>
- </property>
- <property name="remoteSystemCredentials">
- <bean class="javax.jcr.SimpleCredentials">
- <constructor-arg value="root" />
- <constructor-arg value="demo" />
- </bean>
- </property>
</bean>
- <!-- Execute initialization with a system authentication -->
- <bean
- class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
- <property name="authenticationManager" ref="authenticationManager" />
+ <bean id="repositoryFactory" class="org.argeo.jackrabbit.OsgiJackrabbitRepositoryFactory">
+ <property name="bundleContext" ref="bundleContext" />
</bean>
</beans>
\ No newline at end of file