specify filter in server.xml

2006-10-05 Thread Magnus Bergman
Hi, I would like to add a filter to server.xml, to have a "server-wide-filter", but it doesn't seem to be registered. It works fine if I put it in any-webapp/WEB-INF/web.xml or in $CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in server.xml? Exact where in server.xml should I spe

extending JDBCRealm

2006-10-02 Thread Magnus Bergman
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