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.security.authorization.OperationRegistry"
7 class="org.wamblee.security.authorization.DefaultOperationRegistry">
10 <bean class="org.wamblee.security.authorization.AllOperation"/>
11 <bean class="org.wamblee.security.authorization.CreateOperation"/>
12 <bean class="org.wamblee.security.authorization.DeleteOperation"/>
13 <bean class="org.wamblee.security.authorization.ReadOperation"/>
14 <bean class="org.wamblee.security.authorization.WriteOperation"/>
19 <bean id="org.wamblee.security.authorization.AuthorizationService"
20 class="org.wamblee.security.authorization.hibernate.PersistentAuthorizationService">
21 <constructor-arg><value>DEFAULT</value></constructor-arg>
22 <constructor-arg><ref bean="org.springframework.orm.hibernate3.HibernateTemplate"/></constructor-arg>
23 <constructor-arg><ref bean="org.wamblee.usermgt.UserAccessor"/></constructor-arg>
24 <constructor-arg><value type="long">10000</value></constructor-arg>
28 <bean id="anyUserCondition" class="org.wamblee.security.authorization.AnyUserCondition">
31 <!-- administrators -->
32 <bean id="adminUserCondition" class="org.wamblee.security.authorization.GroupUserCondition">
33 <constructor-arg><value>administrators</value></constructor-arg>