You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/12/08 17:48:29 UTC
[camel] 01/03: (chores) camel-test-infra-kafka: ensure proper formatting for the SASL JaaS configuration
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit b41cc7718c1767e98328e22e1204a288c5b1421d
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Dec 8 15:42:13 2022 +0100
(chores) camel-test-infra-kafka: ensure proper formatting for the SASL JaaS configuration
---
.../camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java b/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java
index bfad1359bc0..f3b675bf1d3 100644
--- a/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java
+++ b/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java
@@ -110,7 +110,7 @@ public class ContainerLocalAuthKafkaService implements KafkaService, ContainerSe
* @return A string with the configuration
*/
public static String generateSimpleSaslJaasConfig(String username, String password) {
- return String.format("org.apache.kafka.common.security.plain.PlainLoginModule required username=%s password=%s;",
+ return String.format("org.apache.kafka.common.security.plain.PlainLoginModule required username='%s' password='%s';",
username, password);
}
}