URL url = new URL(loginProtocol + "://" + domainName + GOOGLE_LOGIN_PATH);
postOutput = makePostRequest(url, params);
} catch (IOException e) {
AuthenticationException ae =
new AuthenticationException("Error connecting with login URI");
ae.initCause(e);
throw ae;
}
// Parse the output
Map<String, String> tokenPairs =