]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.security.ui.admin/META-INF/spring/views.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 / views.xml
diff --git a/org.argeo.security.ui.admin/META-INF/spring/views.xml b/org.argeo.security.ui.admin/META-INF/spring/views.xml
new file mode 100644 (file)
index 0000000..2ddb05f
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+        http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+       <bean id="adminUsersView" class="org.argeo.security.ui.admin.views.UsersView"
+               scope="prototype">
+               <property name="repository" ref="nodeRepository" />
+               <!-- <property name="session" ref="session" />  -->
+       </bean>
+       
+       <bean id="adminRolesView" class="org.argeo.security.ui.admin.views.RolesView"
+               scope="prototype">
+               <property name="userAdminService" ref="userAdminService" />
+       </bean>
+</beans>