Getting user password in Liferay portlet

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting user password in Liferay portlet

fritz
Is there any chance to obtain it from portlet like username roles and others??
Users log-on on liferay and I have a submission that needs to autenticate against a webservice which requires username and password.

Fritz
Reply | Threaded
Open this post in threaded view
|

Re: Getting user password in Liferay portlet

Erik Bruchez
Administrator
Fritz,

Sorry if this sounds patronizing, but I it generally a bad idea to let applications have access to user passwords. That opens the door to all sorts of security risks.

Does that web service require a different password for each user? Or is there a single username/password? If the latter, then you wouldn't need the current user's password.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Getting user password in Liferay portlet

fritz
Unfortunately it has to work for every user, but it does in intranet.
Yes, I fully agree what you say, but untill we will be able to find another way I need to retrieve the password.

Fritz
Reply | Threaded
Open this post in threaded view
|

Re: Getting user password in Liferay portlet

Erik Bruchez
Administrator
I don't know if it's possible to get the password used by Liferay. Maybe a question for Liferay support?

-Erik