public static class RuleConditions.MinOccurrence extends Object implements PasswordPolicyRuleCondition
| Constructor and Description |
|---|
MinOccurrence() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
checkMinOccurrence(String password,
int requiredCount,
String setOfCharacts) |
boolean |
evaluate(List<JahiaPasswordPolicyRuleParam> parameters,
org.jahia.services.pwdpolicy.EvaluationContext ctx)
Evaluates the current condition and returns the result of the evaluation.
|
protected static boolean checkMinOccurrence(String password, int requiredCount, String setOfCharacts)
public boolean evaluate(List<JahiaPasswordPolicyRuleParam> parameters, org.jahia.services.pwdpolicy.EvaluationContext ctx)
PasswordPolicyRuleConditionevaluate in interface PasswordPolicyRuleConditionparameters - list of JahiaPasswordPolicyRuleParam objects as
condition parametersctx - the evaluation context objecttrue if the condition is matched based on the
current evaluation contextCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.