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