[jboss-jira] [JBoss JIRA] (ELY-803) Elytron ExternalSaslServer must finish with null returned from evaluateResponse method

Josef Cacek (JIRA) issues at jboss.org
Tue Nov 29 10:07:00 EST 2016


Josef Cacek created ELY-803:
-------------------------------

             Summary: 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: Darran Lofthouse
            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/SaslServer.html#evaluateResponse-byte:A-] 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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list