TASK:证书接收测试;
This commit is contained in:
@@ -63,7 +63,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
httpSecurity.cors().disable() // 禁用 CSRF
|
||||
.authorizeRequests()
|
||||
.antMatchers(securityProperties.getIgnorePaths()).permitAll()
|
||||
.antMatchers("/api/third/party/your-secured-endpoint").authenticated() // 需要验证的接口
|
||||
// .antMatchers("/api/third/party/your-secured-endpoint").authenticated() // 需要验证的接口
|
||||
.anyRequest().permitAll()
|
||||
.and()
|
||||
.x509()
|
||||
|
||||
Reference in New Issue
Block a user