PasswordField should not contain real password #10544
Comments
|
Changing I would even claim that an application that has an actual value to pass to |
|
I think your observation is correct. The behavior I propose could also be achieved manually today by implementing a getter/setter combination which does not reveal the password but uses a place holder value instead. However, your second claim applies in my opinion only to applications that do not need the real password. Our application requires the actual password for authentication against SMTP servers or database servers. The |
|
We are also affected by this issue and as a result have removed all PasswordFields from the application. |
|
Good point about storing passwords for other purposes than end-users' login details. This is indeed something that could be considered, although I'm afraid it might not be on the top of our own priority lists. |
|
Should be quite easily implemented with a separate server-side field for the real value and then storing a random bogus value in the shared state, although you might then also have to override some logic inherited from |
|
Might be also implemented very generic way with some In this case it should be WriteOnlyHasValue, indeed. |
|
Hello there! We are sorry that this issue hasn't progressed lately. We are prioritizing issues by severity and the number of customers we expect are experiencing this and haven't gotten around to fix this issue yet. There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):
Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too! |
|
Please don't stale ... I think other people might still be affected using the PasswordField for display purposes. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

This behavior is working as described in the documentation:
I think it would be good practice to not reveal the actual password to the browser. The PasswordField should handle this transparently.
This was observed with Vaadin 8.2.1, but since it is working as documented, every version will be affected.
The text was updated successfully, but these errors were encountered: