I am using the following Java Config with Spring Security:
protected void configure(HttpSecurity http) throws Exception { http .authorizeRequests()