[jboss-cvs] Repository SVN: r1146 - in jboss-portal/modules/common/1.0.0-SNAPSHOT: resources and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Aug 27 17:56:00 EDT 2007


Author: bdaw
Date: 2007-08-27 17:56:00 -0400 (Mon, 27 Aug 2007)
New Revision: 1146

Added:
   jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/
   jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain-identity.hbm.xml
   jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain.hbm.xml
Modified:
   jboss-portal/modules/common/1.0.0-SNAPSHOT/component-info.xml
Log:
portal identity module resource files

Modified: jboss-portal/modules/common/1.0.0-SNAPSHOT/component-info.xml
===================================================================
--- jboss-portal/modules/common/1.0.0-SNAPSHOT/component-info.xml	2007-08-27 21:23:00 UTC (rev 1145)
+++ jboss-portal/modules/common/1.0.0-SNAPSHOT/component-info.xml	2007-08-27 21:56:00 UTC (rev 1146)
@@ -1,16 +1,15 @@
-<project name="jboss-portal-common-component-info">
-   <!-- build from SVN revision 7971 -->
-   <component id="jboss-portal/modules/common"
+<project name="jboss-portal-identity-component-info">
+   <!-- build from SVN revision 8053 -->
+   <component id="jboss-portal/modules/identity"
               licenseType="lgpl"
               version="1.0.0-SNAPSHOT"
               projectHome="http://labs.jboss.com/jbossportal"
-              description="JBoss Portal common module libraries">
-      <artifact id="portal-common-lib.jar"/>
-      <artifact id="portal-common-portal-lib.jar"/>
+              description="JBoss Portal identity module libraries">
+      <artifact id="portal-identity-lib.jar"/>
+      <artifact id="domain.hbm.xml"/>
+      <artifact id="domain-identity.hbm.xml"/>
       <export>
-         <include input="portal-common-lib.jar"/>
-         <include input="portal-common-portal-lib.jar"/>
+         <include input="portal-identity-lib.jar"/>
       </export>
    </component>
-
 </project>

Added: jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain-identity.hbm.xml
===================================================================
--- jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain-identity.hbm.xml	                        (rev 0)
+++ jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain-identity.hbm.xml	2007-08-27 21:56:00 UTC (rev 1146)
@@ -0,0 +1,177 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+   <class
+      name="org.jboss.portal.identity.db.HibernateUserImpl"
+      table="jbp_users">
+      <!--<cache usage="@portal.hibernate.cache.usage@"/>-->
+       <id
+          name="key"
+          column="jbp_uid"
+          type="java.lang.Long">
+          <generator class="native">
+             <param name="sequence">user_seq</param>
+          </generator>
+       </id>
+      <property
+         name="userName"
+         column="jbp_uname"
+         type="java.lang.String"
+         update="false"
+         insert="true"
+         unique="true"/>
+       <map
+          name="dynamic"
+          table="jbp_user_prop"
+          lazy="false"
+          sort="unsorted"
+          cascade="all">
+          <!--<cache usage="@portal.hibernate.cache.usage@"/>-->
+          <key column="jbp_uid"/>
+          <index
+             column="jbp_name"
+             type="java.lang.String"/>
+          <element
+             column="jbp_value"
+             type="java.lang.String"
+             not-null="false"
+             unique="false"/>
+       </map>
+      <property
+         name="givenName"
+         column="jbp_givenname"
+         type="java.lang.String"
+         update="true"
+         insert="true"
+         unique="false"/>
+       <property
+          name="familyName"
+          column="jbp_familyname"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="password"
+          column="jbp_password"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="realEmail"
+          column="jbp_realemail"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="fakeEmail"
+          column="jbp_fakeemail"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="registrationDate"
+          column="jbp_regdate"
+          type="java.util.Date"
+          update="false"
+          insert="true"
+          unique="false"/>
+       <property
+          name="viewRealEmail"
+          column="jbp_viewrealemail"
+          type="boolean"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="enabled"
+          column="jbp_enabled"
+          type="boolean"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <set
+          name="roles"
+          table="jbp_role_membership"
+          lazy="false"
+          inverse="false"
+          cascade="none"
+          sort="unsorted">
+          <!--<cache usage="@portal.hibernate.cache.usage@"/>-->
+          <key column="jbp_uid"/>
+          <many-to-many
+             class="org.jboss.portal.identity.db.HibernateRoleImpl"
+             column="jbp_rid"
+             outer-join="true"/>
+       </set>
+   </class>
+   <class
+      name="org.jboss.portal.identity.db.HibernateRoleImpl"
+      table="jbp_roles">
+      <!--<cache usage="@portal.hibernate.cache.usage@"/>-->
+      <id
+         name="key"
+         column="jbp_rid"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">user_seq</param>
+         </generator>
+      </id>
+      <property
+         name="name"
+         column="jbp_name"
+         type="java.lang.String"
+         update="false"
+         insert="true"
+         unique="true"/>
+      <property
+         name="displayName"
+         column="jbp_displayname"
+         type="java.lang.String"
+         update="true"
+         insert="true"
+         unique="true"/>
+      <set
+         name="users"
+         table="jbp_role_membership"
+         lazy="true"
+         inverse="true"
+         cascade="none"
+         sort="unsorted">
+         <!--<cache usage="@portal.hibernate.cache.usage@"/>-->
+         <key column="jbp_rid"/>
+         <many-to-many
+            class="org.jboss.portal.identity.db.HibernateUserImpl"
+            column="jbp_uid"
+            outer-join="false"/>
+      </set>
+   </class>
+</hibernate-mapping>
\ No newline at end of file

