Hi Matteo, Thanks for your interest in Sentry!
Sentry is pluggable and it is fairly simple to delegate Sentry your authorization and policy management needs. Here are some pointers on main modules required for integration, code organization and examples to get you started. Main modules: - Binding: Authorization checks happen here - Model: Define what are the objects in your system that you want to control access and define the granularity - Policy engine: Define how you want to evaluate policies. For example: Wildcards? - E2E tests Example: Sqoop integration: https://issues.apache.org/jira/browse/SENTRY-612 Code organization: Repo: https://github.com/apache/incubator-sentry - Binding code: https://github.com/apache/incubator-sentry/tree/master/sentry-binding - Model: https://github.com/apache/incubator-sentry/tree/master/sentry-core - Policy engine: https://github.com/apache/incubator-sentry/tree/master/sentry-policy - E2E tests: https://github.com/apache/incubator-sentry/tree/master/sentry-tests I created a wiki page to maintain this information here: https://cwiki.apache.org/confluence/display/SENTRY/Integration+with+Sentry Please let us know if you have any questions. Thanks! On Tue, Oct 20, 2015 at 3:15 AM, Matteo Pelati <[email protected]> wrote: > Hello everybody, > > I need a policy manager for an hadoop application and I'm considering > sentry as a possibility. > The idea would be writing a plugin module with the entities of my > application and use sentry as a policy manage. > I just started looking at the code and I was wondering if anybody can give > me a hint on where to start looking for integrating such a module. > > Thanks > Matteo > -- Sravya Tirukkovalur
