Skip to content

Commit

Permalink
Merge pull request #643 from ivassile/ELY-803
Browse files Browse the repository at this point in the history
[ELY-803] Elytron ExternalSaslServer must finish with null returned from evaluateResponse method
  • Loading branch information
darranl committed Feb 6, 2017
2 parents 34fe399 + ef0e003 commit 21945fb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import javax.security.sasl.SaslException;
import javax.security.sasl.SaslServer;

import org.wildfly.security.sasl.util.AbstractSaslParticipant;
import org.wildfly.security.sasl.util.SaslMechanismInformation;
import org.wildfly.security.util._private.Arrays2;

Expand Down Expand Up @@ -79,7 +78,7 @@ public byte[] evaluateResponse(final byte[] response) throws SaslException {
throw log.mechAuthorizationFailed(getMechanismName(), null, authorizationId).toSaslException();
}
this.authorizationID = authorizeCallback.getAuthorizedID();
return AbstractSaslParticipant.NO_BYTES;
return null;
}

public boolean isComplete() {
Expand Down

0 comments on commit 21945fb

Please sign in to comment.