springsecurity 允许跨域IFRAME引用

WebSecurityConfigurerAdapter

@Override
protected void configure(HttpSecurity http) throws Exception {
	...
	http.headers().frameOptions().disable();
	...
}

posted on 2020-04-01 13:28  路过君  阅读(225)  评论(0编辑  收藏  举报

导航