Class ScramSaslServerTest

java.lang.Object
org.apache.kafka.common.security.scram.internals.ScramSaslServerTest

public class ScramSaslServerTest extends Object
  • Constructor Details

    • ScramSaslServerTest

      public ScramSaslServerTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp() throws Exception
      Throws:
      Exception
    • noAuthorizationIdSpecified

      @Test public void noAuthorizationIdSpecified() throws Exception
      Throws:
      Exception
    • authorizationIdEqualsAuthenticationId

      @Test public void authorizationIdEqualsAuthenticationId() throws Exception
      Throws:
      Exception
    • authorizationIdNotEqualsAuthenticationId

      @Test public void authorizationIdNotEqualsAuthenticationId()
    • validateNonceExchange

      @Test public void validateNonceExchange() throws SaslException
      Validate that server responds with client's nonce as prefix of its nonce in the server first message.
      In addition, it checks that the client final message has nonce that it sent in its first message.
      Throws:
      SaslException
    • validateFailedNonceExchange

      @Test public void validateFailedNonceExchange() throws SaslException
      Throws:
      SaslException