Hi all,

Thanks Simone, that is exactly what my problem had been. I believe that this 
mechanism was introduced in either jetty 8 or jetty 9. Once I added it, 
everything started working. I think it should be highlighted in the sample 
examples posted on Jetty website, at the moment there is really no mention of 
this in most of the examples on jetty website, but it turns out to be a big 
deal. All this while, it turns out to be new SecureRequestCustomizer() injected 
into the httpConfiuration. I would like to thank the entire jetty group for 
their support, Jan and the rest, thanks to you.

Ike

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Simone Bordet
Sent: Thursday, October 11, 2018 5:14 AM
To: JETTY user mailing list <[email protected]>
Subject: Re: [jetty-users] Issue with upgrading to Jetty 9.4.11

** This mail has been sent from an external source **


Hi,

On Wed, Oct 10, 2018 at 7:36 PM Eze Ikonne <[email protected]> wrote:
>
> Hi all,
>
>
>
> I just would like to report that I am making some progress on upgrading Jetty 
> 7 to Jetty 9.4.11, I will share the things that I have learned once the 
> effort is completed. However, I am now stuck because, for some reason, Jetty 
> 9.4.11 is returning a non-secure uri when it supposed to return secure uri 
> back to the browsers. My question is this, how do I indicate to Jetty 9.4.11 
> to return a secure redirection uri instead of non-secure? Or, how does Jetty 
> 9.4.11 determine how to redirect to secure instead of non secure uri? Please 
> see the debug information generated by my jetty 9.4.11 below. I am almost 
> there towards the completion of this effort. As you can see, it is returning 
> a non secure uri for the location header attribute. My embedded Jetty 7 
> correctly returns secure uri for the location header attribute.
>

This is done with a SecureRequestCustomizer on the HttpConfiguration.
Are you using it?

--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support from the Jetty & CometD 
experts.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
=====================================================
Please refer to http://www.aricent.com/email-disclaimer
for important disclosures regarding this electronic communication.
=====================================================
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to