security - Configuring tomcat server to forward requests to other web server -


<99> On ports 9944, I need a security layer above this level on webpubs in web site, which accepts the request, then

Internally forwarded (not redirected) request to the JBoss server without any changes to the URL on the client side, like this I need a layer of proxy from above my WebApp layer

I need such a thing for security reasons.

If any request comes from the browser, it will be hit on that proxy layer first, then it will forward the request internally to me. The webpage instance without any change in the browser address bar.

Any ideas how can I move forward?

If the proxy is in the same web application then you can use it. .forward () in the Servlet API.

If the proxy is in a separate web application then you should request an HTTP connection and request for a primary application. There are several different ways to do this, including Apache HTTPClient, Spring Restamplate, Jersey Client, etc.

Comments