update config for user/system store bootstrap so that admin username/password properties can be re-configured (when creating new tenants) - note: the actual default values remain unchanged

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-08-02 16:41:15 +00:00
parent dbdbb003f1
commit feca4b296a
4 changed files with 10 additions and 3 deletions

View File

@@ -9,8 +9,8 @@
<sys:container view:childName="${alfresco_user_store.user_container.childname}"> <sys:container view:childName="${alfresco_user_store.user_container.childname}">
<sys:children> <sys:children>
<usr:user view:childName="usr:user"> <usr:user view:childName="usr:user">
<usr:username>admin</usr:username> <usr:username>${alfresco_user_store.adminusername}</usr:username>
<usr:password>209c6174da490caeb422f3fa5a7ae634</usr:password> <usr:password>${alfresco_user_store.adminpassword}</usr:password>
<usr:enabled>true</usr:enabled> <usr:enabled>true</usr:enabled>
<usr:accountExpires>false</usr:accountExpires> <usr:accountExpires>false</usr:accountExpires>
<usr:credentialsExpire>false</usr:credentialsExpire> <usr:credentialsExpire>false</usr:credentialsExpire>

View File

@@ -18,7 +18,7 @@
<sys:container view:childName="${system.people_container.childname}"> <sys:container view:childName="${system.people_container.childname}">
<sys:children> <sys:children>
<cm:person view:childName="cm:person"> <cm:person view:childName="cm:person">
<cm:userName>admin</cm:userName> <cm:userName>${alfresco_user_store.adminusername}</cm:userName>
<cm:firstName>Administrator</cm:firstName> <cm:firstName>Administrator</cm:firstName>
<cm:lastName></cm:lastName> <cm:lastName></cm:lastName>
<cm:email></cm:email> <cm:email></cm:email>

View File

@@ -244,6 +244,8 @@
</property> </property>
<property name="configuration"> <property name="configuration">
<props> <props>
<prop key="alfresco_user_store.adminusername">${alfresco_user_store.adminusername}</prop>
<prop key="alfresco_user_store.adminpassword">209c6174da490caeb422f3fa5a7ae634</prop>
<prop key="alfresco_user_store.system_container.childname">${alfresco_user_store.system_container.childname}</prop> <prop key="alfresco_user_store.system_container.childname">${alfresco_user_store.system_container.childname}</prop>
<prop key="alfresco_user_store.user_container.childname">${alfresco_user_store.user_container.childname}</prop> <prop key="alfresco_user_store.user_container.childname">${alfresco_user_store.user_container.childname}</prop>
<prop key="alfresco_user_store.authorities_container.childname">${alfresco_user_store.authorities_container.childname}</prop> <prop key="alfresco_user_store.authorities_container.childname">${alfresco_user_store.authorities_container.childname}</prop>
@@ -262,6 +264,7 @@
</property> </property>
<property name="configuration"> <property name="configuration">
<props> <props>
<prop key="alfresco_user_store.adminusername">${alfresco_user_store.adminusername}</prop>
<prop key="version.major">${version.major}</prop> <prop key="version.major">${version.major}</prop>
<prop key="version.minor">${version.minor}</prop> <prop key="version.minor">${version.minor}</prop>
<prop key="version.revision">${version.revision}</prop> <prop key="version.revision">${version.revision}</prop>
@@ -298,6 +301,7 @@
</property> </property>
<property name="configuration"> <property name="configuration">
<props> <props>
<prop key="alfresco_user_store.adminusername">${alfresco_user_store.adminusername}</prop>
<prop key="spaces.company_home.childname">${spaces.company_home.childname}</prop> <prop key="spaces.company_home.childname">${spaces.company_home.childname}</prop>
<prop key="spaces.guest_home.childname">${spaces.guest_home.childname}</prop> <prop key="spaces.guest_home.childname">${spaces.guest_home.childname}</prop>
<prop key="system.system_container.childname">${system.system_container.childname}</prop> <prop key="system.system_container.childname">${system.system_container.childname}</prop>

View File

@@ -100,6 +100,9 @@ alfresco_user_store.system_container.childname=sys:system
alfresco_user_store.user_container.childname=sys:people alfresco_user_store.user_container.childname=sys:people
alfresco_user_store.authorities_container.childname=sys:authorities alfresco_user_store.authorities_container.childname=sys:authorities
# note: default admin username - should not be changed
alfresco_user_store.adminusername=admin
# Spaces Archive Configuration # Spaces Archive Configuration
spaces.archive.store=archive://SpacesStore spaces.archive.store=archive://SpacesStore