|
|
@@ -24,8 +24,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
24
|
24
|
http.authorizeRequests()
|
|
25
|
25
|
.antMatchers("/actuator/**").permitAll()//不对springboot-admin监控的请求进行权限校验
|
|
26
|
26
|
.antMatchers("/instances/**").permitAll()//不对springboot-admin监控的实例信息请求进行权限校验
|
|
27
|
|
- .antMatchers("/oauth/**").permitAll()
|
|
28
|
|
- .anyRequest().authenticated().and().logout().disable();
|
|
|
27
|
+ .antMatchers("/oauth/**").permitAll();
|
|
29
|
28
|
}
|
|
30
|
29
|
|
|
31
|
30
|
/**
|