Files
alfresco-community-repo/config/alfresco/web-api-application-context.xml
David Caruana 173e38d6ef - Spring driven (configure in new web api methods)
- Support for authentication
- HTTP Basic authentication implementation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4645 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-18 19:32:33 +00:00

35 lines
1.2 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>
<!-- -->
<!-- Web API Authentication -->
<!-- -->
<!-- TODO: For now, experiment with HTTP Basic Authentication -->
<alias alias="web.api.Authentication" name="web.api.BasicAuthentication" />
<bean id="web.api.BasicAuthentication" class="org.alfresco.web.api.BasicAuthentication">
<property name="authenticationService" ref="AuthenticationService" />
</bean>
<!-- -->
<!-- Web API Services -->
<!-- -->
<bean id="web.api.TextSearchDescription" class="org.alfresco.web.api.services.TextSearchDescription">
<property name="httpUri" value="/search/textsearchdescription.xml" />
<property name="templateService" ref="TemplateService" />
</bean>
<bean id="web.api.TextSearch" class="org.alfresco.web.api.services.TextSearch">
<property name="httpUri" value="/search/text" />
<property name="serviceRegistry" ref="ServiceRegistry" />
<property name="searchService" ref="SearchService" />
<property name="templateService" ref="TemplateService"/>
</bean>
</beans>