[jboss-jira] [JBoss JIRA] (ELY-803) Elytron ExternalSaslServer must finish with null returned from evaluateResponse method
David Lloyd (JIRA)
issues at jboss.org
Tue Nov 29 12:11:13 EST 2016
[ https://issues.jboss.org/browse/ELY-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13331092#comment-13331092 ]
David Lloyd commented on ELY-803:
---------------------------------
Yeah I agree that this is the right fix.
> 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