I have protected my Application with declarative security and all works properly. When somebody try to access the Main Page, the Basic Authentification turn on. That�s good. I have also protected methods and mapped it with roles.
 
Now... I want to protect a second web recourse, a .js (<script src="javascript:void(0);"></script>) file but only for a few security-roles. If the role is allowed, the script is charged, if not, the script is not charged.

The problem is that when I try to access this Web resource, Orion asks for my login and password again - as if the verification hadn't been stored in the session. If I try to enter with a rol that isn't mapped to this resource, it doesn't even recognize the user and the password.

How can I make it so that Orion only asks me ONCE for my username and password and also so that I can load Web resources without having to enter my password, etc... again (assuming I have the correct permissions to load the resources in question).

Thank you very much !!!

__________________________
David Bonilla Fuertes
THE BIT BANG NETWORK
http://www.bit-bang.com
Profesor Waksman, 8, 6� B
28036 Madrid
SPAIN
Tel.: (+34) 914 577 747
M�vil: 656 62 83 92
Fax: (+34) 914 586 176
__________________________
 
 

Reply via email to