tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magnus Bergman <>
Subject extending JDBCRealm
Date Mon, 02 Oct 2006 13:51:07 GMT
I'm using the JDBCRealm to authorize users to access my applications.

I would like to "log" users when they login or tries to login to any 
application on my tomcat, to do this I have extended the JDBCRealm and 
overridden the authenticate-methods, by this I can log when and which 
user login to any application on my tomcat, but I also want to log which 
host/ip-number they login from? I know that information is in the 
HttpServletRequest, but how do I get hold of that information in my 
extended JDBCRealm? Or maybe there is a better way to solve this?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message