-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Add file based password authenticator plugin #15504
Conversation
@ashishtadose can you please take a first review? |
@Inject | ||
public FileAuthenticator(FileConfig config) | ||
{ | ||
File file = config.getPasswordFile(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a check to validate if file exists
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ashishtadose I have added the validation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good now
@imjalpreet can you please also add documentation for this plugin |
c085b67
to
88cc370
Compare
looks good to me.. can you please review it as well @highker |
Cherry-pick of trinodb/trino#1912 (trinodb/trino#1912) Co-authored-by: David Phillips <[email protected]> Co-authored-by: Rupam Kundu <[email protected]>
Cherry-pick of trinodb/trino#2335 (trinodb/trino#2335) Co-authored-by: David Phillips <[email protected]>
88cc370
to
cc28838
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 thank you
Unrelated but trinodb/trino@9afb92b#diff-84dd20cc56635d89c0388d00bf9cf21cd1f50425777fdf86e9e43da69d81a94b looks like a nice refactor
@arhimondr @rschlussel can you merge this once the tests pass? It's a pretty straightforward cherry pick. |
Presto accumulo didn't pass, but I don't think it is related. #15921 is showing up quite a bit now. |
Cherry-pick of trinodb/trino#1912 (trinodb/trino#1912)
Co-authored-by: David Phillips [email protected]
Co-authored-by: Rupam Kundu [email protected]
Related Issue: #15482
This PR also includes moving LDAP Authenticator to a separate package