09-24-2008 08:24 AM
<?xml version="1.0" encoding="UTF-8"?>
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
xmlns:cm="http://www.alfresco.org/model/content/1.0"
xmlns:sys="http://www.alfresco.org/model/system/1.0"
xmlns:usr="http://www.alfresco.org/model/user/1.0"
xmlns:app="http://www.alfresco.org/model/application/1.0">
<usr:user view:childName="usr:user">
<view:aspects>
<sys:referenceable></sys:referenceable>
</view:aspects>
<view:properties>
<cm:name>USER_ADMINISTRATOR_2</cm:name>
<sys:store-identifier>alfrescoUserStore</sys:store-identifier>
<usr:enabled>true</usr:enabled>
<usr:username>administrator2</usr:username>
<usr:salt>
<view:value view:isNull="true"></view:value>
</usr:salt>
<usr:password>527c9c819b286efb8ec4ebb5b5ae71cf</usr:password>
<usr:accountExpires>false</usr:accountExpires>
<usr:credentialsExpire>false</usr:credentialsExpire>
<usr:accountLocked>false</usr:accountLocked>
<sys:store-protocol>user</sys:store-protocol>
</view:properties>
<view:associations></view:associations>
</usr:user>
</view:view>
user-context.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="myModuleId.bootstrapUsers" class="org.alfresco.repo.module.ImporterModuleComponent"
parent="module.baseComponent">
<property name="moduleId" value="myModuleId" />
<property name="name" value="myModuleId.bootstrapUsers" />
<property name="description" value="Initial data requirements" />
<property name="sinceVersion" value="0.0" />
<property name="appliesFromVersion" value="0.0" />
<property name="importer" ref="userBootstrap"/>
<property name="bootstrapViews">
<list>
<props>
<prop key="path">/${alfresco_user_store.system_container.childname}/sys:person</prop>
<prop key="location">alfresco/module/com.ignos.scs.alfresco.extension/resources/users.xml</prop>
</props>
</list>
</property>
</bean>
>
</beans>
09-24-2008 10:01 AM
10-07-2008 07:46 AM
10-19-2008 05:51 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.