Merge branch 'master-jdk21' of https://gitee.com/zhijiantianya/yudao-cloud
commit
953ac1b534
|
@ -8,12 +8,12 @@ import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
||||||
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() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue