Skip to content

Conversation

@tiagomlalves
Copy link
Member

@tiagomlalves tiagomlalves commented Feb 19, 2025

What is the issue

ClientState contains information about driver's name and version which could be used to determine the contents of the AuthenticateMessage that is sent back to the clients. This enables, for instance, returning driver's known authenticator implementations (e.g. DseAuthenticator) which enables SASL negotiation.

What does this PR fix and why was it fixed

Allows custom implementations of IAuthenticator to return their own AuthenticateMessage based on ClientState information.

This PR back-ports CASSANDRA-19984.

Allows custom implementations of IAuthenticator to return their own
AuthenticateMessage based on ClientState information.

ClientState contains information about driver's name and version which
could be used to determine the contents of the AuthenticateMessage that
is sent back to the clients. This enables, for instance, returning
driver's known authenticator implementations (e.g. DseAuthenticator)
which enables SASL negotiation.

 patch by Tiago Alves; reviewed by Mick Semb Wever, Andy Tolbert for CASSANDRA-19984
@tiagomlalves tiagomlalves marked this pull request as ready for review February 19, 2025 10:49
@github-actions
Copy link

github-actions bot commented Feb 19, 2025

Checklist before you submit for review

  • Make sure there is a PR in the CNDB project updating the Converged Cassandra version
  • Use NoSpamLogger for log lines that may appear frequently in the logs
  • Verify test results on Butler
  • Test coverage for new/modified code is > 80%
  • Proper code formatting
  • Proper title for each commit staring with the project-issue number, like CNDB-1234
  • Each commit has a meaningful description
  • Each commit is not very long and contains related changes
  • Renames, moves and reformatting are in distinct commits

@sonarqubecloud
Copy link

@cassci-bot
Copy link

❌ Build ds-cassandra-pr-gate/PR-1582 rejected by Butler


1 new test failure(s) in 1 builds
See build details here


Found 1 new test failures

Test Explanation Branch history Upstream history
o.a.c.u.b.BinLogTest.testTruncationReleasesLogS... regression 🔴 🔵🔵🔵🔵🔵🔵🔵

Found 8 known test failures

Copy link

@emerkle826 emerkle826 left a comment

Choose a reason for hiding this comment

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

This looks good to me (looks like almost a direct port of apache@8bf354b for Cassandra 5.0)

@tiagomlalves tiagomlalves merged commit 71ba631 into main Feb 25, 2025
461 of 477 checks passed
@tiagomlalves tiagomlalves deleted the HCD-83-main branch February 25, 2025 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants