Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: user.getPasswordUnencrypted() getting null in 7.3Ga6
Hi Team ,
we are migrating login module , In that after creating user we
are reading password and registering user to another server . The
code was working fine with 7.0 instance , But in 7.3 when we reading
user.getPasswordUnencrypted() its returning null . can you assist me ,
what are the changes we require to read user data
Thanks & Regards ,
Pradip
you can generally never rely on the unencrypted password being present or known to the system anyway - e.g. if you're utilizing SSO, Liferay will never see the password in order to keep track of it anyway.
That being said, if you're not utilizing SSO, there's a portal.properties entry session.store.password.
I don't recommend using it, and doing so will open up an attack vector on your users.