Class SaslNettyTransportTest

java.lang.Object
org.apache.kafka.common.security.authenticator.SaslNettyTransportTest

public class SaslNettyTransportTest extends Object
Test class to validate methods in SaslNettyTransport class.
  • Constructor Details

    • SaslNettyTransportTest

      public SaslNettyTransportTest()
  • Method Details

    • mockStream

      @BeforeEach public void mockStream()
    • testNonSocketAddressNotSupported

      @Test public void testNonSocketAddressNotSupported()
    • testFinishInProgressSend

      @Test public void testFinishInProgressSend()
    • testIsSendInProgress

      @Test public void testIsSendInProgress()
    • testSslSession

      @Test public void testSslSession()
    • testServerAddress

      @Test public void testServerAddress()
    • testClientAddress

      @Test public void testClientAddress()
    • testClientPort

      @Test public void testClientPort()
    • testIsProxyModeLocal

      @Test public void testIsProxyModeLocal()
    • testPeerPrincipalWithSslSessionAndPeerCert

      @Test public void testPeerPrincipalWithSslSessionAndPeerCert() throws Exception
      Throws:
      Exception
    • testPeerPrincipalWithSslSessionButNoPeerCert

      @Test public void testPeerPrincipalWithSslSessionButNoPeerCert() throws Exception
      Throws:
      Exception
    • testPeerPrincipalWithNoSslSession

      @Test public void testPeerPrincipalWithNoSslSession()
    • testProxyTlvProviderReturnsNullWhenNotSet

      @Test public void testProxyTlvProviderReturnsNullWhenNotSet()
    • testProxyTlvProviderReturnsSetValue

      @Test public void testProxyTlvProviderReturnsSetValue()
    • testSendResponse

      @Test public void testSendResponse() throws IOException
      Throws:
      IOException
    • testStartReauthenticationWithoutNetworkReceive

      @Test public void testStartReauthenticationWithoutNetworkReceive()
    • testStartReauthentication

      @Test public void testStartReauthentication()
    • testNetworkReceiveLargerThanMaxBufferSize

      @Test public void testNetworkReceiveLargerThanMaxBufferSize()
    • testReceiveClientTokenOrKafkaRequest

      @Test public void testReceiveClientTokenOrKafkaRequest()
    • testNotifyMtlsCredentialsIgnoredInvokesCallback

      @Test public void testNotifyMtlsCredentialsIgnoredInvokesCallback()
    • testNotifyMtlsCredentialsIgnoredWithNullCallback

      @Test public void testNotifyMtlsCredentialsIgnoredWithNullCallback()
    • testOnAuthResolvedFiresAllHooksInRegistrationOrder

      @Test public void testOnAuthResolvedFiresAllHooksInRegistrationOrder()
    • testOnAuthResolvedNoOpWhenNoHooksRegistered

      @Test public void testOnAuthResolvedNoOpWhenNoHooksRegistered()
    • testOnAuthResolvedSkipsAllHooksWhenResolutionIsNull

      @Test public void testOnAuthResolvedSkipsAllHooksWhenResolutionIsNull()
    • testOnAuthResolvedReFiresOnEachInvocation

      @Test public void testOnAuthResolvedReFiresOnEachInvocation()
    • testOnAuthResolvedRejectsNullHook

      @Test public void testOnAuthResolvedRejectsNullHook()
    • testOnAuthResolvedHookExceptionDoesNotBlockOtherHooks

      @Test public void testOnAuthResolvedHookExceptionDoesNotBlockOtherHooks()
    • testHandleAuthResolvedSwallowsSupplierException

      @Test public void testHandleAuthResolvedSwallowsSupplierException()