Spring Security:Refused to display 'http://**' in a frame because it set 'X-Frame-Options' to 'deny'
在整合Spring Security时,页面的iframe出现这个错误:Refused to display 'http://**' in a frame because it set 'X-Frame-Options' to 'deny'解决:在继承WebSecurityConfigurerAdapter的子类的覆盖方法configure(HttpSecurity)里面添加:...
原创
2019-08-04 21:28:42 ·
2670 阅读 ·
1 评论