tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaaaaa <agnesedalmo...@tiscali.it>
Subject problem with tomcat realm
Date Wed, 10 Feb 2010 13:36:08 GMT

Hi, I try to manage tomcat realms. 
In particular I need to authenticate a user (with role "Developer" for
example) with form authentication in my webapp (and I specify the security
constraint and role in web.xml and create a JDBC realm to do it and this
first login doesn't have any problem).
When the user goes in a particular page I need to ask him a new
authentication because this page needs more privileges (this page infact is
only for administrators and in web.xml I specify it with a security
constraint and role). 
This second step is my problem. When he goes in this page only the message 
"Access to the requested resource has been denied" appears  while I would
like that tomcat asks him for a new login and at the same time that tomcat
remembers the previous login when the user comes back in the other pages.

can someone help me? I need an example to do it.....
-- 
View this message in context: http://old.nabble.com/problem-with-tomcat-realm-tp27531257p27531257.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message