Re: Best way to forward to login, then re-forward to originally requested resource?

2002-05-29 Thread Charles Brault
This question seems to come up frequently, probably should be in a FAQ. Using Servlet Filters is one approach. If you are using Struts 1.1 (in 1.0.2 it's slightly different), and want to use a Struts approach, try the following. I have an application that requires everyone to log in and certai

RE: Best way to forward to login, then re-forward to originally requested resource?

2002-05-29 Thread Tero P Paananen
> Well, let's say for the sake of argument, that it's not > authentication we're talking about. Let's say, instead, > that in order to perform some Action B, > some other Action A must be done first. However, doing A does not > necessarily mean you'll do B next. What's the best way to > "rememb

RE: Best way to forward to login,then re-forward to originally requested resource?

2002-05-29 Thread Alex Paransky
Rick Mann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 1:02 AM To: Struts Users Mailing List Subject: Re: Best way to forward to login, then re-forward to originally requested resource? on 5/28/02 11:59 PM, Adam Hardy at [EMAIL PROTECTED] wrote: > I wouild save the form bean and a mapp

RE: Best way to forward to login,then re-forward to originally requested resource?

2002-05-28 Thread Alex Paransky
Why not use J2EE/WEB standard container authentication? It will do what you want. In fact, it was designed to do what you want, which is called Lazy, or just in time, authentication. The user can surf your page, however, when he links to a protected item, a login page (of your choosing) will be