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] [Commented] (HADOOP-10652) Refactor Proxyusers to use AccessControlList
Date Wed, 18 Jun 2014 23:00:27 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036608#comment-14036608

Daryn Sharp commented on HADOOP-10652:

Isn't this an incompatible change?  The current multi-valued parsing for user and group values
allows whitespace around commas, whereas switching to {{AccessControlList}} will consider
space to be a delimiter between user and group specs.  "daryn, benoy, andrew" appears parsed
as (user:daryn groups:benoy,andrew).

If you want to use that acl class, it should have a 2-arg ctor that the current 1-arg ctor
calls after a naive string split.  The 2-arg will correctly parse the specs as a trimmed string

> Refactor Proxyusers to use AccessControlList  
> ----------------------------------------------
>                 Key: HADOOP-10652
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10652
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HADOOP-10652.patch
> Currently Proxyuser specification  accepts a list of users and groups including wildcard
values. Same functionality is already encapsulated in _AccessControlList_ . It will be better
to refactor _ProxyUsers_ to use _AccessControlList_ instead of maintaining separate logic.

This message was sent by Atlassian JIRA

View raw message