Interface PasswordPolicy.PasswordStrength

All Known Implementing Classes:
SimplePasswordPolicy.SimplePasswordStrength
Enclosing interface:
PasswordPolicy<A extends LoginCredentials,B extends PasswordPolicy.PasswordStrength>

public static interface PasswordPolicy.PasswordStrength

A password strength provides both qualitative and quantitative marks to assess its level of protection against password cracking attacks.

It results from the evaluation of a password against a password policy (see PasswordPolicy.verify(io.inverno.mod.security.authentication.LoginCredentials, java.lang.String)).

Since:
1.5
Author:
Jeremy Kuhn
  • Method Details

    • getQualifier

      Returns the password protection qualifier.

      Returns:
      a password protection qualifier
    • getScore

      int getScore()

      returns the password protection score.

      Returns:
      a password protection score