pull/107/head
YunaiV 2024-03-30 20:27:20 +08:00
commit 953ac1b534
1 changed files with 3 additions and 3 deletions

View File

@ -8,12 +8,12 @@ import org.springframework.security.config.annotation.web.builders.HttpSecurity;
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() {