svn commit: r442409 - in /incubator/ofbiz/trunk/applications: content/ content/data/ order/ order/data/ product/ product/data/ securityext/ securityext/data/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r442409 - in /incubator/ofbiz/trunk/applications: content/ content/data/ order/ order/data/ product/ product/data/ securityext/ securityext/data/

hansbak-2
Author: hansbak
Date: Mon Sep 11 18:40:22 2006
New Revision: 442409

URL: http://svn.apache.org/viewvc?view=rev&rev=442409
Log:
move all parties/userLogins not required for production from seed to demo data. Only party/Userlogin 'admin' as usable loginId left

Added:
    incubator/ofbiz/trunk/applications/content/data/BlogDemoData.xml   (with props)
    incubator/ofbiz/trunk/applications/content/data/UsersDemoData.xml
      - copied unchanged from r442383, incubator/ofbiz/trunk/applications/content/data/UsersData.xml
    incubator/ofbiz/trunk/applications/order/data/OrderDemoUser.xml   (with props)
    incubator/ofbiz/trunk/applications/product/data/ProductUserDemoData.xml   (with props)
    incubator/ofbiz/trunk/applications/securityext/data/UserDemoData.xml   (with props)
Removed:
    incubator/ofbiz/trunk/applications/content/data/UsersData.xml
Modified:
    incubator/ofbiz/trunk/applications/content/data/BlogData.xml
    incubator/ofbiz/trunk/applications/content/ofbiz-component.xml
    incubator/ofbiz/trunk/applications/order/data/OrderSecurityData.xml
    incubator/ofbiz/trunk/applications/order/ofbiz-component.xml
    incubator/ofbiz/trunk/applications/product/data/ProductSecurityData.xml
    incubator/ofbiz/trunk/applications/product/ofbiz-component.xml
    incubator/ofbiz/trunk/applications/securityext/data/PasswordSecurityData.xml
    incubator/ofbiz/trunk/applications/securityext/data/SecurityExtData.xml
    incubator/ofbiz/trunk/applications/securityext/ofbiz-component.xml

Modified: incubator/ofbiz/trunk/applications/content/data/BlogData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/data/BlogData.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/content/data/BlogData.xml (original)
+++ incubator/ofbiz/trunk/applications/content/data/BlogData.xml Mon Sep 11 18:40:22 2006
@@ -24,27 +24,7 @@
     <RoleType roleTypeId="BLOG_GUEST" parentTypeId="BLOG" hasTable="N" description="Blog Guest"/>
     <RoleType roleTypeId="PERMISSION_GROUP" hasTable="N" description="Permission Group"/>
     <RoleType roleTypeId="PERMISSION_GROUP_MBR" hasTable="N" description="Permission Group Member"/>
-
-    <Party partyId="BLOG_USERS" partyTypeId="PARTY_GROUP"/>
-    <Party partyId="BLOG_EDITORS" partyTypeId="PARTY_GROUP"/>
-    <Party partyId="BLOG_ADMINS" partyTypeId="PARTY_GROUP"/>
-    <Party partyId="BLOG_AUTHORS" partyTypeId="PARTY_GROUP"/>
-    <Party partyId="BLOG_PUBLISHERS" partyTypeId="PARTY_GROUP"/>
-
     <PartyRelationshipType partyRelationshipTypeId="BLOG_PERMISSION" description="Aggregates all blog users so role permissions can be set one time." partyRelationshipName="Blog Users"/>
