new StringRequestEntity(getRequest(id, pwd, service));
RequestOptions options = client.getDefaultRequestOptions();
options.setContentType("application/x-www-form-urlencoded");
ClientResponse response = client.post(URI, stringreq, options);
String auth = read(response.getInputStream());
response.release();
return auth.split("\n")[2].replaceAll("Auth=", "auth=");
} catch (CarbonException e) {
log.error("Error reading content from Google Client Login for \"" + id + "\"", e);
} catch (UnsupportedEncodingException e) {
log.error("Error parsing content from Google Client Login for \"" + id + "\"", e);