Package com.groiss.passwd
Interface Checker
public interface Checker
Interface for Policy Checker. Implement a checker if default configuration options are insufficient due to your requirements
-
Method Summary
Modifier and TypeMethodDescriptionGet the non-compliant reasonsboolean
isCompliant
(String password) Checks if password is compliant to the policy
-
Method Details
-
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
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
-