1 Reply Latest reply on Apr 24, 2014 3:40 AM by sebp

    How to trace login/logout actions?

    Ken L. F. Newbie

      Hi,

       

      I am new to Hibernate Envers. Is there a way to track any custom action taken by user (such as login, logout) instead of the generic "update" event?

        • 1. Re: How to trace login/logout actions?
          sebp Newbie

          Well, you could have a User entity with the properties lastLogin and lastLogout. If the User entity is audited and these properties get updated each time the user logs in or logs out respectivly then you could use the audit table of the User entity for a trace of login and logout actions of this user. Does this help?