Spring MVC java configuration with spring security example