Hi

I think the solution to this is to make LoginAction.do a protected resource.

Any attempt to access LoginAction.do will cause your login page to be displayed and 
following sucessful authentication,
you can complete the action in LoginAction.do - including forwards to your chosen page.

db

> -----Original Message-----
> From: MarwanSalam <[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]]
> Sent: 31 January 2003 00:06
> To: [EMAIL PROTECTED]
> Subject: j_security_check with LogonAction
>
>
> Hi,
>
> I am trying to use j_security_check Servlet to authenticate users
> from a login.jsp. However, if I do this, I will not be able to take
> advantage of LogonAction class where I need to set certain session
> and request attributes. If I submit the logon form to LogonAction, I
> can forward the request from LogonAction to j_security_check but the
> request object will stay there and I can not forward again using
> mapping.findForward("success") to a different page since the response
> is already commited at that point.
>
> Is there a way to work around this?
>
> Marwan
>
>
> ---------------------------------------------------------------------
> 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