You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2016/03/09 20:03:40 UTC

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

Madhan Neethiraj created RANGER-881:
---------------------------------------

             Summary: 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
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


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)