From 505c912bc362a084965d7a09f1f274e0f066a2b9 Mon Sep 17 00:00:00 2001 From: mguessan Date: Sun, 25 Oct 2009 22:26:28 +0000 Subject: [PATCH] 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 --- src/java/davmail/exchange/ExchangeSession.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/java/davmail/exchange/ExchangeSession.java b/src/java/davmail/exchange/ExchangeSession.java index 390d5993..54d4169d 100644 --- a/src/java/davmail/exchange/ExchangeSession.java +++ b/src/java/davmail/exchange/ExchangeSession.java @@ -446,7 +446,6 @@ public class ExchangeSession { HttpMethod logonMethod = buildLogonMethod(httpClient, initmethod); ((PostMethod) logonMethod).addParameter(userNameInput, userName); ((PostMethod) logonMethod).addParameter(passwordInput, password); - ((PostMethod) logonMethod).addParameter("trusted", "4"); logonMethod = DavGatewayHttpClientFacade.executeFollowRedirects(httpClient, logonMethod); // test form based authentication