Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Authorizer #400

Closed
5 tasks done
Tracked by #438
soenkeliebau opened this issue Sep 27, 2023 · 4 comments · Fixed by #474
Closed
5 tasks done
Tracked by #438

Implement Authorizer #400

soenkeliebau opened this issue Sep 27, 2023 · 4 comments · Fixed by #474
Assignees
Labels
changelog/crd-change Any issue that changes a CRD (breaking and non-breaking changes) should get this label changelog/highlight Items worth mentioning in the Platform changelog release/2024-03

Comments

@soenkeliebau
Copy link
Member

soenkeliebau commented Sep 27, 2023

In order to allow authorizing HDFS access requests with OPA, we need to implement a component to run inside of HDFS and forward requests to OPA, this is a principle very similar to the ones we currently use in Kafka, Druid and which is being merged in upstream Trino as well.

There is some code at https://github.com/stackabletech/hdfs-opa-authorizer where I have played around a bit, but none of this should be taken as gospel, if it seems weird then that is because it is weird and wasn't thought through!

The authorizer should implement HDFS' internal authorizer interface, serialize the relevant information from the context and forward it to a configurable OPA server.

Configuration could either be done via the HDFS config mechanism or in a first stage via environment variables.

Tasks

  1. 0 of 5
    release/2024-03
    sbernauer
@lfrancke
Copy link
Member

lfrancke commented Feb 1, 2024

I just looked at the Group Mapper and just wanted to give a heads-up that I'd like Java projects to follow the example of the Druid Authorizer in terms of code style and setup etc.

(I haven't looked at your code yet)

I can help if needed.

@sbernauer
Copy link
Member

Alright 👍

@lfrancke
Copy link
Member

lfrancke commented Mar 5, 2024

Please link to documentation here

@sbernauer
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/crd-change Any issue that changes a CRD (breaking and non-breaking changes) should get this label changelog/highlight Items worth mentioning in the Platform changelog release/2024-03
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants