title: How to configure spring security in a web application?
body: <p>How to configure Spring Security in a web application?<br>
  I added three JAR files to my lib: security-core, security-web and security-config. Now what do I need to add in configuration XML file with a custom login page?</p>