2011-08-12 31 views

回答

6

您需要將服務器配置爲支持HTTPS,即獲取或生成證書並將其安裝到證書存儲中。以下是關於如何使用Tomcat配置SSL的快速入門http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

一旦讓服務器監聽https流量的端口,您可以通過對現有彈簧安全xml配置進行一些修改來配置應用程序(如本文所述) http://static.springsource.org/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#ns-requires-channel

+0

非常感謝您的答覆digitaljoel! – stackoverflow