File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes google oauth from swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "google oauth from swing" Watch "google oauth from swing" New topic
Author

google oauth from swing

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

hello,
the process of oauth with Google docs API requires a servlet server so that the Google could post access token into your defined callback url.
doing this work inside a web server like tomcat is trivial. But what i need is to do same oauth from a swing application.
is there some existing swing oauth library that facilitates this work?

I suppose i need an embedded browser and also an embedded servlet container in my swing app to do this work. can you show me how i can embbed both a servlet container and web browser so i can perform the oauth process? probably something like the GWT Host mode server in early versions of GWT. i would like something like the GWT embeded jetty and browser used for GWT Hosted mode. or maybe some other swing oauth library.

thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: google oauth from swing