Spring security basic configuration

This a basic configuration for Spring Security, don't forget to include
the jar files in the lib directory.