> From: tom...@ehome.hu [mailto:tom...@ehome.hu]
> Subject: multiple truststores
> 
> People getting a connection through port 443 should only be able to
> use "Web Application 1".
> People getting a connection through port 444 should only be able to
> use "Web Application 2".
> How can i configure this?

A <Connector> handles requests for a <Service>/<Engine> combination; if you 
have multiple <Connector> elements inside a given <Service>, requests via 
either can target any of the webapps handled by all <Host>s in the <Engine>.  
So, you won't need two Tomcats, but you would need two <Service> elements to 
strictly segregate the requests on different ports.

Alternatively, you could use a filter or valve inside the <Context> for each 
webapp to reject requests that arrive on the wrong port for that webapp; this 
would be much simpler than having multiple <Service> elements.

 - 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.

Reply via email to