This chapter will start with a recipe that will integrate Spring Security 4.2.2 with Spring-based applications. This recipe will enumerate all the steps needed to set up and configure Spring Security 4.2.2 with Spring 5.0 MVC applications.
Configuring Spring Security 4.2.2
Getting started
Create an STS Eclipse Maven project, ch04, and make it a web.xml-less one. Update the pom.xml by including the previous Maven WAR files, Maven Compiler, and Tomcat 7 Maven Deployment plugins. Also, include the Spring 5.0, Servlet 3.1, JSP 2.3, JUnit 4.x, and other dependencies needed to compile and run the application. The core package for this chapter is org.packt.secured.mvc.