You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Mario Ivankovits (JIRA)" <ji...@apache.org> on 2006/10/03 19:33:22 UTC

[jira] Resolved: (VFS-86) Proxy username/password

     [ http://issues.apache.org/jira/browse/VFS-86?page=all ]

Mario Ivankovits resolved VFS-86.
---------------------------------

    Resolution: Fixed

http and webdav should be fixed.

For ftp there is no standard how to deal with proxies, so I think there isnt much I can do now.

https is currently not supported through commons-net, once it is (which will happen soon) it'll work the same as with http.

Example:
FileSystemOptions opts = new FileSystemOptions();
HttpFileSystemConfigBuilder.getInstance().setProxyHost(opts, "proxy.my.net");
HttpFileSystemConfigBuilder.getInstance().setProxyPort(opts, 8080);
HttpFileSystemConfigBuilder.getInstance().setProxyAuthenticator(opts, myProxyUserAuthenticator);
DefaultFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts, myUserAuthenticator);        
FileObject fo = VFS.getManager().resolveFile("http://www.host.net", opts);


Please give it a try!


> Proxy username/password
> -----------------------
>
>                 Key: VFS-86
>                 URL: http://issues.apache.org/jira/browse/VFS-86
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds
>            Reporter: Dmitry Negoda
>
> There is no way to specify proxy username and password for http/https/ftp/webdav proxies.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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