That what Iwas saying previously.

So how can I put a login page on my home page to allow access to the protected. Resources.

theserverside.com has it and all kinds of web sites.

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