hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9035) Generalize setup of LoginContext
Date Wed, 14 Nov 2012 20:40:12 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Daryn Sharp updated HADOOP-9035:

    Attachment: HADOOP-9035.patch

Arg. {{isSecurityEnabled}} is used to initialize the UGI's conf if it's not already, but the
new method of instantiating a login context eschewed the call.  I had to add an {{ensureInitialized}}
to {{getLoginUser}} to compensate.  Also used an accessor on the authentication method to
get the login conf instead of direct field access.
> Generalize setup of LoginContext
> --------------------------------
>                 Key: HADOOP-9035
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9035
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9035.patch, HADOOP-9035.patch, HADOOP-9035.patch, HADOOP-9035.patch
> The creation of the {{LoginContext}} in {{UserGroupInformation}} has specific cases for
specific authentication types.  This is inflexible.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message