Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Aleksandra Stępień
How to customise change user's password mechanism in Liferay 6.0.6?
January 10, 2012 6:33 AM
Answer

Aleksandra Stępień

Rank: New Member

Posts: 2

Join Date: January 10, 2012

Recent Posts

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.
Juhi Kumari
RE: How to customise change user's password mechanism in Liferay 6.0.6?
January 13, 2012 3:31 AM
Answer

Juhi Kumari

Rank: Expert

Posts: 347

Join Date: December 12, 2011

Recent Posts

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
Aleksandra Stępień
RE: How to customise change user's password mechanism in Liferay 6.0.6?
January 16, 2012 3:03 AM
Answer

Aleksandra Stępień

Rank: New Member

Posts: 2

Join Date: January 10, 2012

Recent Posts

Thanks for your reply Juhi.
That's exactly what I was looking for. It works emoticon
Dan Scully
RE: How to customise change user's password mechanism in Liferay 6.0.6?
April 18, 2012 2:23 AM
Answer

Dan Scully

Rank: Junior Member

Posts: 48

Join Date: October 13, 2011

Recent Posts

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
Vitaliy Koshelenko
RE: How to customise change user's password mechanism in Liferay 6.0.6?
April 19, 2012 2:26 PM
Answer

Vitaliy Koshelenko

Rank: Expert

Posts: 284

Join Date: March 25, 2011

Recent Posts

Hi, Dan.

The class is called EditUserAction, not LiferayEditUserAction.

Regards, Vitaliy Koshelenko
Dan Scully
RE: How to customise change user's password mechanism in Liferay 6.0.6?
April 22, 2012 10:41 PM
Answer

Dan Scully

Rank: Junior Member

Posts: 48

Join Date: October 13, 2011

Recent Posts

Eh, my mistake.

What I meant is

com.liferay.portlet.enterpriseadmin.action.EditUserAction

and this doesnt exist any more.
Rob Hall
RE: How to customise change user's password mechanism in Liferay 6.0.6?
March 12, 2013 10:42 AM
Answer

Rob Hall

Rank: Junior Member

Posts: 47

Join Date: November 30, 2011

Recent Posts

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
Bhagwan khichar
RE: How to customise change user's password mechanism in Liferay 6.0.6?
July 22, 2015 1:50 AM
Answer

Bhagwan khichar

Rank: New Member

Posts: 7

Join Date: October 20, 2014

Recent Posts

Read below artical to change password from custom portlet in liferay

http://findnerd.com/list/view/Change-password-from-Custom-portlet-in-liferay/4139/