在应用程序的配置文件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, 配置 

相关文章:

  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2021-12-06
  • 2021-08-30
  • 2022-02-01
  • 2022-12-23
猜你喜欢
  • 2021-11-15
  • 2021-09-04
  • 2021-07-25
  • 2021-07-14
  • 2022-03-06
相关资源
相似解决方案