首页  

springboot应用安全防护     所属分类 springboot 浏览量 1433
SpringBoot于2014年首次发布
构建安全的SpringBoot应用

生产环境使用HTTPS
强制使用HTTPS,扩展WebSecurityConfigurerAdapter要求安全连接。

@Configuration
public class WebSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter {
    @Override
    protected void configure(HttpS