<hibernate-mapping>
- <class name="org.wamblee.security.authorization.AuthorizationRule"
+ <class name="org.wamblee.security.authorization.AbstractAuthorizationRule"
table="AUTHORIZATION_RULES"
select-before-update="true"
lazy="false">
<property name="authorizationResultString" column="RESULT"/>
<property name="resourceClassName" column="RESOURCE_CLASSNAME"/>
<many-to-one name="userCondition"
- class="org.wamblee.security.authorization.UserCondition"
+ class="org.wamblee.security.authorization.AbstractUserCondition"
column="USERCONDITION_ID"
cascade="all"
lazy="false"/>
<many-to-one name="pathCondition"
- class="org.wamblee.security.authorization.PathCondition"
+ class="org.wamblee.security.authorization.AbstractPathCondition"
column="PATHCONDITION_ID"
cascade="all"
lazy="false"/>
<many-to-one name="operationCondition"
- class="org.wamblee.security.authorization.OperationCondition"
+ class="org.wamblee.security.authorization.AbstractOperationCondition"
column="OPERATIONCONDITION_ID"
cascade="all"
lazy="false"/>
<hibernate-mapping>
- <class name="org.wamblee.security.authorization.AuthorizationService" table="AUTHORIZATION_SERVICE"
+ <class name="org.wamblee.security.authorization.AbstractAuthorizationService" table="AUTHORIZATION_SERVICE"
select-before-update="true">
<id name="primaryKey" column="ID" type="long">
<generator class="native"/>
<list name="mappedRules" table="AUTHORIZATION_SERVICE_RULES" lazy="false" cascade="all-delete-orphan">
<key column="ID"/>
<index column="POSITION"/>
- <many-to-many class="org.wamblee.security.authorization.AuthorizationRule"
+ <many-to-many class="org.wamblee.security.authorization.AbstractAuthorizationRule"
column="RULE_ID"/>
</list>
</subclass>
<query name="findAuthorizationServiceByName">
select service
- from org.wamblee.security.authorization.AuthorizationService service
+ from org.wamblee.security.authorization.AbstractAuthorizationService service
where service.name = :name
</query>
<hibernate-mapping>
- <class name="org.wamblee.security.authorization.OperationCondition" table="OPERATION_CONDITIONS"
+ <class name="org.wamblee.security.authorization.AbstractOperationCondition" table="OPERATION_CONDITIONS"
select-before-update="true"
lazy="false">
<id name="primaryKey" column="ID" type="long">
<hibernate-mapping>
- <class name="org.wamblee.security.authorization.PathCondition" table="PATH_CONDITIONS"
+ <class name="org.wamblee.security.authorization.AbstractPathCondition" table="PATH_CONDITIONS"
select-before-update="true"
lazy="false">
<id name="primaryKey" column="ID" type="long">
<hibernate-mapping>
- <class name="org.wamblee.security.authorization.PathCondition" table="PATH_CONDITIONS"
+ <class name="org.wamblee.security.authorization.AbstractPathCondition" table="PATH_CONDITIONS"
select-before-update="true"
lazy="false">
<id name="primaryKey" column="ID" type="long">
<hibernate-mapping>
- <class name="org.wamblee.security.authorization.UserCondition" table="USER_CONDITIONS"
+ <class name="org.wamblee.security.authorization.AbstractUserCondition" table="USER_CONDITIONS"
select-before-update="true"
lazy="false">
<id name="primaryKey" column="ID" type="long">