ant-ivy
ant-ivy copied to clipboard
IVY-1280 Support preemptive authentication
I adopted a patch by @AurelienLourot
Note that I didn't push it upstream because of this open point: https://github.com/tt-gf/ant-ivy/pull/2#discussion_r135625987
So this might break some authentication schemes, I'm not really sure.
EDIT: we have been using it at TomTom for a while, but we use only the Basic auth scheme.
I have noticed that. Perhaps it's enough to document that preemptive authentication only works with basic scheme.
Looking at examples, digest authentication uses the same cache, only sets a different scheme.
I would like to add the preemptive authentication flag to the newly minted TimeoutConstrainedURLHandler to avoid BWC issues. Any objections, @jaikiran ?
@AurelienLourot we moved the discussion to JIRA