AnsweredAssumed Answered

Getting the Client's IP to Create SM Session

Question asked by Priyotosh on Mar 24, 2017
Latest reply on Mar 28, 2017 by Priyotosh

Hi All,


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.