On 14/05/2008, at 12:52 PM, James William Dumay wrote:
As discussed on IRC, we could probably forward the request to the
appropriate managed repository.
That would work a little like this:
1) Request on a virtual artifact is made
- /repository/myvirtual/artifact/artifact/1.0/artifact-1.0.pom
2) The resource factory looks this artifact up in the repositories
mapped by the virtual.
3) If it has been found, we forward it to the appropriate dav
repository
(/repository/mymanaged/artifact/artifact/1.0/artifact-1.0.pom)
The advantage is that we use the existing repository security for
fetching artifacts from the virtual repository.
Does this look ok?
It looks ok to me. I'm not 100% sure if the step in (3) will work, but
if not surely the request can be embedded inside the existing request
in some way.
These are the additional use cases I think we need tests for:
- index writer directory listing when not all repositories have read
access should only list available items (same for webdav listing)
- should be unable to write to a group / webdav share for a group
should be readonly
Cheers,
Brett
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/