sandbreak / google-oauth-java-client

Automatically exported from code.google.com/p/google-oauth-java-client
0 stars 0 forks source link

Support OAuth flow for GWT RPC servlets #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/ser
ver/rpc/RemoteServiceServlet.html

Java environments (e.g. Java 6, Android 2.3, App Engine 1.4.2, or All)?

App Engine.

Please describe the feature requested.

Currently to use the OAuth 2 servlet flow I need to extend 
AbstractFlowUserServlet.  But for GWT RPC I must extend RemoteServiceServlet.  
More generally, it seems conceivable that there be other cases where servlet 
developers may need to extend a specific servlet class other than 
AbstractFlowUserServlet, and so would be unable to leverage our OAuth 2 flow.  
It would be great to find a solution that was general-purpose enough to support 
all of these use cases.  That said, we won't change the usage of 
AbstractFlowUserServlet, but only its implementation to use the general-purpose 
utilities.

Original issue reported on code.google.com by yan...@google.com on 12 Aug 2011 at 5:12

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 4 Oct 2011 at 5:26

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 29 Feb 2012 at 1:05

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 27 Mar 2012 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 14 May 2012 at 2:16

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 30 May 2012 at 4:20

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 26 Jul 2012 at 2:38

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 26 Sep 2012 at 12:20

GoogleCodeExporter commented 9 years ago
Actually, I don't quite understand why AbstractFlowUserServlet is a servlet 
rather than a filter; with the Credential simply put in 
HttpServletRequest#setAttribute to pass it down the chain to the actual servlet.

Original comment by t.broyer on 30 Apr 2013 at 10:49