PDA

View Full Version : Problem, after login!!



andres.cmunoz
May 5th, 2010, 11:20 PM
Hi!!

I have a problem!!

I defined a welcome page (in the file WEB_INF/web.xml). When I access to web page, previous to loggin I have no problem but when logged, I cannot access to welcome page =(, in the log of the application server, I found this message "Access is denied (user is not anonymous); delegating to AccessDeniedHandler", any idea???

Regards!!!

andres.cmunoz
May 6th, 2010, 11:00 AM
Hi!!!

Additionaly, I attached the file web.xml and the file context from Spring security where I defined the interception of the url /index.x, this is my welcome page...

Luke Taylor
May 6th, 2010, 11:44 AM
The message means that the URL you are trying to access is protected and that the user does not have sufficient rights to access it. The debug log will also tell you what the URL is.

andres.cmunoz
May 6th, 2010, 02:52 PM
mmm, it is correct, while a user is not logged this is a user anonimous, after login the user have asigned a role, it is the problem, because /index.x only allows access to user anonimous, will exist on how to specify that a URL is allow access for all users, that is to say, any user can access with or without it is a user logged??

Thanks a lot!!!