Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-881

How to add Ranger authorization for an application? Sample

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0, 0.5.3
    • Ranger
    • None

    Description

      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.

      Attachments

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: