computeRuleScore abstract method

double computeRuleScore(
  1. String password
)

Calculate the score of the rule.

For example, in case of a length rule it will be: passwordLength / requiredPasswordLength

Must return a value between 0.0 and 1.0.

Implementation

double computeRuleScore(String password);