Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E3A310E6F for ; Thu, 15 Aug 2013 02:40:50 +0000 (UTC) Received: (qmail 46623 invoked by uid 500); 15 Aug 2013 02:40:49 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46497 invoked by uid 500); 15 Aug 2013 02:40:49 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 46436 invoked by uid 99); 15 Aug 2013 02:40:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 02:40:49 +0000 Date: Thu, 15 Aug 2013 02:40:49 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9227) RESTServer should handle the loginUser correctly 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/HBASE-9227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740614#comment-13740614 ] Jimmy Xiang commented on HBASE-9227: ------------------------------------ I prefer v2. It is better to set realUser to User.getCurrent().getUGI() only if hbase.rest.authentication.type is not null? > RESTServer should handle the loginUser correctly > ------------------------------------------------ > > Key: HBASE-9227 > URL: https://issues.apache.org/jira/browse/HBASE-9227 > Project: HBase > Issue Type: Bug > Affects Versions: 0.95.0 > Reporter: Devaraj Das > Assignee: Devaraj Das > Priority: Blocker > Fix For: 0.95.2 > > Attachments: 9227-1.txt, 9227-2.txt > > > HBASE-8662 introduced a change by which the realUser in the method RESTServer.main() gets assigned to the loginUser only when the config hbase.rest.authentication.type is set to something (like "kerberos"). > I think we should set the realUser to loginUser even when the config hbase.rest.authentication.type is null. Without that the regular (non-impersonated) accesses also fail. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira