You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org> on 2007/10/02 20:54:08 UTC

[jira] Commented: (MRM-476) ability to use file protocol using UNC path for Managed repository

    [ http://jira.codehaus.org/browse/MRM-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108851 ] 

Joakim Erdfelt commented on MRM-476:
------------------------------------

I just tried 1.0-beta-2 on my winXP (SP2) Laptop, and it allows for the creation of a Managed Repository using only UNC urls.
However, the security around UNC is apparently not supported by java. 
I get a windows popup auth dialog when archiva attempts to access the UNC path.
I'm not sure how windows caches those auth credentials.

I can't figure out how to get a server webapp to use UNC and provide credentials on the attempt to access that filesystem.
I believe this is beyond the capabilities of the standard Java file.io.* libs.

I'm going to be closing this jira as fixed.
Please open a new Jira if you feel that auth is important with UNC on Archiva.
For now, I think we should recommend that people mount their windows file shares properly to gain the benefit of OS provided security/auth.

> ability to use file protocol using UNC path for Managed repository
> ------------------------------------------------------------------
>
>                 Key: MRM-476
>                 URL: http://jira.codehaus.org/browse/MRM-476
>             Project: Archiva
>          Issue Type: New Feature
>          Components: WebDAV interface
>    Affects Versions: 1.0-beta-1
>         Environment: window NT, apache tomcat 5.5, 
>            Reporter: Patrick Gallagher
>             Fix For: 1.0-beta-3
>
>
> Currently, if I try to use a network share with a UNC path when creating a Managed Repository, the path is replaced with a newly created directory on the system root.  For example, using the path of file:/\\path_to_network_share gets changed to file:/C:/path_to_network share.  I have tried a combination of strings for the url but have not been able to connect to a network share.  

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