Skip to content

RANGER-5312: add authz-embedded module#1

Closed
mneethiraj wants to merge 9 commits intoRANGER-5309from
RANGER-5312
Closed

RANGER-5312: add authz-embedded module#1
mneethiraj wants to merge 9 commits intoRANGER-5309from
RANGER-5312

Conversation

@mneethiraj
Copy link
Copy Markdown
Owner

What changes were proposed in this pull request?

Added authz-embedded module implementation

How was this patch tested?

added unit tests

@mneethiraj mneethiraj requested a review from Copilot September 11, 2025 22:28
@mneethiraj mneethiraj self-assigned this Sep 11, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new "authz-embedded" module to Apache Ranger, providing an embedded authorization framework that allows applications to perform authorization using Ranger policies without requiring a separate Ranger admin service. The implementation includes configuration management, authorization plugins, error handling, and comprehensive test coverage.

  • Adds embedded authorization module with RangerEmbeddedAuthorizer as the main entry point
  • Implements policy source handlers for resource-based and local folder-based policy retrieval
  • Provides comprehensive test suite with S3 authorization scenarios

Reviewed Changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pom.xml Adds authz-embedded module to build configuration
authz-embedded/pom.xml Maven configuration for the new module with required dependencies
authz-embedded/src/main/java/* Core implementation classes for embedded authorization
authz-embedded/src/test/java/* Unit tests and policy source implementations
authz-embedded/src/test/resources/* Test data including S3 policies, roles, tags, and authorization test cases
authz-embedded/src/conf/* Configuration template for embedded authorization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@mneethiraj mneethiraj closed this Oct 5, 2025
@mneethiraj mneethiraj deleted the RANGER-5312 branch October 5, 2025 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants