HTTPSを用いたサイトを構築する場合、Cookieにsecure属性をつける必要が出てくる場合があります。 Jettyで設定のメモです。 JettyのCookieにSecure属性を付与する 探しました。 How to get jetty to send jsessionid-cookies with the secure-flag when using a secure channel Jettyの設定ファイルのjetty-web.xmlを書き換えれば良いようです。 true これを試してみたんですが、動きませんでした。 java.lang.NoSuchMethodException: class org.eclipse.jetty.server.session.HashSessionManager.setSecureCookies(boolean) Jetty9でインターフェイスが変
![JettyでセッションCookieにsecure属性を設定する。](https://cdn-ak-scissors.b.st-hatena.com/image/square/32e365040fed67c9f3f9272f690d11a1bd91df19/height=288;version=1;width=512/https%3A%2F%2Fblog.katty.in%2Fwp-content%2Fuploads%2F2013%2F12%2F3a1ea6f3d3b9747f01a849b41ad61cf7.png)