You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Velmurugan Periasamy (JIRA)" <ji...@apache.org> on 2016/04/29 20:14:13 UTC

[jira] [Updated] (RANGER-881) How to add Ranger authorization for an application? Sample

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

Velmurugan Periasamy updated RANGER-881:
----------------------------------------
    Fix Version/s: 0.5.3

> How to add Ranger authorization for an application? Sample
> ----------------------------------------------------------
>
>                 Key: RANGER-881
>                 URL: https://issues.apache.org/jira/browse/RANGER-881
>             Project: Ranger
>          Issue Type: Task
>          Components: Ranger
>    Affects Versions: 0.6.0
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>             Fix For: 0.6.0, 0.5.3
>
>         Attachments: 0001-RANGER-881-sample-application-and-its-Ranger-plugin-.patch, 0001-RANGER-881-sampleapp-update-to-comply-with-good-codi.patch
>
>
> A sample application to help understand the development/deployment details to add Ranger authorization to an application will serve as a good reference.
> To keep this simple, lets assume the following application:
>  - supports authorization of read/write/execute accesses to files
>  - uses an interface to authorize access to files (IAuthorizer)
>  - supports configuration to specify authorizer implementation
>  - when no authorizer is specified, will use a built-in authorizer (DefaultAuthorizer) that allows all accesses
> Given this application, develop an authorizer implementation that uses Ranger policies to allow/deny access. Provide simple instructions to run the application with default authorizer and Ranger authorizer.



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