-    <DataSource dataSourceId="BLOG_SITE" dataSourceTypeId="WEBSITE_ENTRY" description="Blog Site"/>
-
-    <PartyRole partyId="BLOG_USERS" roleTypeId="PERMISSION_GROUP"/>
-    <PartyRole partyId="BLOG_USERS" roleTypeId="BLOG_USER"/>
-    <PartyRole partyId="BLOG_EDITORS" roleTypeId="PERMISSION_GROUP"/>
-    <PartyRole partyId="BLOG_EDITORS" roleTypeId="BLOG_EDITOR"/>
-    <PartyRole partyId="BLOG_AUTHORS" roleTypeId="PERMISSION_GROUP"/>
-    <PartyRole partyId="BLOG_AUTHORS" roleTypeId="BLOG_AUTHOR"/>
-    <PartyRole partyId="BLOG_ADMINS" roleTypeId="PERMISSION_GROUP"/>
-    <PartyRole partyId="BLOG_ADMINS" roleTypeId="BLOG_ADMIN"/>
-    <PartyRole partyId="BLOG_PUBLISHERS" roleTypeId="PERMISSION_GROUP"/>
-    <PartyRole partyId="BLOG_PUBLISHERS" roleTypeId="BLOG_ADMIN"/>
-
     <StatusType statusTypeId="PUBLISH_STATUS" description="Publish Status"/>
     <StatusItem statusId="BLOG_SUBMITTED" statusTypeId="PUBLISH_STATUS" statusCode="SUBMITTED" sequenceId="01" description="Submitted"/>
     <StatusItem statusId="BLOG_DRAFT" statusTypeId="PUBLISH_STATUS" statusCode="DRAFT" sequenceId="02" description="Draft"/>

Added: incubator/ofbiz/trunk/applications/content/data/BlogDemoData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/data/BlogDemoData.xml?view=auto&rev=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/content/data/BlogDemoData.xml (added)
+++ incubator/ofbiz/trunk/applications/content/data/BlogDemoData.xml Mon Sep 11 18:40:22 2006
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+<entity-engine-xml>
+    <Party partyId="BLOG_USERS" partyTypeId="PARTY_GROUP"/>
+    <Party partyId="BLOG_EDITORS" partyTypeId="PARTY_GROUP"/>
+    <Party partyId="BLOG_ADMINS" partyTypeId="PARTY_GROUP"/>
+    <Party partyId="BLOG_AUTHORS" partyTypeId="PARTY_GROUP"/>
+    <Party partyId="BLOG_PUBLISHERS" partyTypeId="PARTY_GROUP"/>
+
+    <DataSource dataSourceId="BLOG_SITE" dataSourceTypeId="WEBSITE_ENTRY" description="Blog Site"/>
+
+    <PartyRole partyId="BLOG_USERS" roleTypeId="PERMISSION_GROUP"/>
+    <PartyRole partyId="BLOG_USERS" roleTypeId="BLOG_USER"/>
+    <PartyRole partyId="BLOG_EDITORS" roleTypeId="PERMISSION_GROUP"/>
+    <PartyRole partyId="BLOG_EDITORS" roleTypeId="BLOG_EDITOR"/>
+    <PartyRole partyId="BLOG_AUTHORS" roleTypeId="PERMISSION_GROUP"/>
+    <PartyRole partyId="BLOG_AUTHORS" roleTypeId="BLOG_AUTHOR"/>
+    <PartyRole partyId="BLOG_ADMINS" roleTypeId="PERMISSION_GROUP"/>
+    <PartyRole partyId="BLOG_ADMINS" roleTypeId="BLOG_ADMIN"/>
+    <PartyRole partyId="BLOG_PUBLISHERS" roleTypeId="PERMISSION_GROUP"/>
+    <PartyRole partyId="BLOG_PUBLISHERS" roleTypeId="BLOG_ADMIN"/>
+</entity-engine-xml>

Propchange: incubator/ofbiz/trunk/applications/content/data/BlogDemoData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: incubator/ofbiz/trunk/applications/content/data/BlogDemoData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/ofbiz/trunk/applications/content/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/ofbiz-component.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/content/ofbiz-component.xml (original)
+++ incubator/ofbiz/trunk/applications/content/ofbiz-component.xml Mon Sep 11 18:40:22 2006
@@ -31,8 +31,9 @@
     <entity-resource type="data" reader-name="seed" loader="main" location="data/MimeTypeData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/DataCategoryData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/BlogData.xml"/>
+    <entity-resource type="data" reader-name="demo" loader="main" location="data/BlogDemoData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/TemplateData.xml"/>
-    <entity-resource type="data" reader-name="seed" loader="main" location="data/UsersData.xml"/>
+    <entity-resource type="data" reader-name="demo" loader="main" location="data/UsersDemoData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/ContentSecurityData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/MiscData.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/WebSitePublishPointData.xml"/>

