I am trying to fetch the Client's IP in order to generate SMSession for the User. I tried request.getRemoteAddr(), however it only gives the Proxy/lb IP not the Original IP of the client.
I have also tried to fetch from the Header (X-Forwared-For) & CustomIPHeader, both are coming as null. I tried setting CustomIpHeader in the ACO parameter, still it didn't work.
I am making AgentAPI.login call and need the IP address.
Siteminder Version R12.52
Appreciate your inputs.