Marc, I'd suggest taking a look at JDBC Audits - https://apereo.github.io/cas/6.2.x/installation/Audits.html#database-audits
I won't do exactly what you want, but you'll be able to get a last login date from the table it creates. Good luck! -Mike On Wednesday, September 23, 2020 at 4:06:10 AM UTC-4 Marc Maurice wrote: > Hello, > > I'm using jdbc/mysql to authenticate my users. > > I have a simple need : I want to add a last_login_date field, updated at > each successful login > > I want to be able to know if some accounts have not been used from a > very long time. > > I red carefully the doc and reviewed the list of properties, but I see > nothing about that. > > Do I need to write some custom code ? Do you know what code or class I > should extend ? > > note: just updated my overlay to 6.2 successfully. > > Thanks in advance, > > Marc > > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/b766f972-ae7d-4c58-a1de-bfdb45a3bbf0n%40apereo.org.
