Reputation: 856
I'm currently using the following configuration for Cassandra:
authenticator: PasswordAuthenticator
authorizer: org.apache.cassandra.auth.CassandraAuthorizer
My question is: How can I disable role management to use normal CQL system.permissions
The reason behind disabling roles as a whole, is because I'm unable to use create a new user while roleManagement is active:
user@cqlsh> create user testuser with password '123';
InvalidRequest: code=2200 [Invalid query] message="org.apache.cassandra.auth.CassandraRoleManager doesn't support PASSWORD"
Upvotes: 5
Views: 9512
Reputation: 61
I was getting the same issue. I modified cassandra.yaml
file as below:
authenticator: org.apache.cassandra.auth.PasswordAuthenticator
authorizer: org.apache.cassandra.auth.CassandraAuthorizer
And restarted the node. It worked for me.
You can also check the following link
Upvotes: 6