You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/05/12 19:57:13 UTC
[jira] [Commented] (AMBARI-16638) Empty audiences list is treated
as deny all for JWT auth
[ 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)