I'm trying to now run my application behind Apache HTTPd, using proxy forwarding from the HTTP server. What I set up was a locally running HTTP server on my machine, listening on port 8087. My JBoss AS7 instance is on 8082. When I access via 8087 it's fine, I'm able to visit the SP, it fowards me to the IDP, both are working correctly on 8087. When I login to my IDP, I see the following HTTP requests made:
In that last call, the 302 is redirecting me from 8087 to 8082. But the question is, should I even be seeing all of these calls? I would expect only the first two, to authenticate me in to the application. Is there something I need to configure to tell JBoss/PicketLink that 8087 is also OK?
I'm able to go back and visit 8087 and it is correctly logged in.