JSF redirects from http to https

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


JSF redirects from http to https



I have a problem with jsf redirects. Since we moved to https the redirects work in a strange manner, they actually redirect to http instead of https, just like in this question: JSF redirects from HTTPS to HTTP



Now I'd like to get a better solution. Something doesn't force you to have different code or properties files in different environments.
I also tried using


<user-data-constraint>

<transport-guarantee> CONFIDENTIAL </transport-guarantee>

</user-data-constraint>



In web.xml, but that made it worse, because not even the first GET request works fine.


GET



The environment is a cluster with two web server and two application server Websphere 7.



Thanks a lot for your answers.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Regex - How to capture all iterations of a repeating pattern?