如何在Tomcat7中有选择地启用或禁用某些URL的SSL
运输保证是连接必须满足的最低水平。因此,如果最低运输保证为无,则使用TLS是完全有效的 如果要强制切换回TLS,则需要显式地编写代码。选择包括:如何在Tomcat7中有选择地启用或禁用某些URL的SSL,tomcat,ssl,Tomcat,Ssl,运输保证是连接必须满足的最低水平。因此,如果最低运输保证为无,则使用TLS是完全有效的 如果要强制切换回TLS,则需要显式地编写代码。选择包括: 在指向要使用http的页面的链接中显式使用http 编写一个重定向到http的筛选器,并将其映射到要用于http的URL <pre> 1. I am using SSL in Tomcat 7, create a keystore and configure server.xml, and also config in web.xm
- 在指向要使用http的页面的链接中显式使用http
- 编写一个重定向到http的筛选器,并将其映射到要用于http的URL
<pre> 1. I am using SSL in Tomcat 7, create a keystore and configure server.xml, and also config in web.xml as below
<b> <security-constraint>
<web-resource-collection>
<web-resource-name>SSL</web-resource-name>
<url-pattern>/inspectionGp/*</url-pattern>
<url-pattern>/inspection/*</url-pattern>
<url-pattern>/inspGpDt/*</url-pattern>
<url-pattern>/inspDt/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
3. And another issue, why other the links are https when I click the url which only support https