Why don't you use J2EE FORM-based authentication?

It's easy to set up and automatically checks if a user has logged in
whenever this user wants to access a "protected" page (configurable).

More info is for example here:
http://www.onjava.com/pub/a/onjava/2002/06/12/form.html

Tom
----- Original Message ----- 
From: "GMaine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 07, 2004 6:30 PM
Subject: Overriding RequestProcessor for sesion validationi


> Hi. I wonder if someone can help me. I'm trying to override
RequestProcessor
> to check whether a user has logged in. If he has, I'll let the request
> proceed. If not, I'd like to forward him somewhere.
>
> The problem is, I need to display an error message if I'm redirecting the
> user. I'm trying to use standard Struts classes like ActionErrors. But
> RequestProcessor doesn't have access to the Action.saveErrors method. Is
> there another way to put ActionErrors into the response?
>
> Or am I going about this the wrong way?
> Thanks,
> Jacob
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to