Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Filter out certain user accounts

Dan Tran

2003-06-01

Replies:

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 out the actual user.

Any work around?

©2008 junlu.com - Jax Systems, LLC, U.S.A.