Skip to content
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

Don't restrict server authenticator in PasswordAuthenticator #1801

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Commits on Aug 23, 2024

  1. Don't restrict server authenticator in PasswordAuthenticator

    Currently gocql will only allow authenticating with authenticators
    defined in defaultApprovedAuthenticators in conn.go.
    
    There have been multiple occurrences of implementers needing to update
    this list, either when a vendor would like to add their authenticator,
    or a new authenticator being added.
    
    It would probably reduce friction to just accept any authenticator
    provided by the server. From what I know, other drivers behave in this
    way.
    
    If a user wanted to restrict this, they could use the existing
    configuration PasswordAuthenticator.AllowedAuthenticators.
    
    patch by Andy Tolbert; reviewed by for CASSANDRA-19859
    tolbertam committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    6c27717 View commit details
    Browse the repository at this point in the history