Kerrin Hardy wrote:
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.

Depending on what you are trying to do, you might be off with a filter to generate your logs.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to