Skip to content

Commit 78862d5

Browse files
committed
remove jaasTestUtils
1 parent 88e848a commit 78862d5

File tree

1 file changed

+0
-8
lines changed
  • test-common/test-common-runtime/src/main/java/org/apache/kafka/common/test

1 file changed

+0
-8
lines changed

test-common/test-common-runtime/src/main/java/org/apache/kafka/common/test/TestUtils.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import org.apache.kafka.common.record.SimpleRecord;
2626
import org.apache.kafka.common.record.TimestampType;
2727
import org.apache.kafka.common.security.auth.SecurityProtocol;
28-
import org.apache.kafka.common.security.test.JaasTestUtils;
2928
import org.apache.kafka.common.utils.Exit;
3029
import org.apache.kafka.common.utils.Utils;
3130
import org.apache.kafka.network.SocketServerConfigs;
@@ -327,13 +326,6 @@ public Properties build() {
327326
rack.ifPresent(r -> props.put(ServerConfigs.BROKER_RACK_CONFIG, r));
328327

329328
try {
330-
if (protocolAndPorts.stream().anyMatch(entry -> JaasTestUtils.usesSslTransportLayer(entry.getKey()))) {
331-
props.putAll(JaasTestUtils.sslConfigs(org.apache.kafka.common.network.ConnectionMode.SERVER, false, trustStoreFile, "server" + nodeId));
332-
}
333-
334-
if (protocolAndPorts.stream().anyMatch(entry -> JaasTestUtils.usesSaslAuthentication(entry.getKey()))) {
335-
saslProperties.ifPresent(p -> props.putAll(JaasTestUtils.saslConfigs(Optional.of(p))));
336-
}
337329
} catch (Exception e) {
338330
throw new RuntimeException(e);
339331
}

0 commit comments

Comments
 (0)