(no commit message)
[utils] / security / impl / src / main / resources / hbm / AuthorizationService.hbm.xml
index f8e036ca61a8aa74c5cfad73ae80414496d5db15..4396b6b77b53cec06e42692c1bce76252b6513fd 100644 (file)
@@ -5,7 +5,7 @@
     
     <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"/>
@@ -21,7 +21,7 @@
                 <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>
@@ -30,7 +30,7 @@
         
         <query name="findAuthorizationServiceByName">
             select service
-            from org.wamblee.security.authorization.AuthorizationService service
+            from org.wamblee.security.authorization.AbstractAuthorizationService service
             where service.name = :name 
         </query>