cancel
Showing results for 
Search instead for 
Did you mean: 

Show Users Password

romainopen
Champ in-the-making
Champ in-the-making
Hello,
I want to know if it's possible to show the users passwords in the webclient interface before changing the password.
I don't know if it could help but the property that I want to show is "{http://www.alfresco.org/model/user/1.0}password".
Thanks in advance,
Romain
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Here is the code for the password field of login.jsp

  <h:inputSecret id="user-password" value="#{LoginBean.password}" validator="#{LoginBean.validatePassword}" style="width:150px" />

It should be possible to hack the type to "inputText" rather than "inputSecret".

romainopen
Champ in-the-making
Champ in-the-making
Hello mrogers,
Thanks a lot for your usefull answer. I'm such an Alfresco noob that I don't even think to change the jsp code.
But your answer is not exactly what I'm trying to do. I'm trying to modify the "user/change-password.jsp" to show the old password before typing a new one.

I've tried adding this line :
<h:outputText value="#{UsersBeanProperties.password}"/>
Without any success…

Thanks in advance for your help,
Romain