Getting IP from within Tomcat RealmBase.authenticate method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • birdOnWire
    New Member
    • Sep 2008
    • 1

    #1

    Getting IP from within Tomcat RealmBase.authenticate method

    Hi

    I am using Tocat realm for authentication in my application.
    Basically I am calling the authenticate(st ring, string) method passing it the username and password.
    After performing the authentication I need to post an audit message with the authentication result. The audit message MUST contain the client IP.
    Does anyone know how can I get the client IP inside the authenticate method?

    Thanks,

    BOW
Working...