Search code examples
oracle-databaseip-addressportaloracleportalplumtree

Obtaining client IP Address through ALUI Portal Gateway


Currently using Oracle/BEA/Plumtree ALUI Portal 6.1, and am trying to display a client's IP Address. Problem is that since this content is being gatewayed, the portal server's address is coming up when I call

<%= request.getRemoteAddr() %> (<%= request.getRemoteHost() %>)

I am pretty much doing the java equivalent of this link, and it's not working correctly. Uncertain if there is something somewhere in the IDK, or if there's a configuration setting that needs to change.


Solution

  • Turns out this is doable using PEIs (Plumtree Event Interfaces). This is a two part process: