Timothy Bennett wrote:

Also, can the kernel.xml have multiple repository definitions.  I can
foresee that I would have one or more hosts that would require the use of a
proxy, while have one or more hosts internally within the firewall for
proprietary stuff that would not require the use of a proxy.


The ability to have multiple distrinct repositories is something I have been thinking about but more in terms of credentials management (i.e. implicity trust all internal resources whereas external repositories get qualified relative to different security policies) - but this is more a question of adding criteria inside a host defintion.


For example - the following xml is imaginary:

<repository>
<hosts>
<host url="http://www.dpml.net/repository";>
<policy>
<rules>
<!-- a set of authentication and validation rules -->
</rules> <keystore file="${user.home}/.trustkeys">
<!-- some keystore params --> </keystore>
</policy>
</host>
</hosts>
</repository>


However this does not address your question about host references that use a proxy verus host references that don't. Perhaps a solution to that would be to have multiple <hosts> elements within a <repository> combined with the ability to declare <proxy> within the scope of the <hosts> instead of <repository>.

The actual code that does the repository handling is in the merlin/repository package. Fell free to dig in.

Cheers, Steve.

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to