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

[FEATURE] Gravitino Authenticator support Basic Authentication #6341

Open
Saintyang opened this issue Jan 21, 2025 · 0 comments
Open

[FEATURE] Gravitino Authenticator support Basic Authentication #6341

Saintyang opened this issue Jan 21, 2025 · 0 comments
Labels
feature New feature or request

Comments

@Saintyang
Copy link

Describe the feature

add a new Authenticator named BasicAuthenticator

Motivation

Gravitino server supports three authenticators: OAuth2TokenAuthenticator,SimpleAuthenticator and KerberosAuthenticator.
SimpleAuthenticator does not authenticate the user and only uses the username,while kerberos and oauth2 needs external service.
Basic authentication is a method for an HTTP user agent to provide a user name and password when making a request, and doesn't need external service.

Describe the solution

BasicAuthenticator control access using HTTP Basic authentication, By configuring the path to the password file, you can easily use it.

Additional context

Does this PR introduce any user-facing change?

Yes, add the config options

gravitino.authenticators.basic.userFilePath

How was this patch tested?

UT

Effect picture display

Image

Image
@Saintyang Saintyang added the feature New feature or request label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant