[
https://issues.apache.org/jira/browse/VFS-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507733
]
Vasily Ivanov commented on VFS-129:
-----------------------------------
I created a patch for this one. Attachments follow.
Here is an example:
FileSystemOptions opts = new FileSystemOptions();
SftpFileSystemConfigBuilder.getInstance().setProxyType(opts,
SftpFileSystemConfigBuilder.PROXY_HTTP);
SftpFileSystemConfigBuilder.getInstance().setProxyHost(opts, "someproxyhost");
SftpFileSystemConfigBuilder.getInstance().setProxyPort(opts, someport);
SftpFileSystemConfigBuilder.getInstance().setPorxyUserAuthenticator(opts, new
StaticUserAuthenticator(null, "proxyusername", "proxypassword"));
FileObject fo = VFS.getManager().resolveFile(someURI, opts);
...
> SFTP: proxy support with Username / Password
> --------------------------------------------
>
> Key: VFS-129
> URL: https://issues.apache.org/jira/browse/VFS-129
> Project: Commons VFS
> Issue Type: Improvement
> Environment: All
> Reporter: Graham Cruickshanks
> Priority: Minor
>
> SFTP proxy implementation does not have authenticator support, so can't
> tunnel through HTTP proxy via HTTPS port (443).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]