I'm trying to obtain the IP of the connecting client from within the 
CallbackHandler invoked by Rampart.

This can be obtained from messageContext.getProperty("REMOTE_ADDR") however 
MessageContext.getCurrentMessageContext() often (though not always) returns 
null.

>From my observations, it appears that the messageContext is null when the 
>client connects to the server, but the messageContext is populated when the 
>server responds to the client.

How can I reliably obtain the connecting client's IP?

Thanks,
Nate Roe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to