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.UserCondition" table="USER_CONDITIONS"
9 select-before-update="true"
11 <id name="primaryKey" column="ID" type="long">
12 <generator class="native"/>
14 <discriminator column="TYPE" type="string"/>
15 <version name="persistedVersion" column="VERSION"/>
17 <subclass name="org.wamblee.security.authorization.GroupUserCondition"
18 discriminator-value="URL"
20 <property name="group" column="GROUPNAME"/>
23 <subclass name="org.wamblee.security.authorization.AnyUserCondition"
24 discriminator-value="ANY"