Publishing: added authorisation framework for channel types. Migrated YouTube channel type onto it, and added Twitter and SlideShare channel types. Facebook is also added, but there is an issue with the way it authorises apps, so it isn't wired in yet.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-07-11 11:21:06 +00:00
parent 6ea22b4b1d
commit 761099b84e
13 changed files with 513 additions and 4 deletions

View File

@@ -1118,6 +1118,33 @@
<property name="defaultEnvironmentId" value="${publishing.default.environment}" />
</bean>
<bean id="webscript.org.alfresco.repository.publishing.channel.post"
class="org.alfresco.repo.web.scripts.publishing.ChannelPostWebScript"
parent="webscript">
<property name="channelService" ref="channelService" />
</bean>
<bean id="webscript.org.alfresco.repository.publishing.authcallback.get"
class="org.alfresco.repo.web.scripts.publishing.AuthCallbackWebScript"
parent="webscript">
<property name="nodeService" ref="NodeService" />
<property name="channelService" ref="channelService" />
</bean>
<bean id="webscript.org.alfresco.repository.publishing.authstatus.get"
class="org.alfresco.repo.web.scripts.publishing.AuthStatusGetWebScript"
parent="webscript">
<property name="nodeService" ref="NodeService" />
</bean>
<bean id="webscript.org.alfresco.repository.publishing.authform.post"
class="org.alfresco.repo.web.scripts.publishing.AuthCallbackWebScript"
parent="webscript">
<property name="nodeService" ref="NodeService" />
<property name="channelService" ref="channelService" />
</bean>
<!-- Post Publishing Events Query web script -->
<bean id="webscript.org.alfresco.repository.publishing.publishing-events-query.post"
class="org.alfresco.repo.web.scripts.publishing.PUblishingEventsQueryPost"
@@ -1432,7 +1459,7 @@
parent="webscript">
<property name="nodeLocatorService" ref="nodeLocatorService"/>
</bean>
<!-- Google Doc API -->
<bean id="webscript.org.alfresco.repository.googledocs.status.get"
class="org.alfresco.repo.web.scripts.googledocs.Status"
@@ -1478,4 +1505,4 @@
parent="abstractCalendarWebScript">
</bean>
</beans>
</beans>