You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "jaikiran pai (JIRA)" <ji...@apache.org> on 2017/06/18 05:10:00 UTC

[jira] [Updated] (IVY-1557) Request info lost when IvyAuthenticator delegates to wrapped authenticator

     [ https://issues.apache.org/jira/browse/IVY-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai updated IVY-1557:
------------------------------
    Affects Version/s: 2.4.0

> Request info lost when IvyAuthenticator delegates to wrapped authenticator
> --------------------------------------------------------------------------
>
>                 Key: IVY-1557
>                 URL: https://issues.apache.org/jira/browse/IVY-1557
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Shane Clarke
>            Assignee: jaikiran pai
>
> Hit this in an environment with multiple authenticators.
> IvyAuthenticator gets set as default during an ivy resolve wrapping the previous authenticator.
> Any subsequent password authentication request  using Authenticator.requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url,  Authenticator.RequestorType reqType) that the IvyAuthenticator can't handle will be delegated to the 'original' wrapped authenticator.
> But the requestingURL and requestingAuthType fields in the original request will be lost.
> The IvyAuthenticator is delegating using Authenticator.requestPasswordAuthentication(String host,  InetAddress addr, int port, String protocol, String prompt,  String scheme)
> Which resets all fields to null and sets them to the method arguments losing the two fields.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)