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 804B42007D1 for ; Thu, 12 May 2016 21:57:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7EEF21602BF; Thu, 12 May 2016 19:57:15 +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 84D0F160A1B for ; Thu, 12 May 2016 21:57:14 +0200 (CEST) Received: (qmail 3217 invoked by uid 500); 12 May 2016 19:57:13 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 2941 invoked by uid 99); 12 May 2016 19:57:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 May 2016 19:57:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4B6C82C1F5C for ; Thu, 12 May 2016 19:57:13 +0000 (UTC) Date: Thu, 12 May 2016 19:57:13 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-16638) Empty audiences list is treated as deny all for JWT auth MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 12 May 2016 19:57:15 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15281959#comment-15281959 ] Hudson commented on AMBARI-16638: --------------------------------- FAILURE: Integrated in Ambari-trunk-Commit #4831 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4831/]) AMBARI-16638. Empty audiences list is treated as deny all for JWT auth. (mpapyrkovskyy: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7bdfd3b542a80510e91a94072161a63a2c488bc2]) * ambari-server/src/test/java/org/apache/ambari/server/security/authorization/jwt/JwtAuthenticationFilterTest.java * ambari-server/src/main/java/org/apache/ambari/server/security/authorization/jwt/JwtAuthenticationProperties.java * ambari-server/src/main/java/org/apache/ambari/server/security/authorization/jwt/JwtAuthenticationFilter.java * ambari-server/src/test/java/org/apache/ambari/server/security/authorization/jwt/JwtAuthenticationPropertiesTest.java > Empty audiences list is treated as deny all for JWT auth > -------------------------------------------------------- > > Key: AMBARI-16638 > URL: https://issues.apache.org/jira/browse/AMBARI-16638 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Myroslav Papirkovskyi > Assignee: Myroslav Papirkovskyi > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-16638.patch > > > Currently if ambari.properties contain {{authentication.jwt.audiences}} with empty value it is parsed into empty list and leads to denying all tokens. > Should be treated as "allow all" instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332)