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

[FEATURE] Authentication for Cassandra / ScyllaDB #3486

Open
zooptwopointone opened this issue Oct 3, 2024 · 0 comments
Open

[FEATURE] Authentication for Cassandra / ScyllaDB #3486

zooptwopointone opened this issue Oct 3, 2024 · 0 comments

Comments

@zooptwopointone
Copy link

Is your feature request related to a problem? Please describe.

I am working on getting Cache DB Working with our Scylla cluster. I first implemented authentication into the current Cassandra module. I will put in a Pull request for that. But I am curious what I should do for the Scylla DB changes. If you could guide me as I am not really a C programmer. Basically the Scylla implementation/driver is exactly the same as Cassandra. The only difference to the code is including the Scylla Lib vs the Cassandra lib. 1 other change was compiling on Debian I has to add this to the main Makefile's LDFLAGS -ltinfo

So my question is for the scylla driver is there a better way to provide an option to choose between them dynamically via the MAKE options or something or is it better that I just copy the full cassandra module and submit it under scylla?

thanks.

Describe the solution you'd like
I have a PR I will submit, but just enabling username and password in the db_url to be passed to the Scylla/cassandra driver for authentication.

Implementation
Just implemented what was available in the lib to provide username and password and current functionality of Opensips

Describe alternatives you've considered
none

Additional context

I want to use Authentication when connecting to the database.

@zooptwopointone zooptwopointone changed the title [FEATURE] Authentication for Cass [FEATURE] Authentication for Cassandra / ScyllaDB Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants