Added Java config for Spring Security 3.2