- getCluster() - Method in class org.testcontainers.containers.CassandraContainer
-
Get configured Cluster
Can be used to obtain connections to Cassandra in the container
- getCluster(ContainerState, boolean) - Static method in class org.testcontainers.containers.CassandraContainer
-
- getCluster(ContainerState) - Static method in class org.testcontainers.containers.CassandraContainer
-
- getPassword() - Method in class org.testcontainers.containers.CassandraContainer
-
Get password
By default Cassandra has authenticator: AllowAllAuthenticator in cassandra.yaml
If username and password need to be used, then authenticator should be set as PasswordAuthenticator
(through custom Cassandra configuration) and through CQL with default cassandra-cassandra credentials
user management should be modified
- getUsername() - Method in class org.testcontainers.containers.CassandraContainer
-
Get username
By default Cassandra has authenticator: AllowAllAuthenticator in cassandra.yaml
If username and password need to be used, then authenticator should be set as PasswordAuthenticator
(through custom Cassandra configuration) and through CQL with default cassandra-cassandra credentials
user management should be modified