Quinton,

I tried to write my own Login.java (modified LoginUser.java). I am a bit
vague on the sequence of events during the login process, would appreciate
if you can shine some light on me.

After displaying Login.vm, and after I typed in my username/passwd, which
one got processed first, Login.class or SecureAction.class?

I tried to redirect the user to a page after the login, by using the
technique

data.setScreenTemplate(templateName)

in Login.class, but it puts me back to the login page. What else do I need
to add in this file for it to work?

thanks
michael


> On my login form, I use $link.setAction("LoginAction") as the target of
> the form post.  I do not specify a page at all.  This would normally be
> a problem causing the user to go right back to login.  However, upon a
> successful login, I call data.setScreenTemplate(templateName).  This
> causes the user to go to the correct page.
>
>> What I've tried is using data.getACL() and then using the
>> AccessControlList's hasRole() method in my MyLoginUser class,
>> but getACL() returns null in the LoginUser class so that
>> didn't get me too far.
>>
>




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

Reply via email to