Foros de discusión

Log events for LDAp users

Samita Bhujbal, modificado hace 10 años.

Log events for LDAp users

Regular Member Mensajes: 117 Fecha de incorporación: 5/07/11 Mensajes recientes
I am using liferay 6.1.1. We have LDAP enabled on production site. I want to log events when LDAP user logs in, logged out and if login attempt fails.

Is anything available in community edition which is useful for this ??
thumbnail
Zsolt Balogh, modificado hace 10 años.

RE: Log events for LDAp users

Expert Mensajes: 463 Fecha de incorporación: 23/03/09 Mensajes recientes
Hi Samita,

I believe that the best approach is to create a hook which will enable you to log the login / logout events as it's necessary. You can add your actions to the
login.events.post ant logout.events.post properties.

You can find an example here.

Zsolt
Samita Bhujbal, modificado hace 10 años.

RE: Log events for LDAp users

Regular Member Mensajes: 117 Fecha de incorporación: 5/07/11 Mensajes recientes
Thanks for reply Zsolt. I will try this.