[ 
https://issues.apache.org/jira/browse/HIVE-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757621#action_12757621
 ] 

Edward Capriolo commented on HIVE-78:
-------------------------------------

@Min, 

I think you are on the right track. I think you might have your terminology 
mixed up. In AAA
The first A is authentication which usually implies supply a user/password.
second A authorize means what privileges the user has 
third A is accounting ( we already have that)

The interfaces you supplied above looks like an Authorizer.... not 
Authenticator. I think 

{noformat}
public interface Authorizer {
  public boolean authorize(Privilege priv);
  public boolean authorize(Privilege priv, Table table);
  public boolean authorize(Privilege priv,  List<Table> table);
}
{noformat}

But you seem to be on a role. I will hang back and wait to see what you come up 
with.

> Authorization infrastructure for Hive
> -------------------------------------
>
>                 Key: HIVE-78
>                 URL: https://issues.apache.org/jira/browse/HIVE-78
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>            Reporter: Ashish Thusoo
>            Assignee: Edward Capriolo
>         Attachments: hive-78-metadata-v1.patch, hive-78-syntax-v1.patch, 
> hive-78.diff
>
>
> Allow hive to integrate with existing user repositories for authentication 
> and authorization infromation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to