users@glassfish.java.net

Re: Glassfish 2.1.1 redirect https => http behind load balancer

From: Arif Sindgi <arif.sindgi_at_ext.icicibank.com>
Date: Thu, 11 Mar 2010 11:06:27 +0530

We need some help on setting up app to DB connectivity password to
mentioned in encrypted form, currently it's working only with clear
text. Would appreciate a quick help on this.

Regards
Arif Sindgi



Kshitiz Saxena wrote:
> In such a case, you need a mechanism to indicate to GlassFish that
> original request was over SSL. Your external load-balancer must add
> some headers to proxied request to indicate that. Then you need to
> provide implementation of ProxyHandler and set it in GlassFish which
> handles parsing of headers added by external load-balancer and set
> values appropriately on HTTP request. Take a look at default
> implementation of ProxyHandler, i.e.
> com.sun.enterprise.web.ProxyHandlerImpl, in GlassFish.
>
> Thanks,
> Kshitiz
>
> On Wednesday 10 March 2010 10:12 PM, glassfish_at_javadesktop.org wrote:
>> We aren't using the Glassfish Load Balancing plugin. We have an
>> external load balancer that is handing off the traffic to Glassfish.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>

---
  "Print this mail only if absolutely necessary. Save Paper. Save Trees." 
"This e-mail message may contain confidential, proprietary or legally privileged information. It 
should not be used by anyone who is not the original intended recipient. If you have erroneously 
received this message, please delete it immediately and notify the sender. The recipient 
acknowledges that ICICI Bank or its subsidiaries and associated companies,  (collectively "ICICI 
Group"), are unable to exercise control or ensure or guarantee the integrity of/over the contents
of the information contained in e-mail transmissions and further acknowledges that any views 
expressed in this message are those of the individual sender and no binding nature of the message
shall be implied or assumed unless the sender does so expressly with due authority of ICICI Group.
Before opening any attachments please check them for viruses and defects."