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 0772C200B13 for ; Wed, 1 Jun 2016 07:53:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0616D160A41; Wed, 1 Jun 2016 05:53: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 4E869160A48 for ; Wed, 1 Jun 2016 07:53:14 +0200 (CEST) Received: (qmail 71789 invoked by uid 500); 1 Jun 2016 05:53:13 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 71254 invoked by uid 99); 1 Jun 2016 05:53:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2016 05:53:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 146A62C1F6B for ; Wed, 1 Jun 2016 05:53:13 +0000 (UTC) Date: Wed, 1 Jun 2016 05:53:13 +0000 (UTC) From: "Xiao Chen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13228) Add delegation token to the connection in DelegationTokenAuthenticator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Jun 2016 05:53:15 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HADOOP-13228: ------------------------------- Attachment: HADOOP-13228.02.patch Thanks again Andrew for the quick response. Patch 2 fixes checkstyle, and adds a new dummy class to verify the DT on request header. (I meant to say inject :) ) I noticed TestWebDelegationToken can be cleaned up in various ways - no test timeout - every test method has {{final Server jetty = createJettyServer();}} at the beginning, and {{jetty.stop();}} in the end, which is exactly what the test's @Before and @After is doing... - could use {{GenericTestUtil#assertExceptionContains}} for exception message assertion But I want to keep this jira small and focused, so will file a new jira for test clean up if you agree. The new test I added is clean from the above. > Add delegation token to the connection in DelegationTokenAuthenticator > ---------------------------------------------------------------------- > > Key: HADOOP-13228 > URL: https://issues.apache.org/jira/browse/HADOOP-13228 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 2.6.0 > Reporter: Xiao Chen > Assignee: Xiao Chen > Attachments: HADOOP-13228.01.patch, HADOOP-13228.02.patch > > > Following [a comment from another jira|https://issues.apache.org/jira/browse/HADOOP-13155?focusedCommentId=15308715&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15308715], create this to specifically handle the delegation token renewal/cancellation bug in {{DelegationTokenAuthenticatedURL}} and {{DelegationTokenAuthenticator}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org