From yarn-issues-return-167502-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu May 9 18:24:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C06F9180778 for ; Thu, 9 May 2019 20:24:02 +0200 (CEST) Received: (qmail 55075 invoked by uid 500); 9 May 2019 18:24:01 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 55026 invoked by uid 99); 9 May 2019 18:24:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2019 18:24:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DDF80E2B9A for ; Thu, 9 May 2019 18:24:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5541825817 for ; Thu, 9 May 2019 18:24:00 +0000 (UTC) Date: Thu, 9 May 2019 18:24:00 +0000 (UTC) From: "Prabhu Joseph (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-9522) AppBlock ignores full qualified class name of PseudoAuthenticationHandler 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/YARN-9522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836605#comment-16836605 ] Prabhu Joseph commented on YARN-9522: ------------------------------------- Thanks [~giovanni.fumarola] for the review. Attached patch-002 with above change. > AppBlock ignores full qualified class name of PseudoAuthenticationHandler > ------------------------------------------------------------------------- > > Key: YARN-9522 > URL: https://issues.apache.org/jira/browse/YARN-9522 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 3.2.0 > Reporter: Prabhu Joseph > Assignee: Prabhu Joseph > Priority: Minor > Attachments: YARN-9522-001.patch, YARN-9522-002.patch > > > {{AuthenticationHandler}} can be either configured using fqcn or type. {{AppBlock}} checks for only the type simple and ignores the fqcn of {{PseudoAuthenticationHandler}} while checking whether ui is secured or not. > {code} > * @param authHandler The short-name (or fully qualified class name) of the > * authentication handler. > {code} > *AppBlock.java* > {code} > // check if UI is unsecured. > String httpAuth = conf.get(CommonConfigurationKeys.HADOOP_HTTP_AUTHENTICATION_TYPE); > this.unsecuredUI = (httpAuth != null) && httpAuth.equals("simple"); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org