]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.node.jackrabbit/META-INF/spring/jackrabbit-osgi.xml
Migrate SLC modules
[gpl/argeo-slc.git] / org.argeo.slc.node.jackrabbit / META-INF / spring / jackrabbit-osgi.xml
diff --git a/org.argeo.slc.node.jackrabbit/META-INF/spring/jackrabbit-osgi.xml b/org.argeo.slc.node.jackrabbit/META-INF/spring/jackrabbit-osgi.xml
new file mode 100644 (file)
index 0000000..734721a
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+       xmlns:util="http://www.springframework.org/schema/util"\r
+       xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
+       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
+       http://www.springframework.org/schema/beans   \r
+       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+       http://www.springframework.org/schema/util\r
+       http://www.springframework.org/schema/util/spring-util-2.5.xsd">\r
+\r
+       <!-- REFERENCES -->\r
+       <reference id="nodeRepository" interface="javax.jcr.Repository"\r
+               filter="(argeo.jcr.repository.alias=node)" />\r
+\r
+       <reference id="authenticationManager"\r
+               interface="org.springframework.security.authentication.AuthenticationManager" />\r
+\r
+       <!-- SERVICES -->\r
+       <service ref="jcrRepository" interface="javax.jcr.Repository">\r
+               <service-properties>\r
+                       <beans:entry key="argeo.jcr.repository.alias" value="slc" />\r
+               </service-properties>\r
+       </service>\r
+\r
+</beans:beans>
\ No newline at end of file