Foros de discusión

Impersonation Hook

Flavel ---------, modificado hace 14 años.

Impersonation Hook

Junior Member Mensajes: 39 Fecha de incorporación: 14/05/09 Mensajes recientes
Looking at extending the liferay user. We have hooks setup to listen on create/update/delete and on user login.

I need to hook into impersonation, but can't find too much documentation on it. Does anyone have any ideas?

(Already looked at:
http://svn.liferay.com/browse/portal/trunk/definitions/liferay-hook_5_2_0.dtd?r=trunk
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Portal+Hook+Plugins
http://docs.liferay.com/portal/5.2/official/liferay-administration-guide.pdf
...)

I assume it will probably have something to do with hooking into a "value object" (like value.object.listener.com.liferay.portal.model.User).

Just can't figure out which one.

Thanks
Flavel ---------, modificado hace 14 años.

RE: Impersonation Hook

Junior Member Mensajes: 39 Fecha de incorporación: 14/05/09 Mensajes recientes
The hook was:

servlet.service.events.pre

It is ran a lot, but can't really blame it since this is where it is always checking if it is impersonating.
Neha Goel, modificado hace 13 años.

RE: Impersonation Hook

New Member Mensajes: 7 Fecha de incorporación: 22/11/10 Mensajes recientes
Can you let me know how to update some properties when a person does impersonation

Regards
Neha