开发者

How do I get Spring to use https? [closed]

Closed. This question needs to be more focused. It开发者_C百科 is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 9 years ago.

Improve this question

in the most basic sense, what library's, xml entries, tags do I need to setup a secure http page (Using Spring)?


You'll need to configure your server to support HTTPS, which means getting or generating a certificate and installing it into the certificate store. Here's a quick start on how to configure SSL with Tomcat http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

Once you have the server listening on a port for https traffic, you can configure your application with just a couple of modifications to your existing spring security xml configuration as noted here http://static.springsource.org/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#ns-requires-channel

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