[
https://issues.apache.org/jira/browse/RANGER-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194369#comment-15194369
]
Madhan Neethiraj commented on RANGER-881:
-----------------------------------------
SampleApp implementation committed in ranger-0.5 branch:
http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/f7e0e079
> 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
>
> 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)