2 <!DOCTYPE hibernate-mapping PUBLIC
3 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
8 <class name="org.wamblee.security.authorization.AuthorizationRule"
9 table="AUTHORIZATION_RULES"
10 select-before-update="true"
12 <id name="primaryKey" column="ID" type="long">
13 <generator class="native"/>
15 <discriminator column="TYPE" type="string"/>
16 <version name="persistedVersion" column="VERSION"/>
18 <subclass name="org.wamblee.security.authorization.UrlAuthorizationRule"
19 discriminator-value="ISINGROUP"
21 <property name="authorizationResultString" column="RESULT"/>
22 <property name="resourceClassName" column="RESOURCE_CLASSNAME"/>
23 <many-to-one name="userCondition"
24 class="org.wamblee.security.authorization.UserCondition"
25 column="USERCONDITION_ID"
28 <many-to-one name="pathCondition"
29 class="org.wamblee.security.authorization.PathCondition"
30 column="PATHCONDITION_ID"
33 <many-to-one name="operationCondition"
34 class="org.wamblee.security.authorization.OperationCondition"
35 column="OPERATIONCONDITION_ID"