Hi,
    It might not be weird. If your image URL is the last protected
request URL then after authentication the container will show that. I
mean that the image is the latest protected resource(even later than the
original requested URL)

    I think that if the image is not showing then it is protected. Try
moving it outside the protected area.

Mohan

-----Original Message-----
From: vidya RAO [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 28, 2004 4:10 PM
To: user@struts.apache.org
Subject: Form based authentication issue

Hi,
I am facing a weird problem while using Form based authentication in a
strtus project.

By adding the security constraint and Form tag in my web.xml , I am able
to force every user to come to a login page.

THe login pag has an action of "j_security_check" . It authenticates the
user fine and takes him to the requested URL only if the login page does
not have any images. THe moment a image is put in that page... on
successful logging that image is displayed instead of the requested URL.

In case anyone has a solution please mail me at this Id.

THanks
V


This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

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

Reply via email to