[jboss-jira] [JBoss JIRA] (ELY-1689) Rewrite HttpAuthenticator$AuthenticationExchange.authenticate() to use a recursive call.

Darran Lofthouse (Jira) issues at jboss.org
Wed May 29 09:47:00 EDT 2019


    [ https://issues.jboss.org/browse/ELY-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740052#comment-13740052 ] 

Darran Lofthouse commented on ELY-1689:
---------------------------------------

May delay this one whilst looking at alternative issues, one issue here is we want the responders to be called in the same order the mechanisms were originally called this is especially important if mechanisms are adding the same headers where header ordering can have meaning.

> Rewrite HttpAuthenticator$AuthenticationExchange.authenticate() to use a recursive call.
> ----------------------------------------------------------------------------------------
>
>                 Key: ELY-1689
>                 URL: https://issues.jboss.org/browse/ELY-1689
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>            Priority: Major
>             Fix For: 1.10.0.CR1
>
>
> By switching to a recursive call we can eliminate the intermediate ArrayList which is required to hold the responders.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list