Class PasswordPolicyResultImpl
java.lang.Object
org.cibseven.bpm.engine.impl.identity.PasswordPolicyResultImpl
- All Implemented Interfaces:
PasswordPolicyResult
- Author:
- Miklas Boskamp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<PasswordPolicyRule>protected List<PasswordPolicyRule> -
Constructor Summary
ConstructorsConstructorDescriptionPasswordPolicyResultImpl(List<PasswordPolicyRule> violatedRules, List<PasswordPolicyRule> fulfilledRules) -
Method Summary
Modifier and TypeMethodDescriptionList of all rules that were fulfilled during the check.List of all rules that were violated during the check.booleanisValid()Indicator of the overall result of the check.voidsetFulfilledRules(List<PasswordPolicyRule> fulfilledRules) voidsetViolatedRules(List<PasswordPolicyRule> violatedRules)
-
Field Details
-
violatedRules
-
fulfilledRules
-
-
Constructor Details
-
PasswordPolicyResultImpl
public PasswordPolicyResultImpl(List<PasswordPolicyRule> violatedRules, List<PasswordPolicyRule> fulfilledRules)
-
-
Method Details
-
isValid
public boolean isValid()Description copied from interface:PasswordPolicyResultIndicator of the overall result of the check.- Specified by:
isValidin interfacePasswordPolicyResult- Returns:
trueif all rules passed,falseif at least one rule was violated.
-
getViolatedRules
Description copied from interface:PasswordPolicyResultList of all rules that were violated during the check.- Specified by:
getViolatedRulesin interfacePasswordPolicyResult- Returns:
- all violated rules.
-
setViolatedRules
-
getFulfilledRules
Description copied from interface:PasswordPolicyResultList of all rules that were fulfilled during the check.- Specified by:
getFulfilledRulesin interfacePasswordPolicyResult- Returns:
- all fulfilled rules.
-
setFulfilledRules
-