users@glassfish.java.net

How to set JSESSIONID cookie secure even in HTTP in GF V2 UR2

From: 真嶌 晋 <susumu.majima_at_mail.rakuten.co.jp>
Date: Tue, 10 Jun 2008 20:11:02 +0900

Hello,

I know its possible by configuration file when GlassFish V2.1 is released.

In my environment Apache is in front of GlassFish it path convert HTTPS to HTTP.
I would like to set JSSESIONID cookie secure.

Someone says on the net it's possible use HttpServletResponseWrapper#addCookie()
It's not about GlassFish. If it's the solution that I want. I don't know detail.

Does anyone give me the idea for that ?

Is it impossible in GlassFish V2 UR2?

Thanks,

Susumu Majima