I'm trying to create a Realm that authenticates a user and logs the IP address 
they attempted from, but I am having trouble finding how I get the IP address 
of the request (the Remote IP Address).
 
I know I could get it if I had the Socket object, but I don't see how I get 
that from the Realm.
 
The function I need to access it from with in is the following function:
public Principal authenticate(String username, String password)
 
I'm sure the answer is simple, but I just can't find it.
 
Thanks for your help in advance,
 
Kerrin

Reply via email to