frankgh commented on code in PR #160:
URL: https://github.com/apache/cassandra-sidecar/pull/160#discussion_r1879182190
##########
server/src/test/integration/org/apache/cassandra/sidecar/cluster/locator/CqlSessionProviderIntegrationTest.java:
##########
@@ -106,21 +106,21 @@ void testWithMTLS(VertxTestContext context,
ConfigurableCassandraTestContext cas
.withFailMessage("mTLS authentication is not supported in 4.0
Cassandra version")
.isGreaterThanOrEqualTo(MIN_VERSION_WITH_MTLS);
- cassandraContext.configureAndStartCluster(builder -> {
- builder.appendConfig(config ->
config.set("authenticator.class_name",
"org.apache.cassandra.auth.MutualTlsWithPasswordFallbackAuthenticator")
-
.set("authenticator.parameters",
Collections.singletonMap("validator_class_name",
-
"org.apache.cassandra.auth.SpiffeCertificateValidator"))
- .set("role_manager",
"CassandraRoleManager")
- .set("authorizer",
"CassandraAuthorizer")
-
.set("client_encryption_options.enabled", "true")
-
.set("client_encryption_options.optional", "true")
-
.set("client_encryption_options.require_client_auth", "true")
-
.set("client_encryption_options.require_endpoint_verification", "false")
-
.set("client_encryption_options.keystore",
serverKeystorePath.toAbsolutePath().toString())
-
.set("client_encryption_options.keystore_password", serverKeystorePassword)
-
.set("client_encryption_options.truststore",
truststorePath.toAbsolutePath().toString())
-
.set("client_encryption_options.truststore_password", truststorePassword));
- });
+ cassandraContext.configureAndStartCluster(builder ->
builder.appendConfig(config -> {
+ config.set("authenticator.class_name",
"org.apache.cassandra.auth.MutualTlsWithPasswordFallbackAuthenticator")
Review Comment:
checkstyle complaining with line length
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]