留言板
How to customise change user's password mechanism in Liferay 6.0.6?
Aleksandra Stępień,修改在12 年前。
How to customise change user's password mechanism in Liferay 6.0.6?
New Member 帖子: 2 加入日期: 12-1-10 最近的帖子
Hello
I would like to call my custom method at the moment of updating password by MyAccount portlet. Is this possible? How can I get old password and new password that were typed by user on form on MyAccount portlet?
I tried to write a hook customising UserLocalService but I got some kind of conflict with my custom authenticator that I point in portal.properties file using auth.pipeline property (my authentication works fine till I deploy a hook).
Any help would be appreciated. Thanks in advance.
I would like to call my custom method at the moment of updating password by MyAccount portlet. Is this possible? How can I get old password and new password that were typed by user on form on MyAccount portlet?
I tried to write a hook customising UserLocalService but I got some kind of conflict with my custom authenticator that I point in portal.properties file using auth.pipeline property (my authentication works fine till I deploy a hook).
Any help would be appreciated. Thanks in advance.
Juhi Kumari,修改在12 年前。
RE: How to customise change user's password mechanism in Liferay 6.0.6?
Expert 帖子: 347 加入日期: 11-12-12 最近的帖子
Hi Aleksandra,
You can customize the EdirUserAction class and its updateUser() using ext plugins. Inside this method you can write your own code.
Regards
Juhi
You can customize the EdirUserAction class and its updateUser() using ext plugins. Inside this method you can write your own code.
Regards
Juhi
Aleksandra Stępień,修改在12 年前。
RE: How to customise change user's password mechanism in Liferay 6.0.6?
New Member 帖子: 2 加入日期: 12-1-10 最近的帖子
Thanks for your reply Juhi.
That's exactly what I was looking for. It works
That's exactly what I was looking for. It works
Dan Scully,修改在12 年前。
RE: How to customise change user's password mechanism in Liferay 6.0.6?
Junior Member 帖子: 48 加入日期: 11-10-13 最近的帖子
Hi.
I try to do exactly the same thing in Liferay 6.1.0
Unfortunately the LiferayEditUserAction class doesn't exist any more.
So, how do I do it in 6.1.0?
Any help appreciated
I try to do exactly the same thing in Liferay 6.1.0
Unfortunately the LiferayEditUserAction class doesn't exist any more.
So, how do I do it in 6.1.0?
Any help appreciated
Vetal Koshelenko,修改在12 年前。
RE: How to customise change user's password mechanism in Liferay 6.0.6?
Expert 帖子: 319 加入日期: 11-3-25 最近的帖子
Hi, Dan.
The class is called EditUserAction, not LiferayEditUserAction.
Regards, Vitaliy Koshelenko
The class is called EditUserAction, not LiferayEditUserAction.
Regards, Vitaliy Koshelenko
Dan Scully,修改在12 年前。
RE: How to customise change user's password mechanism in Liferay 6.0.6?
Junior Member 帖子: 48 加入日期: 11-10-13 最近的帖子
Eh, my mistake.
What I meant is
com.liferay.portlet.enterpriseadmin.action.EditUserAction
and this doesnt exist any more.
What I meant is
com.liferay.portlet.enterpriseadmin.action.EditUserAction
and this doesnt exist any more.
Rob Hall,修改在11 年前。
RE: How to customise change user's password mechanism in Liferay 6.0.6?
Junior Member 帖子: 47 加入日期: 11-11-30 最近的帖子
I would like to be able to do this also with Liferay 6.1 EE GA2. What I need to determine is if I can override password validation with a hook, what do I need to override and what event/etc to tie it to ?
i.e. what I'm inquiring about is what would the entry like this look like, but for password validation:
login.events.pre=com.cleco.liferay.login.PreLoginAction
Regards,
Rob
i.e. what I'm inquiring about is what would the entry like this look like, but for password validation:
login.events.pre=com.cleco.liferay.login.PreLoginAction
Regards,
Rob
Bhagwan khichar,修改在8 年前。
RE: How to customise change user's password mechanism in Liferay 6.0.6?
New Member 帖子: 10 加入日期: 14-10-21 最近的帖子
Read below artical to change password from custom portlet in liferay
http://findnerd.com/list/view/Change-password-from-Custom-portlet-in-liferay/4139/
http://findnerd.com/list/view/Change-password-from-Custom-portlet-in-liferay/4139/