> From: Steven Probetts [mailto:[EMAIL PROTECTED] 
> Subject: Deploying single .war file for use by multiple 
> contexts - how do i override web.xml
> 
> Can we use the context file to alter the security role data 
> (or more accurately override it) in the web.xml 
> <http://web.xml/>  file depending on which company is using 
> the web app.

Perhaps.  You can't override the web.xml settings, since that
information is defined by the servlet spec, and things in <Context> are
outside of the spec.  However, you could specify a different <Realm>
inside each <Context>, and that might suffice.  

You could also use a Filter to implement the necessary security,
possibly in conjunction with the web.xml settings.  I seem to recall
that there are some open-source security Filters already available that
have been mentioned in other threads.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to