I have a single method that I want to allow both anonymous and authenticated access to.
I am using Spring Security 3.2.4 with java based configuration.
The o
@Override public void configure(HttpSecurity http) throws Exception { http.anonymous().and()...; } @Override public void configure(WebSecurity web) throws Exception { web.ignoring().mvcMatchers("/ping**"); }