1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
6 <bean id="org.wamblee.usermgt.UserAccessor"
7 class="org.wamblee.security.authorization.TestUserAccessor">
11 <bean id="org.wamblee.security.authorization.OperationRegistry"
12 class="org.wamblee.security.authorization.DefaultOperationRegistry">
15 <bean class="org.wamblee.security.authorization.AllOperation"/>
16 <bean class="org.wamblee.security.authorization.CreateOperation"/>
17 <bean class="org.wamblee.security.authorization.DeleteOperation"/>
18 <bean class="org.wamblee.security.authorization.ReadOperation"/>
19 <bean class="org.wamblee.security.authorization.WriteOperation"/>
24 <bean id="org.wamblee.security.authorization.AuthorizationService"
25 class="org.wamblee.security.authorization.hibernate.PersistentAuthorizationService">
26 <constructor-arg><value>DEFAULT</value></constructor-arg>
27 <constructor-arg><ref bean="org.springframework.orm.hibernate3.HibernateTemplate"/></constructor-arg>
28 <constructor-arg><ref bean="org.wamblee.usermgt.UserAccessor"/></constructor-arg>
29 <constructor-arg><value type="long">10000</value></constructor-arg>
33 <bean id="anyUserCondition" class="org.wamblee.security.authorization.AnyUserCondition">
36 <!-- administrators -->
37 <bean id="adminUserCondition" class="org.wamblee.security.authorization.GroupUserCondition">
38 <constructor-arg><value>administrators</value></constructor-arg>