URL url = new URL(SECURELOGIN_URL);
URLConnection conn = url.openConnection();
+
if (conn instanceof HttpsURLConnection) {
((HttpsURLConnection)conn).setSSLSocketFactory(sslSocketFactory);
((HttpsURLConnection )conn).setRequestMethod("POST");
} catch (Exception e) {
task.responseError = e.getMessage();
+ Log.i("SecureLogin", e.toString() + ":" + e.getMessage());
}
task.responseString = responseString.toString();