You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "guoquan (JIRA)" <ji...@apache.org> on 2015/03/18 06:22:49 UTC

[jira] [Updated] (SENTRY-405) Adding a general jdo access layer(sentrystore) to support the new authorization model

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

guoquan updated SENTRY-405:
---------------------------
    Fix Version/s: 1.5.0

> 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
>    Affects Versions: 1.5.0
>            Reporter: guoquan
>            Assignee: guoquan
>             Fix For: 1.5.0
>
>         Attachments: SENTRY-405.002.patch, SENTRY-405.003.patch, SENTRY-405.004.patch, 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)