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 BACF817868 for ; Fri, 10 Oct 2014 10:13:34 +0000 (UTC) Received: (qmail 38712 invoked by uid 500); 10 Oct 2014 10:13:34 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 38675 invoked by uid 500); 10 Oct 2014 10:13:33 -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 38664 invoked by uid 99); 10 Oct 2014 10:13:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 10:13:33 +0000 Date: Fri, 10 Oct 2014 10:13:33 +0000 (UTC) From: "Michael Osipov (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1561) InitializeSecurityContext in WinHttpClient ignores return codes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166610#comment-14166610 ] Michael Osipov commented on HTTPCLIENT-1561: -------------------------------------------- Unfortunately, you do because [{{Secur32}}|http://twall.github.io/jna/4.1.0/com/sun/jna/platform/win32/Secur32.html] from JNA is missing [{{CompleteAuthToken}}|http://msdn.microsoft.com/en-us/library/windows/desktop/aa374764%28v=vs.85%29.aspx]. > InitializeSecurityContext in WinHttpClient ignores return codes > --------------------------------------------------------------- > > Key: HTTPCLIENT-1561 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1561 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpAuth > Affects Versions: 4.4 Beta1 > Reporter: Michael Osipov > Priority: Critical > > In {{WinHttpClient}} {{InitializeSecurityContext}} might not only return {{SEC_I_CONTINUE_NEEDED}} and {{SEC_E_OK}} but also {{SEC_I_COMPLETE_AND_CONTINUE}} and {{SEC_I_COMPLETE_NEEDED}}. The switch case needs to be extended. See [reference|http://msdn.microsoft.com/en-us/library/windows/desktop/aa375509%28v=vs.85%29.aspx]. > As far as I can see, necessary functions aren't even mapped in JNA, so one would need to spawn a ticket with JNA first. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org