Added some spring config stuff to the spring-security example.