Class ScramSaslServerTest
java.lang.Object
org.apache.kafka.common.security.scram.internals.ScramSaslServerTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidsetUp()voidvoidValidate that server responds with client's nonce as prefix of its nonce in the server first message.
-
Constructor Details
-
ScramSaslServerTest
public ScramSaslServerTest()
-
-
Method Details
-
setUp
-
noAuthorizationIdSpecified
-
authorizationIdEqualsAuthenticationId
-
authorizationIdNotEqualsAuthenticationId
@Test public void authorizationIdNotEqualsAuthenticationId() -
validateNonceExchange
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
- Throws:
SaslException
-