Get IP address for an portal user session
I have a requirement where i need to get the following:
-Client's IP address from where an user is connected to the portal.
-Client's IP address from where someone change a user password (also if the DB keeps user who made the changes will be usefull)
-Client´s IP address from where an user blocks his account
I have checked the NWA (WebAdminApp), and there is a session monitoring where i can see the active sessions on portals and the IP where the user is connected to. I just want to know the API used for that and some information that can guide me. I cant find an API to help me with this, if any of you know something or have any information, it will be usefull.
Daniel Ruiz replied
You might want to check the related javadocs:
Code would look something like:
IWDRequest request = WDProtocolAdapter.getProtocolAdapter() .getRequestObject() ; String clientHostAddress = request.getClientHostAddress();
Hope it helps,