Foren

Previous password in Change Password

ton dev, geändert vor 11 Jahren.

Previous password in Change Password

New Member Beiträge: 18 Beitrittsdatum: 09.02.12 Neueste Beiträge
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..
thumbnail
Alireza Zare, geändert vor 11 Jahren.

RE: Previous password in Change Password

Regular Member Beiträge: 110 Beitrittsdatum: 03.09.10 Neueste Beiträge
In the PasswordTracker.
ton dev, geändert vor 11 Jahren.

RE: Previous password in Change Password

New Member Beiträge: 18 Beitrittsdatum: 09.02.12 Neueste Beiträge
Many Thanks!!!!
thumbnail
Alireza Zare, geändert vor 11 Jahren.

RE: Previous password in Change Password

Regular Member Beiträge: 110 Beitrittsdatum: 03.09.10 Neueste Beiträge
YW :-)
thumbnail
Mazhar Alam, geändert vor 11 Jahren.

RE: Previous password in Change Password

Regular Member Beiträge: 191 Beitrittsdatum: 25.11.11 Neueste Beiträge
Hi Ton,
I looked into paswordTracker table and unable to find any entries in it..
thumbnail
Alireza Zare, geändert vor 11 Jahren.

RE: Previous password in Change Password

Regular Member Beiträge: 110 Beitrittsdatum: 03.09.10 Neueste Beiträge
Is the password history enabled?
thumbnail
Mazhar Alam, geändert vor 11 Jahren.

RE: Previous password in Change Password

Regular Member Beiträge: 191 Beitrittsdatum: 25.11.11 Neueste Beiträge
Yes the password history is enabled in password policy..Is there anything else need to configure??
thumbnail
Harish Kumar, geändert vor 11 Jahren.

RE: Previous password in Change Password

Expert Beiträge: 483 Beitrittsdatum: 31.07.10 Neueste Beiträge
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.
thumbnail
Mazhar Alam, geändert vor 11 Jahren.

RE: Previous password in Change Password

Regular Member Beiträge: 191 Beitrittsdatum: 25.11.11 Neueste Beiträge
Got it...seems the password is encrypted...
Prasanna Raj, geändert vor 11 Jahren.

RE: Previous password in Change Password

Junior Member Beiträge: 68 Beitrittsdatum: 30.01.12 Neueste Beiträge
can we view the previous passwords from the UI or the control panel?
thumbnail
Wilson Man, geändert vor 11 Jahren.

RE: Previous password in Change Password

Liferay Master Beiträge: 581 Beitrittsdatum: 21.06.06 Neueste Beiträge
don't think so, generally, you don't want to decrypt passwords and display it. not a good idea.
thumbnail
Gabriel Leon Leyva, geändert vor 11 Jahren.

RE: Previous password in Change Password

Regular Member Beiträge: 243 Beitrittsdatum: 20.06.09 Neueste Beiträge
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.
thumbnail
Wilson Man, geändert vor 11 Jahren.

RE: Previous password in Change Password

Liferay Master Beiträge: 581 Beitrittsdatum: 21.06.06 Neueste Beiträge
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.
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Previous password in Change Password

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
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.