hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-1056) Wrong creation of AuthScope object
Date Wed, 09 Feb 2011 13:53:57 GMT

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

Oleg Kalnichevski resolved HTTPCLIENT-1056.

    Resolution: Fixed

I committed a fix for the problem with the AuthScope generated by the RequestAuthCache when
looking up credentials for preemptive authentication. Could you please re-test your application
against the latest shapshot off SVN trunk?


> Wrong creation of AuthScope object
> ----------------------------------
>                 Key: HTTPCLIENT-1056
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1056
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.1 Final
>            Reporter: Gaurav Singhal
>              Labels: bug
>             Fix For: 4.2 Final
> Class Name: org.apache.http.client.protocol.RequestAuthCache
> Line #: 118-119
> Issue: Want to create a new Object of AuthScope by passing host name, port and scheme
name but due to incorrect constructor call, Getting a object with realm name as scheme name.
> Current Code: Credentials creds = credsProvider.getCredentials(new AuthScope(host.getHostName(),
host.getPort(), null, schemeName));

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message