Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C7DF10259 for ; Tue, 27 Aug 2013 05:01:46 +0000 (UTC) Received: (qmail 24507 invoked by uid 500); 27 Aug 2013 05:01:46 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 24306 invoked by uid 500); 27 Aug 2013 05:01:39 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 24256 invoked by uid 99); 27 Aug 2013 05:01:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 05:01:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ryantxu@gmail.com designates 209.85.215.42 as permitted sender) Received: from [209.85.215.42] (HELO mail-la0-f42.google.com) (209.85.215.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 05:01:33 +0000 Received: by mail-la0-f42.google.com with SMTP id ep20so3062222lab.15 for ; Mon, 26 Aug 2013 22:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=b6x4jUX2DnQdGWay8d/nhPeDIcTBXnDus5atVhaDmqQ=; b=yj3EkanZXBfKT4Rr6G70tVMJpMeP4Nl8kLlXx8xjFhH9jA+88Tj2xcMfCc35PNUt7P igBEg7o0V5gw8DCN/NTtcN/b5rng1NyWp/jxYfkFolAhV+Nh/KwR4QW0jyYqt53eGktS Zj5NcPrn1DZBpMBcyonBpCJVsMsJnm0EY8F37yC9nb4MiZPs83Ow8fRyhHMhG30bx+P/ n6BvslAiG9Cf2Sxl4agxMzfgDa0i+PIWYVJDyMWLE8na/VHR7rNCBqvxBnKYR1CHQUlm aCAqFguFyTaXNuQoSbe3sGObTm1JD2pcwHq23dUGNNqvUsggKcawmh1FZXklJtx6UhZm l4Lg== MIME-Version: 1.0 X-Received: by 10.152.19.1 with SMTP id a1mr16565334lae.8.1377579672690; Mon, 26 Aug 2013 22:01:12 -0700 (PDT) Received: by 10.112.168.228 with HTTP; Mon, 26 Aug 2013 22:01:12 -0700 (PDT) Date: Mon, 26 Aug 2013 22:01:12 -0700 Message-ID: Subject: JNA based Negotiate/NTLM AuthScheme From: Ryan McKinley To: dev@hc.apache.org Content-Type: multipart/alternative; boundary=089e01493e420a627004e4e6c313 X-Virus-Checked: Checked by ClamAV on apache.org --089e01493e420a627004e4e6c313 Content-Type: text/plain; charset=ISO-8859-1 Hello- I made a first pass implementing an AuthScheme with Waffle, check: https://github.com/ryantxu/waffle/blob/httpclient/Source/JNA/waffle-httpclient/src/waffle/httpclient/NegotiateScheme.java This uses JNA (via Waffle) to support windows authentication directly. This means you need zero configuration to use the current machine domain/setup etc. It only works on windows. Is there any interest in having this in HttpComponents? JNA 4.0 is ASL licensed -- if there is interest, I can put together a patch that only depends on JNA thanks ryan --089e01493e420a627004e4e6c313--