0

I would like to know how I can get users login Access information and their login frequency from Hybris db. Is it possible to know the table/s where this kind of data is stored?

Thanks in advance, AC

  • Have a look in this thread: http://stackoverflow.com/questions/7998669/redeploy-alternatives-to-jrebel – Mafick Jul 05 '16 at 18:19

2 Answers2

0

The only available information would be the last login date, if you want to keep more information about the login frequency, you will need to :

  • Update the User or Employee model to add something like a collection of Date
  • Customize the 'CockpitAuthenticationProvider' class to populate your new attribute whenever a cockpit user successfully login
Benoit Vanalderweireldt
  • 2,925
  • 2
  • 21
  • 31
0

Adding to @Benoit answer, you can write your custom logic in StorefrontAuthenticationSuccessHandler & LoginAuthenticationFailureHandler (based on success or failure) to save newly added attributes in User/Employee model.

Free-Minded
  • 5,322
  • 6
  • 50
  • 93