Just thought about it.... having a session doesn't mean you are successfully logged in, does it? The moment you open the browser and gets directed to the logon JSP, you have a session, right? That does not mean you have logged in successfully... or what am I missing here?
--- Martin Jacobson <[EMAIL PROTECTED]> wrote: > Riaan Oberholzer wrote: > > Is it possible to extend the standard Realms, or > do > > you have to re-do it from scratch by implementing > the > > interface again? > > > > I want everything the Datasource Realm provides, > > except when the authentication succeeds, I want to > > update the user db table to indicate the date/time > > this occurred. > > > > Can it be done? > > You want to record the data & time of last login, > right? I wouldn't > modify/subclass the Realm at all - instead, I would > write an > HTTPSessionListener class, and do it in the > sessionCreated() method. > > Martin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]