web.xml中配置http访问转向https
2010-12-07 13:59
337 查看
<login-config>
<auth-method>CLIENT-CERT</auth-method>
<realm-name>Client Cert Users-only Area</realm-name>
</login-config>
<security-constraint>
<web-resource-collection >
<web-resource-name >SSL</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<auth-method>CLIENT-CERT</auth-method>
<realm-name>Client Cert Users-only Area</realm-name>
</login-config>
<security-constraint>
<web-resource-collection >
<web-resource-name >SSL</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
相关文章推荐
- web.xml配置struts2之后访问jsp页面报Http 404错误
- Tomcat全局/局部https访问配置方法【tomcat容器的配置文件web.xml中添加security-constraint】
- web工程配置Https访问
- Nginx配置https和http可同时访问方法
- springmvc web.xml配置dispatcherservlet导致访问项目只显示源码
- 配置Nginx网站https访问、http共存访问
- Tomcat配置https协议、以及http协议自动REDIRECT到HTTPS【没有试验,内含设置强制https访问】
- web.xml配置文件的dtd(http://java.sun.com/dtd/web-app_2_3.dtd)
- ASP.net读取Web.xml的配置信息(转自:http://blog.csdn.net/donhao/article/details/6678755)
- 【Java.Web】JSP —— 语法基础 —— 选择在web.xml配置访问JSP URL
- nginx的多域http、https同时访问配置及http重定向https
- [导入]XML for Analysis(XMLA)开发详解-(3)各版本的SQL Server及Windows下配置XMLA over HTTP访问SASS(OLAP)的文档合集
- C#、VB.NET使用HttpWebRequest访问https地址(SSL)的实现方法
- 如何在web.xml中配置jsp的访问路径
- HTTP 403 ,tomcat配置HTTPS,无法访问 返回状态码HTTP 403
- Tomcat配置https及访问http自动跳转至https
- 在linux中实现https访问web站点的配置
- nginx 配置https访问以及访问http跳转到https
- 阿里云服务器Centos/tomcat6 配置http/https证书访问
- nginx配置ssl证书实现https和http共存访问