Foros de discusión

Previous password in Change Password

ton dev, modificado hace 11 años.

Previous password in Change Password

New Member Mensajes: 18 Fecha de incorporación: 9/02/12 Mensajes recientes
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, modificado hace 11 años.

RE: Previous password in Change Password

Regular Member Mensajes: 110 Fecha de incorporación: 3/09/10 Mensajes recientes
In the PasswordTracker.
ton dev, modificado hace 11 años.

RE: Previous password in Change Password

New Member Mensajes: 18 Fecha de incorporación: 9/02/12 Mensajes recientes
Many Thanks!!!!
thumbnail
Alireza Zare, modificado hace 11 años.

RE: Previous password in Change Password

Regular Member Mensajes: 110 Fecha de incorporación: 3/09/10 Mensajes recientes
YW :-)
thumbnail
Mazhar Alam, modificado hace 11 años.

RE: Previous password in Change Password

Regular Member Mensajes: 191 Fecha de incorporación: 25/11/11 Mensajes recientes
Hi Ton,
I looked into paswordTracker table and unable to find any entries in it..
thumbnail
Alireza Zare, modificado hace 11 años.

RE: Previous password in Change Password

Regular Member Mensajes: 110 Fecha de incorporación: 3/09/10 Mensajes recientes
Is the password history enabled?
thumbnail
Mazhar Alam, modificado hace 11 años.

RE: Previous password in Change Password

Regular Member Mensajes: 191 Fecha de incorporación: 25/11/11 Mensajes recientes
Yes the password history is enabled in password policy..Is there anything else need to configure??
thumbnail
Harish Kumar, modificado hace 11 años.

RE: Previous password in Change Password

Expert Mensajes: 483 Fecha de incorporación: 31/07/10 Mensajes recientes
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, modificado hace 11 años.

RE: Previous password in Change Password

Regular Member Mensajes: 191 Fecha de incorporación: 25/11/11 Mensajes recientes
Got it...seems the password is encrypted...
Prasanna Raj, modificado hace 11 años.

RE: Previous password in Change Password

Junior Member Mensajes: 68 Fecha de incorporación: 30/01/12 Mensajes recientes
can we view the previous passwords from the UI or the control panel?
thumbnail
Wilson Man, modificado hace 11 años.

RE: Previous password in Change Password

Liferay Master Mensajes: 581 Fecha de incorporación: 21/06/06 Mensajes recientes
don't think so, generally, you don't want to decrypt passwords and display it. not a good idea.
thumbnail
Gabriel Leon Leyva, modificado hace 11 años.

RE: Previous password in Change Password

Regular Member Mensajes: 243 Fecha de incorporación: 20/06/09 Mensajes recientes
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, modificado hace 11 años.

RE: Previous password in Change Password

Liferay Master Mensajes: 581 Fecha de incorporación: 21/06/06 Mensajes recientes
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, modificado hace 11 años.

RE: Previous password in Change Password

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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.