Can the ip address of the proxy be checked in JBoss/Tomcat with AJP?

Solution Unverified - Updated -

Issue

  • When we proxy over AJP, ServletRequest.getRemoteAddr() shows the client's ip. Is there anyway to check the proxy's ip instead via AJP?

Environment

  • JBoss Enterprise Application Platform (EAP)
  • JBoss Enterprise Web Server (JWS)
    • Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content