`
feng_tai_jun
  • 浏览: 112173 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

spring-security 4.1 设置允许嵌套页面上的iframe

阅读更多

<beans xmlns="http://www.springframework.org/schema/beans" 
	xmlns:security="http://www.springframework.org/schema/security"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans 
	   	   http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
		   http://www.springframework.org/schema/security
      	   http://www.springframework.org/schema/security/spring-security-4.1.xsd">
……
<security:http ……>
      <!-- 设置允许嵌套iframe -->
      <security:headers><security:frame-options disabled="true"/></security:headers>
<security:http />
……
</beans>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics