Hmmm. So then for the example cited, the parameter to getRequestDispatcher()
would be denyURI?

What about the doFilter()?

-----Original Message-----
From: Ben Souther [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 20, 2007 12:39 PM
To: Tomcat Users List
Subject: Re: FW: Filter

Look at RequestDispatcher.forward.
All of this takes place on the server and doesn't change the URL.
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html#f
orward(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse)



On Mon, 2007-08-20 at 11:35, Hehl, Thomas wrote:
> OK, since no one had a suggestion about that, is there ways out of a
filter
> that won't re-write the URL? Maybe instead of using response.redirect?
> 
>  
> 
> Thanks.
> 
>  
> 
>   _____  
> 
> From: Hehl, Thomas 
> Sent: Monday, August 20, 2007 8:42 AM
> To: 'users@tomcat.apache.org'
> Subject: Filter
> 
>  
> 
> Our application has a security filter on it that ensures access to all
> servlets is from a logged in user. This has worked fine for years.
> 
>  
> 
> We are now testing over this new security software that relays requests
from
> an external webapp to our internal one. The problem is that the security
> filter re-writes the URL, which is very different from the one on the
> outside.
> 
>  
> 
> Anyone have an idea about what to do about this?
> 
>  
> 
> Thanks.
> 
>  
> 
> Thom Hehl
> Sr. eJuror Architect
> 
> * Office (859) 277-8800 x 144
> 
> * [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  
> ACS, Inc.
> 
> Government Solutions
> 
> 1733 Harrodsburg Road
> Lexington, KY 40504-3617
> 
> This e-mail message, including any attachments, is for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please contact the
sender
> by reply e-mail and destroy all copies of the original message and notify
> sender via e-mail at [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>  or by telephone at 859-277-8800 ext.
144.
> Thank you.
> 
>  


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

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