关于apache+tomcat+ssl配置问题
我现在使用apache+tomcat+ssl配置项目,想要实现对项目登陆部分、发卡操作部分是想ssl验证,在项目的web.xml配置文件中做了如下配置:<security-constraint>
<web-resource-collection>
<web-resource-name>SSL</web-resource-name>
<url-pattern>/common/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>,已经能实现由首页进入登陆部分自动开启ssl验证了(这个我是通过url的变化判断的),然而登陆后我想实现其它操作不进行ssl验证,现在是登陆后再进行其它操作仍然开启ssl验证,不知道如何解决这个问题,实现http和https自由转换。谢谢大家了!!