spring security使用iframe拒绝访问 在拦截资源配置类下加如下代码: //iframe http.headers().frameOptions().disable(); 不经一番彻骨寒,哪有梅花扑鼻香?