Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 647ED18D33 for ; Thu, 17 Mar 2016 12:26:35 +0000 (UTC) Received: (qmail 53481 invoked by uid 500); 17 Mar 2016 12:26:34 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 53272 invoked by uid 500); 17 Mar 2016 12:26:34 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 53087 invoked by uid 99); 17 Mar 2016 12:26:34 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2016 12:26:34 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BFF082C1F76 for ; Thu, 17 Mar 2016 12:26:33 +0000 (UTC) Date: Thu, 17 Mar 2016 12:26:33 +0000 (UTC) From: "Larry McCay (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12929) JWTRedirectAuthenticationHandler must accommodate null expiration time 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-12929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay updated HADOOP-12929: --------------------------------- Status: Patch Available (was: Open) > JWTRedirectAuthenticationHandler must accommodate null expiration time > ---------------------------------------------------------------------- > > Key: HADOOP-12929 > URL: https://issues.apache.org/jira/browse/HADOOP-12929 > Project: Hadoop Common > Issue Type: Bug > Components: security > Reporter: Larry McCay > Assignee: Larry McCay > Attachments: HADOOP-12929-001.patch, HADOOP-12929-002.patch > > > The underlying JWT token within the hadoop-jwt cookie should be able to have no expiration time. This allows the token lifecycle to be the same as the cookie that contains it. > Current validation processing of the token interprets the absence of an expiration time as requiring a new token to be acquired. JWT itself considers the exp to be an optional claim. As such, this patch will change the processing to accept a null expiration as valid for as long as the cookie is presented. -- This message was sent by Atlassian JIRA (v6.3.4#6332)