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

pull/107/head
YunaiV 2024-03-30 20:27:05 +08:00
parent 44e03eae83
commit 4ecc26d08f
1 changed files with 3 additions and 3 deletions

View File

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