Form based authentication - "last login"

2004-09-03 Thread hicnar
Hi All, I'm supposed to record the last login timestamp. IMHO the best sollution would be to intercept the authentication process (I'm working with Tomcat 4.x), to smuggle some custom code there that updates the appropriate column in the database. The question is.. how can I do this?? Or maybe s

Pass rules in Tomcat 4.1

2004-06-28 Thread hicnar
Hi all, I've got a problem (which is probably trivial). How, and where can I define pass rules for web-app running in Tomcat?? In the project Im working on I've got plenty of files that use such constructs or in a servlet table.put("EB_ERR_PICTURE", "/project_name/images/error.gif"); In t

External jars (how to make them visible for Tomcat)

2004-05-26 Thread hicnar
Hi all, I've got a simple question (hope it's simple) about enabling Tomcat to "see" external jars. Is coping them to ../tomcat/common/lib the only way to do this?? I'm trying to initialize Torque for servlets at Tomcat startup, and of course it can't find all the jars required by Torque. I know