'X-Frame-Options' to 'DENY'

解决方式:

因spring Boot采取的java config,在配置spring security的位置添加:

http.headers().frameOptions().disable();

 

posted @ 2017-08-24 09:38  unique1319  阅读(1513)  评论(0编辑  收藏  举报