From: <[EMAIL PROTECTED]> > I have extended the RequestProcessor's processPreprocess() method > in order to perform a simple user authentication mechanism using > cookies. If a cookie identifying a user is found, but the users member- > ship has expired, I would like him to be forwarded/redirected to a > corresponding error page. What is the best way to do this? I tried > the following:
Have you considered doing this in a Filter instead of extending the RequestProcessor? I question the wisdom of tying authentication/authorization so closely to the Struts framework. With a Filter, you can stick it in front of anything. For example, I posted all the documentation for our internal projects on the web server, but didn't want to leave it wide open. Though it's all static HTML, it's packaged as a .war file, and I was able to drop the same Filter I use in Struts apps in front of it with a simple change to web.xml. -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]