Due to an operational issue, I had to downgrade the Wildfly 8.2 deployment into a Wildfly 8.0 deployment. Then a strange issue occurred as despite all the correct configurations in place for enabling the Spring security and HTTPS.
Problem was, when incorrect login details entered, redirection URL comes with an incorrect port where it goes with the AWS load balancer's actual port. But with the Wildfly 8.2 it is working correctly as expected.
When searching for a solution, found the below discussion
https://github.com/undertow-io/undertow/pull/125
This where the beauty of Wildfly modules comes into play. Simply I replaced the existing undertow 1.0 (Web implementation of wildfly) to the undertow 1.0.3 in Wildlfy modules and changed it's module xml. So the solution worked perfectly.
No comments:
Post a Comment