Jump to: navigation, search

Cassandra authentication

Web Services supports Cassandra authentication. Authentication validates incoming user connections to the Cassandra database. Implementing Cassandra authentication requires you to do some configuration in Cassandra and in Web Services.

Configure Cassandra authentication

The user login accounts and their passwords required for authentication are managed inside the cassandra.yaml file. Configure Cassandra authentication according to Datastax documentation.

Web Services configuration

To support Cassandra authentication, open the application.yaml file and provide the appropriate credentials. For example:

cassandraCluster:
  thrift_port: 9160
  jmx_port: 7199
  ...
  userName: <super user name>
  password: <super user password>
  ...
Important
  • To save backward compatable behavior when the username or password is not provided, GWS will try to connect to Cassandra in anonymous way.
  • You might also want to encrypt the password for added security.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on March 14, 2017, at 07:59.