shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHINDIG-1773) Content proxy needs to support proxy for OAuth protected resources
Date Wed, 16 May 2012 13:09:02 GMT

    [ https://issues.apache.org/jira/browse/SHINDIG-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276718#comment-13276718
] 

jiraposter@reviews.apache.org commented on SHINDIG-1773:
--------------------------------------------------------



bq.  On 2012-05-15 21:46:05, Ryan Baxter wrote:
bq.  > Since this functionality is not in the spec, would it be possible to create a sample
gadget as an example of how to use this functionality?

I would also like to see a test gadget accompany this change.


- Dan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5112/#review7913
-----------------------------------------------------------


On 2012-05-15 12:04:39, Xiao Feng Yu wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/5112/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-05-15 12:04:39)
bq.  
bq.  
bq.  Review request for Ryan Baxter, Dan Dumont, Stanton Sievers, and Brian Lillie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Couple of changes are included in this patch.
bq.  1) On the client side, the getProxyUrl is updated to add auth parameter to specify the
auth scheme used, also check for the AUTHORIZATION and OAUTH_SERVICE setting and add them
in proxy url.
bq.  2) On the server side, proxy servlet will pass additional HttpServletRequest to ProxyHandler
to build the HttpRequest object, in the ProxyHandler additional information as security token,
auth type, oauth service and gadget will be used to construct a HttpRequest to pass to the
DefaultRequestPipeline for handling.
bq.  
bq.  
bq.  This addresses bug Shindig-1773.
bq.      https://issues.apache.org/jira/browse/Shindig-1773
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    http://svn.apache.org/repos/asf/shindig/trunk/config/container.js 1338565 
bq.    http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/core.io/io.js
1338565 
bq.    http://svn.apache.org/repos/asf/shindig/trunk/features/src/test/javascript/features/core.io/iotest.js
1338595 
bq.    http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ProxyHandler.java
1338565 
bq.    http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ProxyServlet.java
1338565 
bq.    http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/servlet/ProxyServletTest.java
1338565 
bq.    http://svn.apache.org/repos/asf/shindig/trunk/java/server-resources/src/main/webapp/WEB-INF/web.xml
1338565 
bq.  
bq.  Diff: https://reviews.apache.org/r/5112/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Xiao Feng
bq.  
bq.


                
> Content proxy needs to support proxy for OAuth protected resources
> ------------------------------------------------------------------
>
>                 Key: SHINDIG-1773
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1773
>             Project: Shindig
>          Issue Type: New Feature
>          Components: Java
>    Affects Versions: 2.5.0, 3.0.0
>            Reporter: Xiao Feng Yu
>             Fix For: 2.5.0, 3.0.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> There are many cases that some resource are protected by OAuth and they are desired to
be accessed via content proxy instead of makeRequest calls, for example, images in user's
album.  User should be able to specify OAuth parameter in getProxyUrl call and get a proxy
url to access the protected resources.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message