Sorry, I didn’t paste the correct URL for Bryan’s blog. Here is the correct one 
https://bryanbende.com/development/2016/04/25/building-a-plugin-for-apache-ranger

You might also want to check HDFS plugin implementation. Take a look at 
checkPermission() method.

https://github.com/apache/ranger/blob/master/hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java


Bosco

On 10/4/17, 4:55 PM, "Ronny Hidayat" <programku....@gmail.com> wrote:

    Ok, Thank you for your help.
    
    2017-10-05 0:37 GMT+07.00, Don Bosco Durai <bo...@apache.org>:
    > There is a nice blog written by Bryan Bende
    > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53741207
    >
    > You can also refer to
    > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53741207
    >
    > There is a sample project by Madhan to bootstrap your plugin.
    > https://github.com/apache/ranger/tree/master/ranger-examples/sampleapp
    >
    > I couldn’t see the ServiceDef in the project, but you could look into one 
of
    > the existing ones.
    >
    > At a high level, Apache Ranger expects the native component to publish an
    > interface e.g.
    > 
https://github.com/apache/ranger/blob/master/ranger-examples/sampleapp/src/main/java/org/apache/ranger/examples/sampleapp/IAuthorizer.java
    > . Once your interface is defined, then it is pretty straight forward.
    >
    > If you are stuck, someone will be able to help you out.
    >
    > All the best…
    >
    > Bosco
    >
    >
    >
    > On 10/3/17, 12:50 AM, "Ronny Hidayat" <programku....@gmail.com> wrote:
    >
    >     Hi all,
    >
    >     I want to add new plugin to ranger (glusterfs-agent), so GlusterFS
    >     appears on Ranger-Admin website.
    >     How to do that ?
    >     Do you have any tutorial ?
    >
    >     Thank you.
    >
    >
    >
    >
    


Reply via email to