That's a good idea, thanks.... Can you also e.g. in this method add the user object to the session so that jsp's have instant access to it?
--- 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]