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

Ilia Vassilev (JIRA) issues at jboss.org
Tue Jan 17 16:10:00 EST 2017


     [ https://issues.jboss.org/browse/ELY-803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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/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