Unable to authenticate against Cassandra DB with default username and password
search cancel

Unable to authenticate against Cassandra DB with default username and password

book

Article ID: 8030

calendar_today

Updated On:

Products

CA Rapid App Security CA API Gateway

Issue/Introduction

When you try to authenticate against Cassandra DB with default user name and password through JDBC connection authentication fails

Environment

Release:
Component: APIMBL

Cause

Authenticator option has to be changed in cassandra.yaml

Resolution

 

1. The default user id and password for Cassandra DB  is Cassandra, to authenticate using the default values you need to follow  below steps.

2. Change authenticator option in the cassandra.yaml file to PasswordAuthenticator

3. By default its set to AllowAllAuthenticator

4. Change it to authenticator: PasswordAuthenticator

5. Restart Cassandra

6. Other option would be creating another superuser other than Cassandra