Class PasswordPolicyResultImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.identity.PasswordPolicyResultImpl
-
- All Implemented Interfaces:
PasswordPolicyResult
public class PasswordPolicyResultImpl extends Object implements PasswordPolicyResult
- Author:
- Miklas Boskamp
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PasswordPolicyRule>
fulfilledRules
protected List<PasswordPolicyRule>
violatedRules
-
Constructor Summary
Constructors Constructor Description PasswordPolicyResultImpl(List<PasswordPolicyRule> violatedRules, List<PasswordPolicyRule> fulfilledRules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PasswordPolicyRule>
getFulfilledRules()
List of all rules that were fulfilled during the check.List<PasswordPolicyRule>
getViolatedRules()
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 Detail
-
violatedRules
protected List<PasswordPolicyRule> violatedRules
-
fulfilledRules
protected List<PasswordPolicyRule> fulfilledRules
-
-
Constructor Detail
-
PasswordPolicyResultImpl
public PasswordPolicyResultImpl(List<PasswordPolicyRule> violatedRules, List<PasswordPolicyRule> fulfilledRules)
-
-
Method Detail
-
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
public List<PasswordPolicyRule> 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
public void setViolatedRules(List<PasswordPolicyRule> violatedRules)
-
getFulfilledRules
public List<PasswordPolicyRule> 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
public void setFulfilledRules(List<PasswordPolicyRule> fulfilledRules)
-
-