jsr340-experts@servlet-spec.java.net

[jsr340-experts] HttpSession#isSecure ?

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Wed, 24 Aug 2011 18:06:01 -0700

One can check whether a cookie or request is secure by invoking isSecure().
I propose to add the following to interface javax.servlet.http.HttpSession
      public boolean isSecure();

This will allow us to check whether a session is created through http or
https.
Any comment?

Shing Wai Chan