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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to