</property>
</bean>
- <bean id="nodeJcrRepository" class="org.argeo.jackrabbit.JackrabbitContainer">
+ <bean id="nodeJcrRepository" class="org.argeo.jackrabbit.JackrabbitContainer"
+ init-method="init" destroy-method="dispose">
<property name="uri" value="${argeo.node.repo.uri}" />
<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/argeo" />
+ <entry key="argeo" value="http://www.argeo.org/ns/argeo" />
</map>
</property>
<property name="cndFiles">
</property>
</bean>
- <bean id="nodeJcrSession" class="org.argeo.jcr.ThreadBoundJcrSessionFactory">
- <property name="repository" ref="nodeJcrRepository" />
- <property name="workspace" value="${argeo.node.repo.workspace}" />
- </bean>
-
- <bean id="jcrAuthenticationProvider"
- class="org.argeo.security.jackrabbit.providers.JackrabbitAuthenticationProvider" />
-
- <bean id="repositoryFactory" class="org.argeo.jackrabbit.JackrabbitRepositoryFactory">
+ <!-- Execute initialization with a system authentication -->
+ <bean
+ class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
+ <property name="authenticationManager" ref="authenticationManager" />
</bean>
</beans>
\ No newline at end of file