Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C27BF200B25 for ; Wed, 8 Jun 2016 10:44:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0F32160A2E; Wed, 8 Jun 2016 08:44:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 14310160A29 for ; Wed, 8 Jun 2016 10:44:13 +0200 (CEST) Received: (qmail 5489 invoked by uid 500); 8 Jun 2016 08:44:08 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 5478 invoked by uid 99); 8 Jun 2016 08:44:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 08:44:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7C1E61812B9 for ; Wed, 8 Jun 2016 08:44:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4 X-Spam-Level: X-Spam-Status: No, score=-4 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Jc5zjLkPlCx4 for ; Wed, 8 Jun 2016 08:44:05 +0000 (UTC) Received: from mail.mysigninternational.com (mail.mysigninternational.com [212.243.6.182]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id F24395FACB for ; Wed, 8 Jun 2016 08:44:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.mysigninternational.com (Postfix) with ESMTP id 96520C2169 for ; Wed, 8 Jun 2016 10:44:04 +0200 (CEST) Received: from mail.mysigninternational.com ([127.0.0.1]) by localhost (mysign-postfix1.INTERNET [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0QHcChX33ohe for ; Wed, 8 Jun 2016 10:44:04 +0200 (CEST) Received: from exchangeintern.mysign.ch (unknown [192.168.13.145]) by mail.mysigninternational.com (Postfix) with ESMTP id 3C5D3C2166 for ; Wed, 8 Jun 2016 10:44:04 +0200 (CEST) Received: from EXCHANGE2013.mysigndomain.corp (192.168.13.145) by Exchange2013.mysigndomain.corp (192.168.13.145) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 8 Jun 2016 10:44:04 +0200 Received: from EXCHANGE2013.mysigndomain.corp ([fe80::8d50:2a3c:5b1f:aee0]) by Exchange2013.mysigndomain.corp ([fe80::8d50:2a3c:5b1f:aee0%12]) with mapi id 15.00.1044.021; Wed, 8 Jun 2016 10:44:04 +0200 From: Clemens Wyss DEV To: "httpclient-users@hc.apache.org" Subject: HttpClient & NTLM-auth Thread-Topic: HttpClient & NTLM-auth Thread-Index: AdHBX/ZKa5Bp4ja1Tf20TzHxQzLlCw== Date: Wed, 8 Jun 2016 08:44:03 +0000 Message-ID: Accept-Language: de-CH, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.13.44] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 archived-at: Wed, 08 Jun 2016 08:44:14 -0000 I have read (and tested) hundreds (maybe only dozens ;)) of threads/posts r= egarding HttpClient and NTLM auth.=20 -plain HttpClient (which I'd prefer!) -jcifs - spnego - ... None of the snippets I came along works out for me though, always ending up= with a 401. Networksniffing shows, that no credential-negotiation/exchange is taking pl= ace... Taking the latest greatest HttpClient 4.5 what needs to be programmed and = configured(?) to get my java client to do NTLM authentication with a webser= vice endpoint? Do I need to follow anything mentioned here: http://cr.openjdk.java.net/~weijun/special/krb5winguide-2/raw_files/new/kwi= n=20 Thanks for your advices/hints - Clemens --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org