Class OAuthBearerClientInitialResponseTest

java.lang.Object
org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponseTest

public class OAuthBearerClientInitialResponseTest extends Object
  • Constructor Details

    • OAuthBearerClientInitialResponseTest

      public OAuthBearerClientInitialResponseTest()
  • Method Details

    • testBuildClientResponseToBytes

      @Test public void testBuildClientResponseToBytes() throws Exception
      Throws:
      Exception
    • testBuildServerResponseToBytes

      @Test public void testBuildServerResponseToBytes() throws Exception
      Throws:
      Exception
    • testThrowsSaslExceptionOnInvalidExtensionKey

      @Test public void testThrowsSaslExceptionOnInvalidExtensionKey()
    • testToken

      @Test public void testToken() throws Exception
      Throws:
      Exception
    • testAuthorizationId

      @Test public void testAuthorizationId() throws Exception
      Throws:
      Exception
    • testExtensions

      @Test public void testExtensions() throws Exception
      Throws:
      Exception
    • testRfc7688Example

      @Test public void testRfc7688Example() throws Exception
      Throws:
      Exception
    • testCharSupportForRfc6750Token

      @Test public void testCharSupportForRfc6750Token() throws Exception
      Throws:
      Exception
    • testNoExtensionsFromByteArray

      @Test public void testNoExtensionsFromByteArray() throws Exception
      Throws:
      Exception
    • testNoExtensionsFromTokenAndNullExtensions

      @Test public void testNoExtensionsFromTokenAndNullExtensions() throws Exception
      Throws:
      Exception
    • testValidateNullExtensions

      @Test public void testValidateNullExtensions() throws Exception
      Throws:
      Exception