A non-null string representing the IANA-registered mechanism name.
public byte evaluateResponse(byte response)
Evaluates the response data and generates a challenge.
If a response is received from the client during the authentication
process, this method is called to prepare an appropriate next
challenge to submit to the client. The challenge is null if the
authentication has succeeded and no more challenge data is to be sent
to the client. It is non-null if the authentication must be continued
by sending a challenge to the client, or if the authentication has
succeeded but challenge data needs to be processed by the client.
isComplete() should be called
after each call to evaluateResponse(),to determine if any further
response is needed from the client.
response - The non-null (but possibly empty) response sent
by the client.
The possibly null challenge to send to the client.
It is null if the authentication has succeeded and there is
no more challenge data to be sent to the client.
SaslException - If an error occurred while processing
the response or generating a challenge.
public boolean isComplete()
Determines whether the authentication exchange has completed.
This method is typically called after each invocation of
evaluateResponse() to determine whether the
authentication has completed successfully or should be continued.