bugfix:promotion 的 SecurityConfiguration 命名错误,不影响使用
This commit is contained in:
parent
44e03eae83
commit
4ecc26d08f
@ -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() {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user