Interface PasswordPolicyResult

All Known Implementing Classes:
PasswordPolicyResultImpl

public interface PasswordPolicyResult
The result of a password which was checked against a PasswordPolicy.
Author:
Miklas Boskamp
  • Method Details

    • isValid

      boolean isValid()
      Indicator of the overall result of the check.
      Returns:
      true if all rules passed, false if at least one rule was violated.
    • getViolatedRules

      List<PasswordPolicyRule> getViolatedRules()
      List of all rules that were violated during the check.
      Returns:
      all violated rules.
    • getFulfilledRules

      List<PasswordPolicyRule> getFulfilledRules()
      List of all rules that were fulfilled during the check.
      Returns:
      all fulfilled rules.