This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I am using the MVC framework of Spring and needed to create an application which requires authentication. I was thinking it would be a good idea to extend the DipatcherServlet in some way so that i can put in the check for a user being authenticated there instead of putting the check on each and every page. Is that the right way to do it ? If yes then how do i actually go about extending the DispatcherServlet ?