1

Jetty をアプリケーション サーバーとして使用します。ブラウザに IP アドレスを入力した場合、デフォルトを https にするにはどうすればよいですか?

4

1 に答える 1

1

First of all you need to configure a connector for https as described here:

http://www.eclipse.org/jetty/documentation/current/configuring-ssl.html

If you want to only allow https then add a security constraint to your web application as described here:

http://docs.oracle.com/javaee/5/tutorial/doc/bncbe.html#bncbm

That will redirect all requests send to the http connector to the https connector.

于 2013-02-28T09:13:13.763 に答える