sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "guoquanshen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-405) Adding a general jdo access layer(sentrystore) to support the new authorization model
Date Fri, 19 Sep 2014 01:50:35 GMT

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

guoquanshen updated SENTRY-405:
-------------------------------
    Attachment: SENTRY-405.patch

> Adding a general jdo access layer(sentrystore) to support the new authorization model

> --------------------------------------------------------------------------------------
>
>                 Key: SENTRY-405
>                 URL: https://issues.apache.org/jira/browse/SENTRY-405
>             Project: Sentry
>          Issue Type: Sub-task
>            Reporter: guoquanshen
>            Assignee: guoquanshen
>         Attachments: SENTRY-405.patch
>
>
> Currently the sentryStore in Sentry only supports database structure authorize model
such as Hive/Impala, in order to support more components like Solr or other no  database authorization
> model component. It needs to create a general store to communicate with outside, the
structure of privilege model should be hidden. The general store uses interface to transfer
the needed information of privilege, the example codes are as following:
> {code}
> public interface PrivilegeReader {
>   public List<? extends Authorizable> getAuthorizables();
>   public String getAction();
>   public String getComponent();
>   public String getService();
>   public String getScope();
>   public Boolean withGrantOption();
> }
> public interface Authorizable {
>   public String getName();
>   public String getTypeName();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message