SaslHandler.handleChallenge(byte[] saslChallenge) 方法

public byte [] handleChallenge(byte[] saslChallenge)

Handles a given challenge and returns the bytes to be sent in the payload of the Sasl response message

参数

saslChallenge
byte []

The bytes from the Sasl challenge received from the service

返回

byte []

the bytes to be sent in the payload of the Sasl response to the provided challenge

例外

Exception

if sasl negotiation fails

适用于