[ 
http://jira.amdatu.org/jira/browse/AMDATU-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10291#comment-10291
 ] 

Ivo Ladage - van Doorn commented on AMDATU-112:
-----------------------------------------------

Such a service is already implemented by Shindig. However, it doesn't provide a 
service interface such that it cannot easily be invoked server-side (you should 
use httpclient to call the oAuth servlets). The oAuth implementation contained 
by Shindig should preferably be moved to a separate bundle, which is 
subsequently bounded to by Shindig. Unfortunately, this Guice binding still 
creates a dependency with Shindig specific oAuth packages.
Anyway, we should at least register a oAuth service providing the following 
methods:

OAuthConsumer getConsumer(OAuthMessage requestMessage)
OAuthAccessor getAccessor(OAuthMessage requestMessage)
void generateRequestToken(OAuthAccessor accessor) throws OAuthException
void authorizeRequestToken(OAuthAccessor accessor) throws OAuthException
void exchangeRequestTokenForAccessToken(OAuthAccessor accessor) throws 
OAuthException


> Add a service to create OAuth tokens
> ------------------------------------
>
>                 Key: AMDATU-112
>                 URL: http://jira.amdatu.org/jira/browse/AMDATU-112
>             Project: Amdatu
>          Issue Type: New Feature
>          Components: Amdatu OpenSocial
>            Reporter: Dion Meijer
>            Assignee: Ivo Ladage - van Doorn
>             Fix For: 0.1.0
>
>
> Add a service to create OAuth tokens for serverside integration with rest 
> services.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to