Filter out certain user accounts

2003-06-02 Thread Dan Tran
Hello, I would like the build filter to check for a site maintainant flag set in application context and disallow certain user to passthruand route them to another page. The problem here, the interface doFilter's ServletRequest does not have access to getUserPrincipal, so I have no way to find

Re: Filter out certain user accounts

2003-06-02 Thread Tim Funk
You should be able to cast ServletRequest to HttpServletRequest. Then you'll have access to getUserPrincipal() -Tim Dan Tran wrote: Hello, I would like the build filter to check for a site maintainant flag set in application context and disallow certain user to passthruand route them to

Re: Filter out certain user accounts

2003-06-02 Thread Dan Tran
supper!!! Thanks - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 5:35 PM Subject: Re: Filter out certain user accounts You should be able to cast ServletRequest to HttpServletRequest. Then you'll have access