PatternFly

Password strength

Demo

This demo shows how to use PatternFly component to validate and return feedback about password strength according to consumer-defined rules.

Demos

Basic validation

Note, the validation and password strength rules are only examples, demonstrating the changes in the UI when certain conditions are met. We expect consumers will substitute their own, more robust, validation algorithm. In this demo the password strength is determined by how often validation rules are met. A good open-source password strength estimator, recommended by InfoSec, can be found here: https://github.com/dropbox/zxcvbn

  • Must be at least 14 characters : indeterminate status;
  • Cannot contain the word "redhat" : indeterminate status;
  • Must include at least 3 of the following: lowercase letter, uppercase letters, numbers, symbols : indeterminate status;

View source on GitHub