You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jose Juan Montiel (JIRA)" <ji...@apache.org> on 2012/04/24 13:37:34 UTC

[jira] [Commented] (VFS-180) Support HTTPS / SSL for Webdav

    [ https://issues.apache.org/jira/browse/VFS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260443#comment-13260443 ] 

Jose Juan Montiel commented on VFS-180:
---------------------------------------

Hi, seems this was fogotten... i would like to "resubmit" a patch patch_180_vfs2 for vfs2.

I try to do the best, but couldn't find better elegant way...

In methods WebdavFileObject.urlString and WebdavFileObject.hrefString use the inconmig URLFileName to determine 

	String httpMethod = name.getScheme().equals("webdav") ? "http" : "https";

to sustitute "http" for httpMethod.

And WebdavFileProvider.doCreateFileSystem the same with FileName.

And create the classes

	WebdavsFileProvider
	WebdavsFileNameParser exetending HttpsFileNameParser

And add in providers.xml.

And soon a "test"... (contains changes related to VFS-412).
                
> Support HTTPS / SSL for Webdav
> ------------------------------
>
>                 Key: VFS-180
>                 URL: https://issues.apache.org/jira/browse/VFS-180
>             Project: Commons VFS
>          Issue Type: New Feature
>    Affects Versions: 1.0, 1.1
>            Reporter: Werner Mueller
>         Attachments: VFS-180.patch, VFS-180.patch, VFS-180.patch, patch_180_vfs2.txt
>
>
> The Slide Webdav lib supports encrypted HTTPS connections. So it should be possible to add https support to vfs too. currently the webdav provider creates http urls (in WebdavClientFactory.java).
> maybe some provider like 'webdavs' could be added to switch to HttpsUrl.
> regards
> werner

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira