feat:【infra】spring boot admin 默认需要登录
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled

This commit is contained in:
YunaiV
2025-12-27 10:30:47 +08:00
parent e60f5496fa
commit 0869ad0513

View File

@@ -1,6 +1,5 @@
package cn.iocoder.yudao.module.infra.framework.monitor.config;
import jakarta.servlet.DispatcherType;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
@@ -16,6 +15,8 @@ import org.springframework.security.web.SecurityFilterChain;
import org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler;
import org.springframework.security.web.csrf.CookieCsrfTokenRepository;
import javax.servlet.DispatcherType;
/**
* Spring Boot Admin Server 配置
*