Open imsayari404 opened 1 week ago
Will the JwtAuthenticator and PasswordAuthenticator be refactored, as suggested in #24053 (review), in this PR?
@pramodsatya There has been a slight change since my last comment on this issue. After discussions with @tdcmeehan, we introduced a new and more generic SPI that is independent of the current Authenticators. This SPI can be used to implement any type of custom authenticator, without being limited to just a custom implementation of JWT or Password Authenticators.
We decided to keep the current implementation of Password and JWT authenticators unchanged to avoid introducing a breaking change.
Description
A pluggable authenticator in Presto allows the authentication process to be customized based on specific use cases, such as integrating with different identity providers or token validation strategies.
Motivation and Context
Fixes #24052
Test Plan
Added Unit Tests
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.