hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12716) KerberosAuthenticator#doSpnegoSequence use incorrect class to determine isKeyTab in JDK8
Date Sat, 16 Jan 2016 06:34:40 GMT

     [ 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)

Mime
View raw message