satish bhor created VFS-782:
-------------------------------
Summary: Wrong Proxy Credentials set for http4/http5 client
Key: VFS-782
URL: https://issues.apache.org/jira/browse/VFS-782
Project: Commons VFS
Issue Type: Bug
Reporter: satish bhor
{code:java}
f (proxyAuthData != null) {
final UsernamePasswordCredentials proxyCreds = new UsernamePasswordCredentials(
UserAuthenticatorUtils.toString(
UserAuthenticatorUtils.getData(authData, UserAuthenticationData.USERNAME,
null)),
UserAuthenticatorUtils.toString(
UserAuthenticatorUtils.getData(authData, UserAuthenticationData.PASSWORD,
null)));
credsProvider.setCredentials(new AuthScope(proxyHost.getHostName(),
AuthScope.ANY_PORT),
proxyCreds);
}{code}
proxy credentials should be taken from proxyAuthData instead of authData
--
This message was sent by Atlassian Jira
(v8.3.4#803005)