Added: incubator/ofbiz/trunk/applications/order/data/OrderDemoUser.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/data/OrderDemoUser.xml?view=auto&rev=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/order/data/OrderDemoUser.xml (added)
+++ incubator/ofbiz/trunk/applications/order/data/OrderDemoUser.xml Mon Sep 11 18:40:22 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+    <UserLogin userLoginId="supplier" partyId="externaluser" passwordHint=""/>
+    <UserLoginSecurityGroup groupId="ORDERSUPPLIER_LTD" userLoginId="supplier" fromDate="2001-01-01 12:00:00.0"/>
+</entity-engine-xml>

Propchange: incubator/ofbiz/trunk/applications/order/data/OrderDemoUser.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: incubator/ofbiz/trunk/applications/order/data/OrderDemoUser.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/ofbiz/trunk/applications/order/data/OrderSecurityData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/data/OrderSecurityData.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/order/data/OrderSecurityData.xml (original)
+++ incubator/ofbiz/trunk/applications/order/data/OrderSecurityData.xml Mon Sep 11 18:40:22 2006
@@ -137,7 +137,4 @@
     <SecurityGroupPermission groupId="ORDERENTRY_ALL" permissionId="ORDERMGR_SEND_CONFIRMATION"/>
     <SecurityGroupPermission groupId="ORDERENTRY_ALL" permissionId="OFBTOOLS_VIEW"/>
     <SecurityGroupPermission groupId="ORDERENTRY_ALL" permissionId="ORDERMGR_CRQ_CREATE"/>
-    
-    <UserLogin userLoginId="supplier" partyId="externaluser" passwordHint=""/>
-    <UserLoginSecurityGroup groupId="ORDERSUPPLIER_LTD" userLoginId="supplier" fromDate="2001-01-01 12:00:00.0"/>
 </entity-engine-xml>

Modified: incubator/ofbiz/trunk/applications/order/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/ofbiz-component.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/order/ofbiz-component.xml (original)
+++ incubator/ofbiz/trunk/applications/order/ofbiz-component.xml Mon Sep 11 18:40:22 2006
@@ -32,6 +32,7 @@
     <entity-resource type="data" reader-name="seed" loader="main" location="data/OrderTypeData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/OrderScheduledServices.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/OrderSecurityData.xml"/>
+    <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderDemoUser.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderProcessWorkflow.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_cart.xml"/>

Modified: incubator/ofbiz/trunk/applications/product/data/ProductSecurityData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/data/ProductSecurityData.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/product/data/ProductSecurityData.xml (original)
+++ incubator/ofbiz/trunk/applications/product/data/ProductSecurityData.xml Mon Sep 11 18:40:22 2006
@@ -29,7 +29,6 @@
     <SecurityPermission description="Permission required, in addition to other applicable permissions, to maintain product price information including prices, promotions, and price rules." permissionId="CATALOG_PRICE_MAINT"/>
 
     <SecurityGroup description="Limited Catalog Admin group, has limited catalog permissions." groupId="CATALOGADMIN_LTD"/>
-    <UserLoginSecurityGroup groupId="CATALOGADMIN_LTD" userLoginId="ltdadmin" fromDate="2001-01-01 12:00:00.0"/>
     <SecurityGroupPermission groupId="CATALOGADMIN_LTD" permissionId="CATALOG_VIEW"/>
     <SecurityGroupPermission groupId="CATALOGADMIN_LTD" permissionId="CATALOG_ROLE_CREATE"/>
     <SecurityGroupPermission groupId="CATALOGADMIN_LTD" permissionId="CATALOG_ROLE_UPDATE"/>

Added: incubator/ofbiz/trunk/applications/product/data/ProductUserDemoData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/data/ProductUserDemoData.xml?view=auto&rev=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/product/data/ProductUserDemoData.xml (added)
+++ incubator/ofbiz/trunk/applications/product/data/ProductUserDemoData.xml Mon Sep 11 18:40:22 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+    <!-- Limited user demo -->
+    <UserLoginSecurityGroup groupId="CATALOGADMIN_LTD" userLoginId="ltdadmin" fromDate="2001-01-01 12:00:00.0"/>
+</entity-engine-xml>

