net.sf.gaeappmanager.google
Class LogonHelper

java.lang.Object
  extended by net.sf.gaeappmanager.google.LogonHelper

public class LogonHelper
extends java.lang.Object

Google login helper. Based on work of Cheers Geoff. http://groups.google.com/group/google-appengine -java/browse_thread/thread/c96d4fff73117e1d?pli=1

Author:
Alois Belaska

Method Summary
static java.lang.String loginToGoogleAppEngine(java.lang.String userid, java.lang.String password, java.lang.String source)
          Returns the ACSID string to be set as the Cookie field in the request header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loginToGoogleAppEngine

public static java.lang.String loginToGoogleAppEngine(java.lang.String userid,
                                                      java.lang.String password,
                                                      java.lang.String source)
                                               throws java.lang.Exception
Returns the ACSID string to be set as the Cookie field in the request header.

Parameters:
userid - full gmail address for user
password - password
source - name of application requesting quota details
Returns:
the ACSID field value
Throws:
java.lang.Exception - if any error occurs getting the ACSID


Copyright © 2009. All Rights Reserved.