I want to do exactly like the serverside.com....

You have alogin form on each unprotected page thata llows you to login....

So you can hit the news page, the discussion page, patterns etc... without having to login, but each section offer the login form...

Dennis Dai wrote:

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.




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



Reply via email to