1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Grant that requests done through the same OwnCloudClient using Basic HTTP Authentication keep cookies

This commit is contained in:
David A. Velasco 2014-05-23 13:03:59 +02:00
parent 1651d1a555
commit 1cb224cba1

View File

@ -102,6 +102,7 @@ public class OwnCloudClient extends HttpClient {
mCredentials = new UsernamePasswordCredentials(username, password);
getState().setCredentials(AuthScope.ANY, mCredentials);
mSsoSessionCookie = null;
getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
}
public void setSsoSessionCookie(String accessToken) {