Class SslVersionsTransportLayerTest
java.lang.Object
org.apache.kafka.common.network.SslVersionsTransportLayerTest
Tests for the SSL transport layer.
Checks different versions of the protocol usage on the server and client.
-
Constructor Details
-
SslVersionsTransportLayerTest
public SslVersionsTransportLayerTest()
-
-
Method Details
-
parameters
-
testTlsDefaults
@ParameterizedTest(name="testTlsDefaults(tlsServerProtocol = {0}, tlsClientProtocol = {1})") @MethodSource("parameters") public void testTlsDefaults(List<String> serverProtocols, List<String> clientProtocols) throws Exception Tests that connection success with the default TLS version. Note that debug mode for javax.net.ssl can be enabled viaSystem.setProperty("javax.net.debug", "ssl:handshake");- Throws:
Exception
-