Caldarale, Charles R wrote:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat
Subject: define security constraint by virtual host
Does anyone know if its possible to make the security-constraint
in a web.xml aware of what virtual-host it should apply to?
No, since web.xml is defined by the servlet spec and <Host> is
Tomcat-specific.
I have a security constraint on /admin which i want to be
available on admin.company.com but not on any other virtual
host I set up for this context.
Then deploy admin only on the admin.company.com <Host> and not the
others. Put the admin.xml file under conf/Catalina/admin.company.com
only.
- 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]
Ok, I suspected as such. Thanks.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]