Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9B1E193EC for ; Sat, 9 Apr 2016 00:47:25 +0000 (UTC) Received: (qmail 33206 invoked by uid 500); 9 Apr 2016 00:47:25 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 33182 invoked by uid 500); 9 Apr 2016 00:47:25 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 33130 invoked by uid 99); 9 Apr 2016 00:47:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2016 00:47:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 744D42C1F5C for ; Sat, 9 Apr 2016 00:47:25 +0000 (UTC) Date: Sat, 9 Apr 2016 00:47:25 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13418) HiveServer2 HTTP mode should support X-Forwarded-Host header for authorization/audits 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/HIVE-13418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair updated HIVE-13418: --------------------------------- Status: Patch Available (was: Open) > HiveServer2 HTTP mode should support X-Forwarded-Host header for authorization/audits > ------------------------------------------------------------------------------------- > > Key: HIVE-13418 > URL: https://issues.apache.org/jira/browse/HIVE-13418 > Project: Hive > Issue Type: New Feature > Components: Authorization, HiveServer2 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Attachments: HIVE-13418.1.patch > > > Apache Knox acts as a proxy for requests coming from the end users. In these cases, the IP address that HiveServer2 passes to the authorization/audit plugins via the HiveAuthzContext object only the IP address of the proxy, and not the end user. > For auditing purposes, the IP address of the end user and any proxies in between are useful. > HiveServer2 should pass the information from 'X-Forwarded-Host' header to the HiveAuthorizer plugins. -- This message was sent by Atlassian JIRA (v6.3.4#6332)