Revision 5d668a55 src/com/rackspace/cloud/servers/api/client/http/Authentication.java
b/src/com/rackspace/cloud/servers/api/client/http/Authentication.java | ||
---|---|---|
53 | 53 |
authServer = Account.getAccount().getAuthServerV2(); |
54 | 54 |
HttpGet get = new HttpGet(authServer); |
55 | 55 |
get.addHeader("X-Auth-User", Account.getAccount().getUsername()); |
56 |
get.addHeader("X-Auth-Key", "lMvqjHxChbQY+LgDqwWpYg==");// Account.getAccount().getApiKey());
|
|
56 |
get.addHeader("X-Auth-Key", Account.getAccount().getPassword());//"lMvqjHxChbQY+LgDqwWpYg==");//
|
|
57 | 57 |
Log.i("AUTH STARTED", authServer); |
58 | 58 |
try { |
59 | 59 |
HttpResponse resp = httpclient.execute(get); |
... | ... | |
74 | 74 |
Account.getAccount().setCdnManagementUrl( |
75 | 75 |
getHeaderValue(resp, "X-Cdn-Management-Url")); |
76 | 76 |
Account.getAccount().setLoadBalancerRegions(new String[0]); |
77 |
BasicResponseHandler responseHandler = new BasicResponseHandler(); |
|
78 |
String body = responseHandler.handleResponse(resp); |
|
79 |
|
|
77 | 80 |
return true; |
78 | 81 |
} else { |
79 | 82 |
Log.d("status code", |
Also available in: Unified diff