Propchange: incubator/ofbiz/trunk/applications/product/data/ProductUserDemoData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: incubator/ofbiz/trunk/applications/product/data/ProductUserDemoData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/ofbiz/trunk/applications/product/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/ofbiz-component.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/product/ofbiz-component.xml (original)
+++ incubator/ofbiz/trunk/applications/product/ofbiz-component.xml Mon Sep 11 18:40:22 2006
@@ -34,8 +34,9 @@
     <entity-resource type="data" reader-name="seed" loader="main" location="data/ProductTypeData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/ShipmentTypeData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/ProductSecurityData.xml"/>
+    <entity-resource type="data" reader-name="demo" loader="main" location="data/ProductUserDemoData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/ApiSchemaDhl.xml"/>
-
+    
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_facility.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_feature.xml"/>

Modified: incubator/ofbiz/trunk/applications/securityext/data/PasswordSecurityData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/securityext/data/PasswordSecurityData.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/securityext/data/PasswordSecurityData.xml (original)
+++ incubator/ofbiz/trunk/applications/securityext/data/PasswordSecurityData.xml Mon Sep 11 18:40:22 2006
@@ -20,33 +20,5 @@
     <!-- from the securityext component: SecurityExtData.xml -->
     <UserLogin userLoginId="anonymous" currentPassword="anonymous" passwordHint=""/>
     <UserLogin userLoginId="admin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="flexadmin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="demoadmin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="ltdadmin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="system" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint="Do Not Enable This Account"/>
-    <UserLogin userLoginId="bizadmin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    
-    <!-- from the content component: UsersData.xml -->
-    <UserLogin userLoginId="blog_guest" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="blog_admin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="blog_author" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="blog_editor" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-
-    <!-- from the ecommerce component: DemoOrderPeopleData.xml -->
-    <UserLogin userLoginId="DemoBuyer" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="DemoRepAll" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="DemoRepStore" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="DemoCustCompany" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="DemoCustAgent" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-    <UserLogin userLoginId="DemoCustomer" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-
-    <!-- from the order component: OrderSecurityData.xml -->
-    <UserLogin userLoginId="supplier" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
-
-    <!-- from the pos component: DemoRetail.xml -->
-    <UserLogin userLoginId="1" currentPassword="356a192b7913cf4c54574d18bdf24699395428d4" passwordHint="The Number One, Yeah, Literally"/>
-    <UserLogin userLoginId="2" currentPassword="a54bed37c5b3b28ee30760b5c8d1bbd735ef10cf" passwordHint="The Number Two, Yeah, Literally"/>
-
-    <!-- from the security component: SecurityData.xml -->
     <UserLogin userLoginId="system" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint="Do Not Enable This Account"/>
 </entity-engine-xml>

Modified: incubator/ofbiz/trunk/applications/securityext/data/SecurityExtData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/securityext/data/SecurityExtData.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/securityext/data/SecurityExtData.xml (original)
+++ incubator/ofbiz/trunk/applications/securityext/data/SecurityExtData.xml Mon Sep 11 18:40:22 2006
@@ -31,42 +31,11 @@
     <PartyRole partyId="admin" roleTypeId="SHIPMENT_CLERK"/>
     <PartyRole partyId="admin" roleTypeId="SALES_REP"/>
     <PartyRole partyId="admin" roleTypeId="_NA_"/>
-    <ContactMech contactMechId="5000" contactMechTypeId="EMAIL_ADDRESS" infoString="[hidden email]"/>
-    <PartyContactMech partyId="admin" contactMechId="5000" fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+    <ContactMech contactMechId="admin" contactMechTypeId="EMAIL_ADDRESS" infoString="[hidden email]"/>
+    <PartyContactMech partyId="admin" contactMechId="admin" fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
 
