feat:【infra】spring boot admin 默认需要登录

pull/229/head
YunaiV 2025-12-27 10:30:47 +08:00
parent e60f5496fa
commit 0869ad0513
1 changed files with 2 additions and 1 deletions

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
*