]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.security.ui.admin/META-INF/spring/common.xml
Move to the root the bundles which will be part of v1.4 and v2.2
[lgpl/argeo-commons.git] / org.argeo.security.ui.admin / META-INF / spring / common.xml
diff --git a/org.argeo.security.ui.admin/META-INF/spring/common.xml b/org.argeo.security.ui.admin/META-INF/spring/common.xml
new file mode 100644 (file)
index 0000000..737f304
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans xmlns="http://www.springframework.org/schema/beans"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
+\r
+       <bean\r
+               class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">\r
+               <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />\r
+               <property name="locations">\r
+                       <value>osgibundle:security-admin.properties</value>\r
+               </property>\r
+       </bean>\r
+\r
+       <!-- FIXME Hard-coded dependency to Jackrabbit for user management -->\r
+       <bean name="jcrSecurityModel" class="org.argeo.security.jackrabbit.JackrabbitSecurityModel" />\r
+\r
+       <!-- Old deprecated way. -->\r
+       <!-- <bean id="session" class="org.argeo.security.jcr.SecureThreadBoundSession"> \r
+               <property name="repository" ref="nodeRepository" /> </bean> -->\r
+</beans>
\ No newline at end of file