bugfix:promotion 的 SecurityConfiguration 命名错误,不影响使用

This commit is contained in:
YunaiV 2024-03-30 20:27:05 +08:00
parent 44e03eae83
commit 4ecc26d08f

View File

@ -9,12 +9,12 @@ import org.springframework.security.config.annotation.web.configurers.AuthorizeH
import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer; import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer;
/** /**
* Member 模块的 Security 配置 * Promotion 模块的 Security 配置
*/ */
@Configuration("memberSecurityConfiguration") @Configuration("promotionSecurityConfiguration")
public class SecurityConfiguration { public class SecurityConfiguration {
@Bean("memberAuthorizeRequestsCustomizer") @Bean("promotionAuthorizeRequestsCustomizer")
public AuthorizeRequestsCustomizer authorizeRequestsCustomizer() { public AuthorizeRequestsCustomizer authorizeRequestsCustomizer() {
return new AuthorizeRequestsCustomizer() { return new AuthorizeRequestsCustomizer() {