Return-Path: X-Original-To: apmail-sentry-commits-archive@minotaur.apache.org Delivered-To: apmail-sentry-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3DB2115E1 for ; Fri, 19 Sep 2014 01:50:56 +0000 (UTC) Received: (qmail 24649 invoked by uid 500); 19 Sep 2014 01:50:56 -0000 Delivered-To: apmail-sentry-commits-archive@sentry.apache.org Received: (qmail 24601 invoked by uid 500); 19 Sep 2014 01:50:56 -0000 Mailing-List: contact commits-help@sentry.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sentry.incubator.apache.org Delivered-To: mailing list commits@sentry.incubator.apache.org Received: (qmail 24592 invoked by uid 99); 19 Sep 2014 01:50:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2014 01:50:56 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 19 Sep 2014 01:50:55 +0000 Received: (qmail 23778 invoked by uid 99); 19 Sep 2014 01:50:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2014 01:50:35 +0000 Date: Fri, 19 Sep 2014 01:50:35 +0000 (UTC) From: "guoquanshen (JIRA)" To: commits@sentry.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SENTRY-405) Adding a general jdo access layer(sentrystore) to support the new authorization model MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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 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)