Open
Description
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

Activity