I want to secure (temporarily) my application by create front page with captcha and simple form. I suppose Spring Security is too complicated for this task. How can I catch all requests and check if some attribute in session is set? If it is set then all these @RequestMapping methods should be executed, otherwise redirect to one front page.
I want to secure (temporarily) my application by create front page with captcha and
Share
Have a handler interceptor defined and applied to all the handlers. The example in that link shows you also how to perform the redirect. Also check the mvc:interceptors for the Spring 3 – like configuration.