Our application runs in the domain application.ourcompany.com. A customer accesses our application through a proxy server (EZProxy) using the URL http://application.ourcompany.com.ezproxy.customer.org. Our application calls request.getRequestUrl(). We expect this call to return the actual request URL (http://application.ourcompany.com.ezproxy.customer.org), but instead it just returns http://application.ourcompany.com.
Is there a JBoss configuration setting that controls this behavior? If not, is there another workaround?