Hi, I have a servlet in my appengine java application which has an admin role security constraint on it. When I try to access this servlet google asks me to login using my google account and everything works fine. What I want to do is to write a desktop application which interacts with this servlet remotely over https. So instead of using a browser to communicate with the servlet, I am going to implement an http client for my application (Using commons httpclient). Since there is a security constraint on the servlet running on appengine, my http client has to sign in to google somehow... If I login using a browser and copy the cookies set by google to my own http client, everything works as expected. What is the best way to implement a login procedure for a desktop app like this? I want the user of the app (Me in this case) to enter the google username and password and access the password protected servlet remotely...
One thing I tried was simulating the exact browser and user behaviour (Filling in the form for username and password, submitting it, following redirects etc.) and this was working a couple of months ago, but when google changes something, it fails. Is there an api for this? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---
