Spring boot Admin + Spring boot Security后在Admin控制台修改日志级别报错
查看官方文档后发现,如果加了Security,则需要添加Security的配置。
@Configuration
public static class SecurityPermitAllConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequest...
原创
2021-08-09 11:48:41 ·
342 阅读 ·
1 评论