]
Ilia Vassilev reassigned ELY-803:
---------------------------------
Assignee: Ilia Vassilev (was: Darran Lofthouse)
Elytron ExternalSaslServer must finish with null returned from
evaluateResponse method
--------------------------------------------------------------------------------------
Key: ELY-803
URL:
https://issues.jboss.org/browse/ELY-803
Project: WildFly Elytron
Issue Type: Bug
Reporter: Josef Cacek
Assignee: Ilia Vassilev
Priority: Critical
The {{ExternalSaslServer.evaluateResponse}} returns empty byte array instead of null
after successful authentication.
[The
contract|http://docs.oracle.com/javase/8/docs/api/javax/security/sasl/Sas...]
says:
{quote}
It is null if the authentication has succeeded and there is no more challenge data to be
sent to the client.
{quote}
*Possible fix*
Return null when authentication succeeds.