|
|
|
@ -25,6 +25,8 @@ public class SecurityConfiguration {
|
|
|
|
.antMatchers("/swagger-resources/**").anonymous()
|
|
|
|
.antMatchers("/swagger-resources/**").anonymous()
|
|
|
|
.antMatchers("/webjars/**").anonymous()
|
|
|
|
.antMatchers("/webjars/**").anonymous()
|
|
|
|
.antMatchers("/*/api-docs").anonymous();
|
|
|
|
.antMatchers("/*/api-docs").anonymous();
|
|
|
|
|
|
|
|
// Druid 监控
|
|
|
|
|
|
|
|
registry.antMatchers("/druid/**").anonymous();
|
|
|
|
// Spring Boot Actuator 的安全配置
|
|
|
|
// Spring Boot Actuator 的安全配置
|
|
|
|
registry.antMatchers("/actuator").anonymous()
|
|
|
|
registry.antMatchers("/actuator").anonymous()
|
|
|
|
.antMatchers("/actuator/**").anonymous();
|
|
|
|
.antMatchers("/actuator/**").anonymous();
|
|
|
|
|