-    <Party partyId="ltdadmin" partyTypeId="PERSON"/>
-    <Person firstName="Limited" lastName="Administrator" middleName="" partyId="ltdadmin" personalTitle="Mr."/>
-    <PartyRole partyId="ltdadmin" roleTypeId="ORDER_CLERK"/>
-    <PartyRole partyId="ltdadmin" roleTypeId="LTD_ADMIN"/>
-    <PartyRole partyId="ltdadmin" roleTypeId="_NA_"/>
-    <PartyContactMech partyId="ltdadmin" contactMechId="5000" fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
-
-    <Party partyId="externaluser" partyTypeId="PERSON"/>
-    <Person firstName="External" lastName="User" middleName="" partyId="externaluser" personalTitle="Mr."/>
-    <PartyRole partyId="externaluser" roleTypeId="SUPPLIER"/>
-    <PartyContactMech partyId="externaluser" contactMechId="5000" fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
-
-    <Party partyId="bizadmin" partyTypeId="PERSON"/>
-    <Person partyId="bizadmin" firstName="Business" lastName="Administrator"/>
-    <PartyRole partyId="bizadmin" roleTypeId="BUYER"/>
-    <PartyRole partyId="bizadmin" roleTypeId="MANAGER"/>
-    <PartyRole partyId="bizadmin" roleTypeId="ORDER_CLERK"/>
-    <PartyRole partyId="bizadmin" roleTypeId="SHIPMENT_CLERK"/>
-    <PartyRole partyId="bizadmin" roleTypeId="SALES_REP"/>
-    <PartyRole partyId="bizadmin" roleTypeId="_NA_"/>
-    <ContactMech contactMechId="5001" contactMechTypeId="EMAIL_ADDRESS" infoString="[hidden email]"/>
-    <PartyContactMech partyId="bizadmin" contactMechId="5001" fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
-    
     <UserLogin userLoginId="anonymous" partyId=""/>
     <UserLogin userLoginId="admin" partyId="admin"/>
-    <UserLogin userLoginId="flexadmin" partyId="admin"/>
-    <UserLogin userLoginId="demoadmin" partyId="admin"/>
-    <UserLogin userLoginId="ltdadmin" partyId="ltdadmin"/>
-    <UserLogin userLoginId="bizadmin" partyId="bizadmin"/>
-    
-    <UserLoginSecurityGroup groupId="FULLADMIN" userLoginId="admin" fromDate="2001-01-01 12:00:00.0"/>    
-    <UserLoginSecurityGroup groupId="FLEXADMIN" userLoginId="flexadmin" fromDate="2001-01-01 12:00:00.0"/>
-    <UserLoginSecurityGroup groupId="VIEWADMIN" userLoginId="demoadmin" fromDate="2001-01-01 12:00:00.0"/>
-    <UserLoginSecurityGroup groupId="VIEWADMIN" userLoginId="ltdadmin" fromDate="2001-01-01 12:00:00.0"/>
-    <UserLoginSecurityGroup groupId="BIZADMIN" userLoginId="bizadmin" fromDate="2001-01-01 12:00:00.0"/>    
+
+    <UserLoginSecurityGroup groupId="FULLADMIN" userLoginId="admin" fromDate="2001-01-01 12:00:00.0"/>
 </entity-engine-xml>

