public String getPassword() {
        return PASSWORD;
    }
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
modules/cassandra/src/main/java/org/testcontainers/containers/CassandraContainer.java