首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

在Tomcat中挟制web应用程序使用SSL

2012-10-12 
在Tomcat中强制web应用程序使用SSL在应用程序的配置文件web.xml中的之前加入:?security-constraintweb-

在Tomcat中强制web应用程序使用SSL

在应用程序的配置文件web.xml中的之前加入:

?

<security-constraint>  <web-resource-collection><web-resource-name>Restricted URLs</web-resource-name><url-pattern>/</url-pattern>  </web-resource-collection>  <user-data-constraint><transport-guarantee>CONFIDENTIAL</transport-guarantee>  </user-data-constraint></security-constraint>

关键字:Tomcat, SSL, Web, 配置?

?

热点排行