Authenticate to Cassandra
After you add the connector, you need to set the required properties.- Server: Enter the host name or the IP address of the server that hosts the Cassandra database. The default host name is localhost.
- Port: Enter the port number of the server that hosts the Cassandra database. The default port value is 9042.
- Basic (default)
- DataStax Enterprise
- Kerberos
- LDAP
Basic
Note: In the cassandra.yaml file, you also need to set the authenticator property to PasswordAuthenticator.DataStax Enterprise
To connect with DataStax Enterprise credentials, specify the following properties:- Auth Scheme: Select DSE.
- User: Enter the username that you use to authenticate to the Cassandra database.
- Password: Enter the password that you use to authenticate to the Cassandra database.
Kerberos
Note: In the cassandra.yaml file, you also need to set the authenticator property to com.datastax.bdp.cassandra.auth.DseAuthenticator.LDAP
To connect with LDAP credentials, specify the following properties:- Auth Scheme: Select LDAP.
- LDAP Server: Enter the host name or the IP address of your LDAP server.
- User: Enter the username that you use to authenticate to the Cassandra database.
- Password: Enter the password that you use to authenticate to the Cassandra database.
- LDAP Password: Enter the password of the default LDAP user. Note: You must set the password if the LDAP server does not allow anonymous bind.
- LDAP Port: Enter the port for your LDAP server. The default port is 389.
- Default LDAP User: Enter the default LDAP user used to connect to and communicate with the server, it must be set if the LDAP server do not allow anonymous bind.
- Search Base: Enter the user-lookup search base for your LDAP server.
- Search Filter: Enter the search filter that you want to use to look up usernames in LDAP. The default setting is (uid=)
Complete Your Connection
To complete your connection:-
Specify the following properties:
- (Optional) Database: Enter the name of the Cassandra keyspace that contains your tables.
- Use SSL Select whether you want to enable Secure Sockets Layer (SSL). By default, the Enable checkbox is not selected.
- Consistency Level: Select the level that determines the number of the replicas from which you want to enforce a response before queries are considered a success. The default level is ONE.
- Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)
- Click Create & Test to create your connection.