tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ghufran" <ghufra...@vopium.com>
Subject RE: Execution of filter before request listener
Date Mon, 05 Jan 2009 16:50:31 GMT
Try to write AuthenticationFilter instead of RequestListener.

 

Ghufran

 

-----Original Message-----
From: Andrew Feller [mailto:afelle1@lsu.edu] 
Sent: Monday, January 05, 2009 9:34 PM
To: Tomcat Users List
Subject: Execution of filter before request listener

 

PROBLEM

Tomcat is executing a Filter before the registered ServletRequestListener

 

ENVIRONMENT

Tomcat 6.0.18, Windows Vista, JDK 1.6.0_10

 

CONTEXT

We have a filter setup to intercept forwards. When an unauthenticated user

comes in, Tomcat forwards them to our login servlet. The filter intercepts

this forward, however the request listener has not been executed.

 

EXPECTED BEHAVIOR

It seems like the ServletRequestListener should have been executed prior to

the filter.  Is this a bug or part of the specification?

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org

For additional commands, e-mail: users-help@tomcat.apache.org

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message