Skip to content

add option to configure approved password authenticators in Cassandra #2093

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

Merged
merged 3 commits into from
Feb 14, 2020

Conversation

jtlisi
Copy link
Contributor

@jtlisi jtlisi commented Feb 7, 2020

This PR optionally allows users to specify Authenticators for Cassandra that are not including in the default approved gocql list. The same password workflow that is used in gocql is used by the custom authenticator. It will just utilize a user provided set of approved authenticators.

Checklist

  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

For other reviewer the interface default implementation is here https://github.com/gocql/gocql/blob/68212b7a2cd01dfdd006839a57f77b320a42fc4d/conn.go

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a nit (up to you)

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
@jtlisi jtlisi force-pushed the 20200207_custom_authenticator branch from eb1414b to 12377de Compare February 13, 2020 22:23
@jtlisi jtlisi merged commit 4ecfdc0 into cortexproject:master Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants