You cannot access you logon page directly, try to access a page
protected by you security constraints instead.
 
This is an issue with the servlet 2.3 specs. Let's say you secured the
domain /mysecuresite in your web.xml and
you created a logon.jsp page for Tomcat form-based authentication.
If you access /mysecuresite/mysecurepage.jsp, tomcat will redirect you
to logon.jsp. If logon is successful, you get redirected back to the
mysecurepage.jsp page.
If you access logon.jsp directly, tomcat doesn't know where to send you
on successful logon.
Unfortunately, there is no notion of default page in the specs.
 
Aymeric.


>>> [EMAIL PROTECTED] 06/22/03 04:46PM >>>
Hello, I'm using container-managed security features in TC 4.1,
and I'm receiving error:

"invalid reference to form login page"

when trying to login user. I use form-based authentication and have a
page
with appropriate configured
form (j_username,j_password, etc....). Where is the problem?

Thanks, Jan Peknik.


________________________________________________________________________________
Styd�m se ho vyt�hnout! A jak� je v�* d�vod vym�nit sv�j telefon za
nov�? 
Nokia 6610 ji* od 6977 K�. http://www.atlas.cz/clickAD.asp?ad=32086 



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


Reply via email to