Interface Checker


public interface Checker
Interface for Policy Checker. Implement a checker if default configuration options are insufficient due to your requrements
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the non-compliant reasons
    boolean
    isCompliant(String password)
    Checks if password is compliant to the policy
  • Method Details

    • getReasons

      List<String> getReasons()
      Get the non-compliant reasons
      Returns:
      Returns a List of Strings, which specify the reasons, why password is not compliant to the policy
    • isCompliant

      boolean isCompliant(String password)
      Checks if password is compliant to the policy
      Parameters:
      password - The password to check
      Returns:
      true if password is compliant to this rule; false if not