Class PasswordPolicyResultImpl
java.lang.Object
org.camunda.bpm.engine.impl.identity.PasswordPolicyResultImpl
- All Implemented Interfaces:
PasswordPolicyResult
- Author:
- Miklas Boskamp
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<PasswordPolicyRule>
protected List<PasswordPolicyRule>
-
Constructor Summary
ConstructorDescriptionPasswordPolicyResultImpl
(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.boolean
isValid()
Indicator of the overall result of the check.void
setFulfilledRules
(List<PasswordPolicyRule> fulfilledRules) void
setViolatedRules
(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:PasswordPolicyResult
Indicator of the overall result of the check.- Specified by:
isValid
in interfacePasswordPolicyResult
- Returns:
true
if all rules passed,false
if at least one rule was violated.
-
getViolatedRules
Description copied from interface:PasswordPolicyResult
List of all rules that were violated during the check.- Specified by:
getViolatedRules
in interfacePasswordPolicyResult
- Returns:
- all violated rules.
-
setViolatedRules
-
getFulfilledRules
Description copied from interface:PasswordPolicyResult
List of all rules that were fulfilled during the check.- Specified by:
getFulfilledRules
in interfacePasswordPolicyResult
- Returns:
- all fulfilled rules.
-
setFulfilledRules
-