Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 A57739876 for ; Thu, 26 Apr 2012 20:45:15 +0000 (UTC) Received: (qmail 16219 invoked by uid 500); 26 Apr 2012 20:45:13 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 16158 invoked by uid 500); 26 Apr 2012 20:45:13 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 16150 invoked by uid 99); 26 Apr 2012 20:45:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 20:45:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 20:45:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A7E85422A84 for ; Thu, 26 Apr 2012 20:44:50 +0000 (UTC) Date: Thu, 26 Apr 2012 20:44:50 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <378995230.260.1335473090697.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1844819044.780.1335309847243.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HADOOP-8314) HttpServer#hasAdminAccess should return false if authorization is enabled but user is not authenticated 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/HADOOP-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur resolved HADOOP-8314. ---------------------------------------- Resolution: Fixed committed to branch-1 > HttpServer#hasAdminAccess should return false if authorization is enabled but user is not authenticated > ------------------------------------------------------------------------------------------------------- > > Key: HADOOP-8314 > URL: https://issues.apache.org/jira/browse/HADOOP-8314 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 1.1.0, 2.0.0, 3.0.0 > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Fix For: 2.0.0 > > Attachments: HADOOP-8314.patch, HADOOP-8314.patch, HADOOP-8314_branch-1.patch > > > If the user is not authenticated (request.getRemoteUser() returns NULL) or there is not authentication filter configured (thus returning also NULL), hasAdminAccess should return false. Note that a filter could allow anonymous access, thus the first case. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira