public class TestUserBitKerberosEncryption extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManager| Constructor and Description |
|---|
TestUserBitKerberosEncryption() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanTest() |
void |
clientNeedsEncryptionWithNoServerSupport()
Test to validate that clients which needs encrypted connection fails to connect
to server with encryption disabled.
|
void |
clientNeedsEncryptionWithServerSupport()
Test to validate that clients which needs encrypted connection connects
to server with encryption enabled.
|
void |
encryptionEnabledWithOnlyPlainMech() |
void |
failureOldClientEncryptionEnabled()
Test to validate that older clients are not allowed to connect to secure cluster
with encryption enabled.
|
void |
failurePlainMech() |
static void |
setupTest() |
void |
successEncryptionAllChannel()
This test will not cover the data channel since we are using only 1 Drillbit and the query doesn't involve
any exchange operator.
|
void |
successEncryptionAllChannelChunkMode()
This test will not cover the data channel since we are using only 1 Drillbit and the query doesn't involve
any exchange operator.
|
void |
successKeytabWithChunking() |
void |
successKeytabWithChunkingDefaultChunkSize() |
void |
successKeytabWithoutChunking() |
void |
successOldClientEncryptionDisabled()
Test to validate that older clients are successfully connecting to secure cluster
with encryption disabled.
|
void |
successTicketWithoutChunking() |
void |
testConnectionCounters()
Test connection counter values for both encrypted and unencrypted connections over all Drillbit channels.
|
void |
testEncryptedConnectionCountersAllChannel()
Test connection counter values for both encrypted and unencrypted connections over all Drillbit channels.
|
alterSession, cloneDefaultTestConfigProperties, closeClient, errorMsgTestHelper, getAllocator, getDrillbitContext, getFile, getPhysicalFileFromResource, getResultString, getUserPort, logResult, newTest, parseErrorHelper, printResult, resetAllSessionOptions, resetDrillbitCount, resetSessionOption, runSQL, setColumnWidth, setColumnWidths, setSessionOption, setSessionOption, setSessionOption, setSessionOption, setupDefaultTestCluster, test, test, testBuilder, testLogicalWithResults, testNoResult, testNoResult, testPhysical, testPhysicalFromFile, testPhysicalWithResults, testPreparedStatement, testRunAndPrint, testRunAndReturn, testSql, testSqlWithResults, testWithListener, updateClient, updateClient, updateClient, updateTestCluster, updateTestClusterclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerpublic void successKeytabWithoutChunking()
throws Exception
Exceptionpublic void testConnectionCounters()
throws Exception
Exceptionpublic void successTicketWithoutChunking()
throws Exception
Exceptionpublic void successKeytabWithChunking()
throws Exception
Exceptionpublic void successKeytabWithChunkingDefaultChunkSize()
throws Exception
Exceptionpublic void successEncryptionAllChannelChunkMode()
throws Exception
TestBitBitKerberosExceptionpublic void successEncryptionAllChannel()
throws Exception
TestBitBitKerberosExceptionpublic void testEncryptedConnectionCountersAllChannel()
throws Exception
Exceptionpublic void failurePlainMech()
public void encryptionEnabledWithOnlyPlainMech()
public void failureOldClientEncryptionEnabled()
public void successOldClientEncryptionDisabled()
public void clientNeedsEncryptionWithNoServerSupport()
throws Exception
ExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.