开发者

Scala Lift few https questions

I have few questions about https in Scala Lift:

How can I set for my web application use only https protocol?

Must I rewrite some code for existing application for using https?

Is request response cycle changes or there is no any differents?

Where 开发者_JAVA技巧to find good scala lift open source project using https or just to see advanced use of framework?

Thanks.


HTTPS needs to be enabled in your servlet container, such as Jetty or Tomcat. It doesn't have much to do with your web application. Then you need to tell the servlet container to use HTTPS for some or all pages in the deployment descriptor. This is what your web.xml file will look like:

<web-app>
    . . .
    <security-constraint>
        . . .
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