394041424344454647
throw new IllegalStateException("permitAll only works with HttpSecurity.authorizeUrls()"); } for(String url : urls) { if(url != null) { configurer.addMapping(0, new UrlMapping(new ExactUrlRequestMatcher(url), SecurityConfig.createList(ExpressionUrlAuthorizationConfigurer.permitAll))); } } }