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 8C436200BBA for ; Fri, 21 Oct 2016 14:36:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8B136160AE8; Fri, 21 Oct 2016 12:36:00 +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 D3E99160AE9 for ; Fri, 21 Oct 2016 14:35:59 +0200 (CEST) Received: (qmail 3541 invoked by uid 500); 21 Oct 2016 12:35:58 -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 3519 invoked by uid 99); 21 Oct 2016 12:35:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2016 12:35:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6E81C2C0D54 for ; Fri, 21 Oct 2016 12:35:58 +0000 (UTC) Date: Fri, 21 Oct 2016 12:35:58 +0000 (UTC) From: "Larry McCay (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1712) SPNego Authentication to HTTPS service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 21 Oct 2016 12:36:00 -0000 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594956#comment-15594956 ] Larry McCay commented on HTTPCLIENT-1712: ----------------------------------------- [~olegk], [~fschumacher] - I am encountering this in the field now as we shipped Apache Knox with a dependency on 4.5.2 and can no longer dispatch requests to Hadoop APIs in a secure cluster that have SSL enabled. In addition, the use of our SSO functionality will be hampered due to the fact that our cookie must be set to secure only. This we need a 4.5.3 to address as soon as possible. > SPNego Authentication to HTTPS service > -------------------------------------- > > Key: HTTPCLIENT-1712 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1712 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient (classic) > Affects Versions: 4.5.1 > Reporter: Georg Romstorfer > Priority: Minor > Attachments: GGSSchemeBase.patch > > > When connecting with the HttpClient to a website through the HTTPS-Protocol, SPNego Authentication does not work, because in the method GGSSchemeBase#generateGSSToken is the service name hardcoded to HTTP. > A workaround is to extend the class SPNegoScheme and override this method. > To fix this, I think it would be best to get the protocol from the current connection, but I don't how to get the connection in this class, so I can't provide a patch. -- 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