Completed the Spring security configuration.
Added a Tomcat plugin to the POM so that the application can be run
using Maven.