xiangpei
2025-05-23 945ce9ba5644f7f8e729e7af8a5cf734ec7e4d76
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package cn.lili.sucurity;
 
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.stereotype.Component;
 
/**
 * @author paulG
 * @since 2022/2/18
 **/
@Component
public class ConsumerSecurityConfig extends WebSecurityConfigurerAdapter {
 
    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http.formLogin().disable();
    }
}