mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 19:52:21 -05:00
Remove trusted=4 from logon form parameters, breaks session creation on some servers
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@790 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
83cb84e579
commit
505c912bc3
@ -446,7 +446,6 @@ public class ExchangeSession {
|
|||||||
HttpMethod logonMethod = buildLogonMethod(httpClient, initmethod);
|
HttpMethod logonMethod = buildLogonMethod(httpClient, initmethod);
|
||||||
((PostMethod) logonMethod).addParameter(userNameInput, userName);
|
((PostMethod) logonMethod).addParameter(userNameInput, userName);
|
||||||
((PostMethod) logonMethod).addParameter(passwordInput, password);
|
((PostMethod) logonMethod).addParameter(passwordInput, password);
|
||||||
((PostMethod) logonMethod).addParameter("trusted", "4");
|
|
||||||
logonMethod = DavGatewayHttpClientFacade.executeFollowRedirects(httpClient, logonMethod);
|
logonMethod = DavGatewayHttpClientFacade.executeFollowRedirects(httpClient, logonMethod);
|
||||||
|
|
||||||
// test form based authentication
|
// test form based authentication
|
||||||
|
Loading…
Reference in New Issue
Block a user