mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
Remove reference to NegotiateScheme, not yet ready
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1999 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
c51a956551
commit
4ff6290cc0
@ -153,12 +153,12 @@ public final class DavGatewayHttpClientFacade {
|
||||
public static void configureClient(HttpClient httpClient, String url) throws DavMailException {
|
||||
setClientHost(httpClient, url);
|
||||
|
||||
if (Settings.getBooleanProperty("davmail.enableKerberos", false)) {
|
||||
/*if (Settings.getBooleanProperty("davmail.enableKerberos", false)) {
|
||||
AuthPolicy.registerAuthScheme("Negotiate", NegotiateScheme.class);
|
||||
ArrayList<String> authPrefs = new ArrayList<String>();
|
||||
authPrefs.add("Negotiate");
|
||||
httpClient.getParams().setParameter(AuthPolicy.AUTH_SCHEME_PRIORITY, authPrefs);
|
||||
} else if (!needNTLM) {
|
||||
} else */if (!needNTLM) {
|
||||
ArrayList<String> authPrefs = new ArrayList<String>();
|
||||
authPrefs.add(AuthPolicy.DIGEST);
|
||||
authPrefs.add(AuthPolicy.BASIC);
|
||||
|
Loading…
Reference in New Issue
Block a user