O'Reilly logo

Vaadin 7 Cookbook by Ondrej Kvasnovsky, Jaroslav Holan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a chroma-hash password field

For security reasons, while entering the password, only the placeholders are displayed instead of the characters in the text field. In such a case, it may be easily misspelled. Some applications will block the user after a few bad attempts. To avoid these inconveniences, we use a very useful component chroma-hash password text field. This text field shows us the hash code of the text with colored stripes. When we create a new password, we remember this color combination. Then, when we enter the password, we know whether it's correct before it's sent to the system.

Creating a chroma-hash password field

How to do it...

Carry out the following steps ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required