diff options
author | Parménides GV <parmegv@sdf.org> | 2013-05-01 18:41:05 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-05-01 18:41:05 +0200 |
commit | ff3d469a9549e3670e097fc0e49c043c84e7b7d4 (patch) | |
tree | 9fb747e05841020f11d062a86df86bdcdd85e689 /src/se/leap/leapclient/ProviderListContent.java | |
parent | 09493a9dec5fb235d5c4914eb8f8142e3312e246 (diff) |
If the app is restarted with a custom provider selected, the client can
request a log in without certificates problems.
I've removed the addition of the certificate when downloaded
eip-service.json, because I already do that in LeapHttpClient.
Solves issue 2367: https://leap.se/code/issues/2367
Diffstat (limited to 'src/se/leap/leapclient/ProviderListContent.java')
-rw-r--r-- | src/se/leap/leapclient/ProviderListContent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/ProviderListContent.java b/src/se/leap/leapclient/ProviderListContent.java index 9ed7e9bf..8cc349c2 100644 --- a/src/se/leap/leapclient/ProviderListContent.java +++ b/src/se/leap/leapclient/ProviderListContent.java @@ -88,7 +88,7 @@ public class ProviderListContent { id = name;
this.name = name;
this.provider_json_url = provider_json_url;
- eip_service_json_url = (String) file_contents.get("api_uri") + ConfigHelper.eip_service_api_path;
+ eip_service_json_url = file_contents.getString("api_uri") + "/" + file_contents.getString("api_version") + "/" + ConfigHelper.eip_service_api_path;
cert_json_url = (String) file_contents.get("ca_cert_uri");
this.custom = custom;
this.danger_on = danger_on;
|