Magnus,
Check out Securityfilter:
http://securityfilter.sourceforge.net/
I have submitted patches and sample (check the forums) that include the
ability to get access to the IP, etc.
My app currently logs successful and failed login attempts.
As for "logging" the user in... that's not really p
Hi,
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
HI!!
Just solved.
I was using tomcat 5.5.0.
I was looking at sources of 5.5.16.
I suppose that the authenticate method of 5.5.0 doesn't use getPassord
method.
I tried it in 5.5.16 and everything works fine
Thanks for attention
Alessandro
On 3/24/06, Alessandro Colantoni <[EMAIL PROTECTED]> wrote:
Hi all!
For some reasons I had to extend JDBCRealm to overwrite the method
getPassword.
This is myRealm:
public class ManoloJDBCRealm extends JDBCRealm{
private static Log log = LogFactory.getLog(ManoloJDBCRealm.class);
protected String getPassword(String username) {
System.out.println("u