[
https://issues.apache.org/jira/browse/SQOOP-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14278058#comment-14278058
]
Richard commented on SQOOP-1834:
--------------------------------
[~venkatnrangan], Thank you very much for reviewing so detail.
you are right. I mis-understood the meaning between principle and principal. I
will fix it now. For role-id and -rid, I will make it consistent. The following
code should be
{code}
Override
public void createLinkPrivilige() throws SqoopAccessControlException {
List<Privilege> privileges;
privileges.add(new Privilege(new Resource("Link", "1"), "Create", null));
privileges.add(new Privilege(new Resource("Connector", "1"), "Use", null));
AuthorizationManager.getAuthenticationHandler.checkPrivileges(privileges);
}
{code}
> SQOOP 2: RBAC pluggable framework
> ---------------------------------
>
> Key: SQOOP-1834
> URL: https://issues.apache.org/jira/browse/SQOOP-1834
> Project: Sqoop
> Issue Type: Sub-task
> Reporter: Richard
> Assignee: Richard
> Attachments: SQOOP-1834.1.patch, SQOOP-1834.patch
>
>
> Role based authorization will manager the access to the resources in Sqoop,
> such as connections, links, jobs, submissions, and the modification types,
> like create, update, delete, run.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)