Re: Declarative security in context?

2004-11-20 Thread Simon Tardell
Wendy Smoak wrote: From: "Simon Tardell" <[EMAIL PROTECTED]> I want to deploy multiple instances of the same webapp, with different authorization rules. However, declarative security is done in the web.xml of which there will only be one copy (referred by multiple contexts).

Declarative security in context?

2004-11-17 Thread Simon Tardell
outside, i.e. declaring them in the context rather than in the web.xml? Ideally I'd like to be able to "shadow" parts of the web.xml on a per context basis, but I can't see how to do that. Would I have to write a valve to do custom authorization? TIA, Simon Tardell Simon Tarde

RE: External resources with a fallback

2003-12-20 Thread Simon Tardell
On Fri, 2003-12-19 at 19:13, Shapira, Yoav wrote: > Howdy, > > >I try to figure out how to make Tomcat 5 load resources externally to > >the webapp, and failing over to loading them from the webapp if they > are > >not present in the external location. I figure I should subclass > >BaseDirContext

External resources with a fallback

2003-12-19 Thread Simon Tardell
Hello all, I try to figure out how to make Tomcat 5 load resources externally to the webapp, and failing over to loading them from the webapp if they are not present in the external location. I figure I should subclass BaseDirContext (or implement DirContext straight away), setting it in the sub-