|
|
@ -72,7 +72,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
|
.and()
|
|
|
|
.and()
|
|
|
|
.authorizeRequests();
|
|
|
|
.authorizeRequests();
|
|
|
|
|
|
|
|
|
|
|
|
config.antMatchers("/actuator/**", "/oauth/**", "/auth/**", "/token/**","/sms/getCode").permitAll();
|
|
|
|
config.antMatchers("/actuator/**", "/oauth/**", "/auth/**", "/token/**","/sms/createCode").permitAll();
|
|
|
|
ignoreUrlPropsConfig.getUrls().forEach(url -> config.antMatchers(url).permitAll());
|
|
|
|
ignoreUrlPropsConfig.getUrls().forEach(url -> config.antMatchers(url).permitAll());
|
|
|
|
ignoreUrlPropsConfig.getIgnoreSecurity().forEach(url -> config.antMatchers(url).permitAll());
|
|
|
|
ignoreUrlPropsConfig.getIgnoreSecurity().forEach(url -> config.antMatchers(url).permitAll());
|
|
|
|
config
|
|
|
|
config
|
|
|
|