You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Patrick Gallagher (JIRA)" <ji...@codehaus.org> on 2007/08/14 20:58:47 UTC
[jira] Created: (MRM-476) ability to use file protocol using UNC
path for Managed repository
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
Environment: window NT, apache tomcat 5.5,
Reporter: Patrick Gallagher
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
[jira] Commented: (MRM-476) ability to use file protocol using UNC
path for Managed repository
Posted by "Patrick Gallagher (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104912 ]
Patrick Gallagher commented on MRM-476:
---------------------------------------
I think that Brett is right. Treating this as a path is the right idea. If you were wanting to treat the field as a java.net.URL, you could just parse the string input and set the host appropriately by either extracting the network host or using localhost for local paths. Of course this is just for the file protocol but that is know from the prefix.
> 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
[jira] Commented: (MRM-476) ability to use file protocol using UNC
path for Managed repository
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104852 ]
Joakim Erdfelt commented on MRM-476:
------------------------------------
Sounds like a wonderful idea.
Do you have any examples on how to access a UNC/Windows share via java?
> 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
[jira] Commented: (MRM-476) ability to use file protocol using UNC
path for Managed repository
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MRM-476) ability to use file protocol using UNC
path for Managed repository
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joakim Erdfelt closed MRM-476.
------------------------------
Assignee: Joakim Erdfelt
Resolution: Fixed
> 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
> Assignee: Joakim Erdfelt
> 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
[jira] Updated: (MRM-476) ability to use file protocol using UNC
path for Managed repository
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joakim Erdfelt updated MRM-476:
-------------------------------
Affects Version/s: 1.0-beta-1
Fix Version/s: 1.0-beta-3
> 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