June 2014
Beginner to intermediate
304 pages
7h 25m
English
We are going to use Spring Security features to restrict access to the add products page. Only an authorized user with a valid username and password will be able to access the add products page. Let's see how we can do this in Spring MVC with the following steps:
pom.xml, which can be found under the project root folder itself.pom.xml file; we select the Dependencies tab and click on the Add button of the Dependencies section.org.springframework.security, Artifact Id as spring-security-config, Version as 3.1.4.RELEASE, and select Scope as compile and click on the OK button.