Skip to content

[FEATURE] Gravitino Authenticator support Basic Authentication #6341

Open
@Saintyang

Description

@Saintyang

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions