mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
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:
parent
ab9b2bc196
commit
a051b62ed1
39
config/alfresco/extension/file-servers-custom.xml.sample
Normal file
39
config/alfresco/extension/file-servers-custom.xml.sample
Normal 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>
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user