Password Encrypt and decrypt in Liferay
Liferay is using Hashing algorthim , not encrypt and decrypt . so you cannot decrypt the password.
But there is 2 ways to get the password
1.In this way you can get password of only logged user.
Add the following properties in portal-ext.properties so that we can get the pssword in session.
#
# Set this to true to store the user's password in the session.
#
session.store.password=true
#
# Explicitly exclude attributes that are shared from the portal to portlets.
#
session.shared.attributes.excludes=
2.Storing the password in DB as Plain Text
Add the following properties in portal-ext.properties
passwords.encryption.algorithm=NONE
Comments
Post a Comment