+selfSigned

This commit is contained in:
Lennart Rosam 2012-07-04 00:29:53 +02:00
parent c6e343964a
commit c65a0e142c

View file

@ -79,6 +79,7 @@ public class WebdavClient extends HttpClient {
client.mUri = Uri.parse(baseUrl + webDavPath); client.mUri = Uri.parse(baseUrl + webDavPath);
client.getParams().setParameter(HttpMethodParams.USER_AGENT, USER_AGENT); client.getParams().setParameter(HttpMethodParams.USER_AGENT, USER_AGENT);
client.setCredentials(username, password); client.setCredentials(username, password);
client.allowSelfsignedCertificates();
clients.put(account.name, client); clients.put(account.name, client);
} }
return instance; return instance;