public void configure(WebSecurity web) throws Exception {
// This disables Spring security, but not the app's filter.
web.ignoring().antMatchers(WebSecurityConfiguration.OPEN_PATHS);
public void configure(WebSecurity web) throws Exception {
// This disables Spring security, but not the app's filter.
web.ignoring().antMatchers(WebSecurityConfiguration.OPEN_PATHS);