Added: jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain.hbm.xml
===================================================================
--- jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain.hbm.xml	                        (rev 0)
+++ jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain.hbm.xml	2007-08-27 21:56:00 UTC (rev 1146)
@@ -0,0 +1,177 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+   <class
+      name="org.jboss.portal.identity.db.HibernateUserImpl"
+      table="jbp_users">
+      <cache usage="@portal.hibernate.cache.usage@"/>
+       <id
+          name="key"
+          column="jbp_uid"
+          type="java.lang.Long">
+          <generator class="native">
+             <param name="sequence">user_seq</param>
+          </generator>
+       </id>
+      <property
+         name="userName"
+         column="jbp_uname"
+         type="java.lang.String"
+         update="false"
+         insert="true"
+         unique="true"/>
+       <map
+          name="dynamic"
+          table="jbp_user_prop"
+          lazy="false"
+          sort="unsorted"
+          cascade="all">
+          <cache usage="@portal.hibernate.cache.usage@"/>
+          <key column="jbp_uid"/>
+          <index
+             column="jbp_name"
+             type="java.lang.String"/>
+          <element
+             column="jbp_value"
+             type="java.lang.String"
+             not-null="false"
+             unique="false"/>
+       </map>
+      <property
+         name="givenName"
+         column="jbp_givenname"
+         type="java.lang.String"
+         update="true"
+         insert="true"
+         unique="false"/>
+       <property
+          name="familyName"
+          column="jbp_familyname"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="password"
+          column="jbp_password"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="realEmail"
+          column="jbp_realemail"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="fakeEmail"
+          column="jbp_fakeemail"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="registrationDate"
+          column="jbp_regdate"
+          type="java.util.Date"
+          update="false"
+          insert="true"
+          unique="false"/>
+       <property
+          name="viewRealEmail"
+          column="jbp_viewrealemail"
+          type="boolean"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="enabled"
+          column="jbp_enabled"
+          type="boolean"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <set
+          name="roles"
+          table="jbp_role_membership"
+          lazy="false"
+          inverse="false"
+          cascade="none"
+          sort="unsorted">
+          <cache usage="@portal.hibernate.cache.usage@"/>
+          <key column="jbp_uid"/>
+          <many-to-many
+             class="org.jboss.portal.identity.db.HibernateRoleImpl"
+             column="jbp_rid"
+             outer-join="true"/>
+       </set>
+   </class>
+   <class
+      name="org.jboss.portal.identity.db.HibernateRoleImpl"
+      table="jbp_roles">
+      <cache usage="@portal.hibernate.cache.usage@"/>
+      <id
+         name="key"
+         column="jbp_rid"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">user_seq</param>
+         </generator>
+      </id>
+      <property
+         name="name"
+         column="jbp_name"
+         type="java.lang.String"
+         update="false"
+         insert="true"
+         unique="true"/>
+      <property
+         name="displayName"
+         column="jbp_displayname"
+         type="java.lang.String"
+         update="true"
+         insert="true"
+         unique="true"/>
+      <set
+         name="users"
+         table="jbp_role_membership"
+         lazy="true"
+         inverse="true"
+         cascade="none"
+         sort="unsorted">
+         <cache usage="@portal.hibernate.cache.usage@"/>
+         <key column="jbp_rid"/>
+         <many-to-many
+            class="org.jboss.portal.identity.db.HibernateUserImpl"
+            column="jbp_uid"
+            outer-join="false"/>
+      </set>
+   </class>
+</hibernate-mapping>
\ No newline at end of file


Property changes on: jboss-portal/modules/common/1.0.0-SNAPSHOT/resources/domain.hbm.xml
___________________________________________________________________
Name: svn:executable
   + *




More information about the jboss-cvs-commits mailing list