Files
alfresco-community-repo/config/alfresco/network-protocol-context.xml
Dave Ward e39e8bf3f1 Merged V3.2 to HEAD
15888: ETHREEOH-2617: CIFS Authenticators should not try to initialize when disabled
      - removed init-method declaration from cifsAuthenticatorBase


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-25 12:10:38 +00:00

152 lines
6.9 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!-- File Server Configuration -->
<bean id="fileServerConfigurationBase"
abstract="true"
destroy-method="closeConfiguration">
<property name="authenticationService">
<ref bean="authenticationService"/>
</property>
<property name="authenticationComponent">
<ref bean="authenticationComponent"/>
</property>
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="tenantService">
<ref bean="tenantService" />
</property>
<property name="searchService">
<ref bean="SearchService" />
</property>
<property name="namespaceService">
<ref bean="namespaceService" />
</property>
<property name="personService">
<ref bean="personService"/>
</property>
<property name="transactionService">
<ref bean="transactionService"/>
</property>
<property name="authorityService">
<ref bean="authorityService"/>
</property>
<property name="diskInterface">
<ref bean="contentDiskDriver"/>
</property>
<property name="avmDiskInterface">
<ref bean="avmDiskDriver"/>
</property>
</bean>
<!-- CIFS authentication -->
<bean id="cifsAuthenticatorBase" abstract="true">
<property name="config">
<ref bean="fileServerConfiguration" />
</property>
<property name="authenticationService">
<ref bean="authenticationService" />
</property>
<property name="authenticationComponent">
<ref bean="authenticationComponent" />
</property>
<property name="nodeService">
<ref bean="NodeService" />
</property>
<property name="personService">
<ref bean="personService" />
</property>
<property name="transactionService">
<ref bean="transactionService" />
</property>
<property name="authorityService">
<ref bean="authorityService" />
</property>
<property name="diskInterface">
<ref bean="contentDiskDriver" />
</property>
</bean>
<!-- FTP authentication -->
<bean id="ftpAuthenticatorBase" abstract="true" init-method="initialize">
<property name="config">
<ref bean="fileServerConfiguration" />
</property>
<property name="authenticationService">
<ref bean="authenticationService" />
</property>
<property name="authenticationComponent">
<ref bean="authenticationComponent" />
</property>
<property name="transactionService">
<ref bean="transactionService" />
</property>
<property name="authorityService">
<ref bean="authorityService" />
</property>
</bean>
<!-- Filesystem Interface -->
<bean id="contentDiskDriver" class="org.alfresco.filesys.repo.ContentDiskDriver" >
<constructor-arg>
<ref bean="cifsHelper" />
</constructor-arg>
<property name="transactionService"><ref bean="transactionService" /></property>
<property name="nodeService"><ref bean="NodeService" /></property>
<property name="searchService"><ref bean="SearchService" /></property>
<property name="namespaceService"><ref bean="namespaceService" /></property>
<property name="contentService"><ref bean="ContentService" /></property>
<property name="mimetypeService"><ref bean="MimetypeService" /></property>
<property name="permissionService"><ref bean="permissionService"/></property>
<property name="authenticationContext"><ref bean="authenticationContext"/></property>
<property name="authenticationService"><ref bean="authenticationService"/></property>
<property name="fileFolderService"><ref bean="FileFolderService" /></property>
<property name="serviceRegistry"><ref bean="ServiceRegistry"/></property>
<property name="stateReaper"><ref bean="fileStateReaper"/></property>
<property name="nodeMonitorFactory"><ref bean="nodeMonitorFactory"/></property>
<property name="nodeArchiveService"><ref bean="nodeArchiveService" /></property>
</bean>
<bean id="nodeMonitorFactory" class="org.alfresco.filesys.repo.NodeMonitorFactory">
<property name="transactionService"><ref bean="transactionService" /></property>
<property name="nodeService"><ref bean="nodeService" /></property>
<property name="fileFolderService"><ref bean="fileFolderService" /></property>
<property name="permissionService"><ref bean="permissionService"/></property>
<property name="policyComponent"><ref bean="policyComponent"/></property>
</bean>
<bean id="cifsHelper" class="org.alfresco.filesys.repo.CifsHelper">
<property name="dictionaryService"><ref bean="dictionaryService" /></property>
<property name="nodeService"><ref bean="NodeService" /></property>
<property name="fileFolderService"><ref bean="FileFolderService" /></property>
<property name="mimetypeService"><ref bean="mimetypeService" /></property>
<property name="permissionService"><ref bean="permissionService"/></property>
<property name="allowWrites"><value>${server.transaction.allow-writes}</value></property>
</bean>
<!-- AVM Filesystem Interface -->
<bean id="avmDiskDriver" class="org.alfresco.filesys.avm.AVMDiskDriver" >
<!-- was indexingAVMService -->
<property name="avmService"><ref bean="AVMService" /></property>
<property name="transactionService"><ref bean="transactionService" /></property>
<property name="authenticationComponent"><ref bean="authenticationComponent"/></property>
<property name="authenticationService"><ref bean="authenticationService"/></property>
<property name="mimetypeService"><ref bean="mimetypeService" /></property>
<property name="serviceRegistry"><ref bean="ServiceRegistry"/></property>
<property name="stateReaper"><ref bean="fileStateReaper"/></property>
<property name="nodeService"><ref bean="NodeService" /></property>
<property name="createStoreListener"><ref bean="createStoreTxnListener"/></property>
<property name="purgeStoreListener"><ref bean="purgeStoreTxnListener"/></property>
<property name="createVersionListener"><ref bean="createVersionTxnListener"/></property>
<property name="purgeVersionListener"><ref bean="purgeVersionTxnListener"/></property>
</bean>
<!-- File State Reaper -->
<bean id="fileStateReaper" class="org.alfresco.filesys.state.FileStateReaper"
destroy-method="shutdownRequest"/>
</beans>