Added: incubator/ofbiz/trunk/applications/securityext/data/UserDemoData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/securityext/data/UserDemoData.xml?view=auto&rev=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/securityext/data/UserDemoData.xml (added)
+++ incubator/ofbiz/trunk/applications/securityext/data/UserDemoData.xml Mon Sep 11 18:40:22 2006
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+    <Party partyId="ltdadmin" partyTypeId="PERSON"/>
+    <Person firstName="Limited" lastName="Administrator" middleName="" partyId="ltdadmin" personalTitle="Mr."/>
+    <PartyRole partyId="ltdadmin" roleTypeId="ORDER_CLERK"/>
+    <PartyRole partyId="ltdadmin" roleTypeId="LTD_ADMIN"/>
+    <PartyRole partyId="ltdadmin" roleTypeId="_NA_"/>
+    <PartyContactMech partyId="ltdadmin" contactMechId="admin" fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+
+    <Party partyId="externaluser" partyTypeId="PERSON"/>
+    <Person firstName="External" lastName="User" middleName="" partyId="externaluser" personalTitle="Mr."/>
+    <PartyRole partyId="externaluser" roleTypeId="SUPPLIER"/>
+    <PartyContactMech partyId="externaluser" contactMechId="admin" fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+
+    <Party partyId="bizadmin" partyTypeId="PERSON"/>
+    <Person partyId="bizadmin" firstName="Business" lastName="Administrator"/>
+    <PartyRole partyId="bizadmin" roleTypeId="BUYER"/>
+    <PartyRole partyId="bizadmin" roleTypeId="MANAGER"/>
+    <PartyRole partyId="bizadmin" roleTypeId="ORDER_CLERK"/>
+    <PartyRole partyId="bizadmin" roleTypeId="SHIPMENT_CLERK"/>
+    <PartyRole partyId="bizadmin" roleTypeId="SALES_REP"/>
+    <PartyRole partyId="bizadmin" roleTypeId="_NA_"/>
+    <PartyContactMech partyId="bizadmin" contactMechId="admin" fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+
+    <UserLogin userLoginId="flexadmin" partyId="admin"/>
+    <UserLogin userLoginId="demoadmin" partyId="admin"/>
+    <UserLogin userLoginId="ltdadmin" partyId="ltdadmin"/>
+    <UserLogin userLoginId="bizadmin" partyId="bizadmin"/>
+
+    <UserLoginSecurityGroup groupId="FLEXADMIN" userLoginId="flexadmin" fromDate="2001-01-01 12:00:00.0"/>
+    <UserLoginSecurityGroup groupId="VIEWADMIN" userLoginId="demoadmin" fromDate="2001-01-01 12:00:00.0"/>
+    <UserLoginSecurityGroup groupId="VIEWADMIN" userLoginId="ltdadmin" fromDate="2001-01-01 12:00:00.0"/>
+    <UserLoginSecurityGroup groupId="BIZADMIN" userLoginId="bizadmin" fromDate="2001-01-01 12:00:00.0"/>  
+    
+    <!-- passwords (comment out so that they will not be reset) -->
+    <UserLogin userLoginId="flexadmin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="demoadmin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="ltdadmin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="bizadmin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <!-- from the content component: UsersData.xml -->
+    <UserLogin userLoginId="blog_guest" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="blog_admin" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="blog_author" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="blog_editor" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <!-- from the ecommerce/order component: DemoOrderPeopleData.xml -->
+    <UserLogin userLoginId="DemoBuyer" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="DemoRepAll" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="DemoRepStore" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="DemoCustCompany" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="DemoCustAgent" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="DemoCustomer" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <UserLogin userLoginId="supplier" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" passwordHint=""/>
+    <!-- from the pos component: DemoRetail.xml -->
+    <UserLogin userLoginId="1" currentPassword="356a192b7913cf4c54574d18bdf24699395428d4" passwordHint="The Number One, Yeah, Literally"/>
+    <UserLogin userLoginId="2" currentPassword="a54bed37c5b3b28ee30760b5c8d1bbd735ef10cf" passwordHint="The Number Two, Yeah, Literally"/>
+    
+
+</entity-engine-xml>

Propchange: incubator/ofbiz/trunk/applications/securityext/data/UserDemoData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/ofbiz/trunk/applications/securityext/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/securityext/ofbiz-component.xml?view=diff&rev=442409&r1=442408&r2=442409
==============================================================================
--- incubator/ofbiz/trunk/applications/securityext/ofbiz-component.xml (original)
+++ incubator/ofbiz/trunk/applications/securityext/ofbiz-component.xml Mon Sep 11 18:40:22 2006
@@ -24,6 +24,7 @@
     <classpath type="dir" location="config"/>
     <classpath type="dir" location="script"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/SecurityExtData.xml"/>
+    <entity-resource type="data" reader-name="demo" loader="main" location="data/UserDemoData.xml"/>
     <!-- NOTE: comment this line out to avoid resetting passwords in seed data loads, or change passwords here -->
     <entity-resource type="data" reader-name="seed" loader="main" location="data/PasswordSecurityData.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>