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 9FF7118D60 for ; Sat, 16 Jan 2016 06:34:40 +0000 (UTC) Received: (qmail 67690 invoked by uid 500); 16 Jan 2016 06:34:40 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 67636 invoked by uid 500); 16 Jan 2016 06:34:40 -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 67599 invoked by uid 99); 16 Jan 2016 06:34:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2016 06:34:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1EBAB2C1F60 for ; Sat, 16 Jan 2016 06:34:40 +0000 (UTC) Date: Sat, 16 Jan 2016 06:34:40 +0000 (UTC) From: "Xiaoyu Yao (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12716) KerberosAuthenticator#doSpnegoSequence use incorrect class to determine isKeyTab in JDK8 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-12716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HADOOP-12716: -------------------------------- Attachment: (was: HADOOP-12716.000.patch) > KerberosAuthenticator#doSpnegoSequence use incorrect class to determine isKeyTab in JDK8 > ---------------------------------------------------------------------------------------- > > Key: HADOOP-12716 > URL: https://issues.apache.org/jira/browse/HADOOP-12716 > Project: Hadoop Common > Issue Type: Bug > Components: security > Environment: Java 8 > Reporter: Xiaoyu Yao > Assignee: Xiaoyu Yao > Attachments: HADOOP-12716.000.patch > > > HADOOP-11287 and HADOOP-10786 has fixed the issue in UserGroupInformation class for JDK8. > However, the logic in KerberosAuthenticator#doSpnegoSequence is not updated. The KerberosKey.class below should be KeyTab.class for JDK8. > {code} > if (subject == null > || (subject.getPrivateCredentials(KerberosKey.class).isEmpty() > && subject.getPrivateCredentials(KerberosTicket.class).isEmpty())) { > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)