custom file-server config sample

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Paul Holmes-Higgin 2006-02-16 09:51:56 +00:00
parent ab9b2bc196
commit a051b62ed1
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,39 @@
<alfresco-config area="file-servers">
<config evaluator="string-compare" condition="Filesystems">
<!-- Default share -->
<filesystem name="Alfresco">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
<!-- Enable Web client launch shortcut in all folders -->
<urlFile>
<!-- Change the filename as required, keeping the .url extension -->
<filename>_Alfresco.url</filename>
<!-- Change 'localhost' to the name or IP of the Alfresco server -->
<webpath>http://localhost:8080/alfresco/</webpath>
</urlFile>
</filesystem>
</config>
<!-- Allow guest access to file systems -->
<config evaluator="string-compare" condition="Filesystem Security">
<authenticator type="alfresco">
<allowGuest/>
<!-- Map any unknown user to guest -->
<!--
<mapUnknownUserToGuest/>
-->
</authenticator>
</config>
</alfresco-config>

View File

@ -0,0 +1,18 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!-- import further configurations -->
<bean id="fileServersConfigSource" class="org.alfresco.config.source.UrlConfigSource">
<constructor-arg>
<list>
<!-- Load the standard config first -->
<value>classpath:alfresco/file-servers.xml</value>
<!-- Load any overrides after -->
<value>classpath:alfresco/extension/file-servers-custom.xml</value>
</list>
</constructor-arg>
</bean>
</beans>