I'm developing an application. I want to implement authentication for the application. I am tring to intercept all the URLs. I tried the same with <intercept-url pattern="/**" access="ROLE_USER" />.
when i did that none of the URLs are getting redirected to the login page.
My requirement is to intercept all the URLs. Please help me out to achieve the same.
Well, my first guess is with that setting, you just secured your login page. So you have to login to see the login page, but you can't because you have to login first to login to login to login to login.