springsecurity 允许跨域IFRAME引用

WebSecurityConfigurerAdapter

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

posted on 2022-04-11 22:40  路过君  阅读(153)  评论(0编辑  收藏  举报

导航