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 9FCD21016D for ; Wed, 18 Feb 2015 18:18:46 +0000 (UTC) Received: (qmail 4832 invoked by uid 500); 18 Feb 2015 18:18:12 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 4765 invoked by uid 500); 18 Feb 2015 18:18:12 -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 4527 invoked by uid 99); 18 Feb 2015 18:18:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2015 18:18:12 +0000 Date: Wed, 18 Feb 2015 18:18:12 +0000 (UTC) From: "Benoy Antony (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-11567) Refresh HTTP Authentication secret without restarting the server 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-11567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoy Antony updated HADOOP-11567: ---------------------------------- Attachment: HADOOP-11567-001.patch Attaching the patch with testcases. > Refresh HTTP Authentication secret without restarting the server > ---------------------------------------------------------------- > > Key: HADOOP-11567 > URL: https://issues.apache.org/jira/browse/HADOOP-11567 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 2.6.0 > Reporter: Benoy Antony > Assignee: Benoy Antony > Attachments: HADOOP-11567-001.patch > > > The _AuthenticationFilter_ uses the secret read from a file specified via hadoop.http.authentication.signature.secret.file to sign the cookie containing user authentication information. > The secret is read only during initialization and hence needs a restart to update the secret. > ZKSignerSecretProvider can be used to rotate the secrets without restarting the servers, but it needs a zookeeper setup. > The jira is to refresh secret by updating the file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)