On 7/27/2004 10:34 AM, Anastasios Angelidis wrote:

So if I understand you...

On my index page which is not protected put a form with <form ... action="j_security_check">
And somewhere at the top of page have something like if(getUserPrincipal()) redirect....


I guess we can both try it lol...


No, that won't work. The login page cannot be explicitly referred to. You can only get to the login page when accessing a protected resource ... unless you modify the FormAuthenticator class.


--
Dennis Dai
[EMAIL PROTECTED]

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



Reply via email to