Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
ton dev
Previous password in Change Password
September 24, 2012 11:26 PM
Answer

ton dev

Rank: New Member

Posts: 18

Join Date: February 8, 2012

Recent Posts

Where does Liferay store the previous passwords of the user when the history is enabled in the Password Policy of that user??

Example:

If the History Checking is enabled in the password policy and the history count is 6,
is there a file or table where Liferay store these passwords??

Thanks for the help..
Alireza Zare
RE: Previous password in Change Password
September 24, 2012 11:56 PM
Answer

Alireza Zare

Rank: Regular Member

Posts: 110

Join Date: September 3, 2010

Recent Posts

In the PasswordTracker.
ton dev
RE: Previous password in Change Password
September 24, 2012 11:59 PM
Answer

ton dev

Rank: New Member

Posts: 18

Join Date: February 8, 2012

Recent Posts

Many Thanks!!!!
Alireza Zare
RE: Previous password in Change Password
September 25, 2012 12:01 AM
Answer

Alireza Zare

Rank: Regular Member

Posts: 110

Join Date: September 3, 2010

Recent Posts

YW :-)
Mazhar Alam
RE: Previous password in Change Password
September 25, 2012 12:07 AM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 188

Join Date: November 25, 2011

Recent Posts

Hi Ton,
I looked into paswordTracker table and unable to find any entries in it..
Alireza Zare
RE: Previous password in Change Password
September 25, 2012 12:13 AM
Answer

Alireza Zare

Rank: Regular Member

Posts: 110

Join Date: September 3, 2010

Recent Posts

Is the password history enabled?
Harish Kumar
RE: Previous password in Change Password
September 25, 2012 12:26 AM
Answer

Harish Kumar

Rank: Expert

Posts: 327

Join Date: July 31, 2010

Recent Posts

Hi Mazhar,

1. First enable the "password history" by editing the default password policy.

2. Change the password for any user and then check the password tracker table.
Mazhar Alam
RE: Previous password in Change Password
September 25, 2012 12:26 AM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 188

Join Date: November 25, 2011

Recent Posts

Yes the password history is enabled in password policy..Is there anything else need to configure??
Mazhar Alam
RE: Previous password in Change Password
September 25, 2012 1:27 AM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 188

Join Date: November 25, 2011

Recent Posts

Got it...seems the password is encrypted...
Prasanna Raj
RE: Previous password in Change Password
October 16, 2012 10:31 AM
Answer

Prasanna Raj

Rank: Junior Member

Posts: 69

Join Date: January 30, 2012

Recent Posts

can we view the previous passwords from the UI or the control panel?
Wilson Man
RE: Previous password in Change Password
October 16, 2012 11:13 AM
Answer

Wilson Man

LIFERAY STAFF

Rank: Liferay Master

Posts: 577

Join Date: June 21, 2006

Recent Posts

don't think so, generally, you don't want to decrypt passwords and display it. not a good idea.
Hitoshi Ozawa
RE: Previous password in Change Password
October 17, 2012 5:08 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

can we view the previous passwords from the UI or the control panel?


No. If you set in portal-ext.properties to save password in clear text, password will be viewable in the database table. If you database support column encryption, it may be possible to set liferay to save password in clear text and have the database encrypt the password column.
Gabriel Leon Leyva
RE: Previous password in Change Password
October 19, 2012 8:09 AM
Answer

Gabriel Leon Leyva

Rank: Regular Member

Posts: 239

Join Date: June 20, 2009

Recent Posts

Hi Wilson, Good Morning.

Gabriel León from México, We have a system based on c# and sql server 2005 I want is possible know what tables affect on sql server (liferay tables) so users I create on my system can be created on liferay, changes I made can be change in liferay (like password, name, etc). We want this system to interact with the portal.

Thanks in advance for your help.
Wilson Man
RE: Previous password in Change Password
October 19, 2012 11:14 AM
Answer

Wilson Man

LIFERAY STAFF

Rank: Liferay Master

Posts: 577

Join Date: June 21, 2006

Recent Posts

well, the short answer is User_ table, but you shouldn't update that directly using a different application or manually. Liferay Portal keeps a cache of things, and also has dependencies between tables, so updating its database directly is highly discouraged.