public class PasswordPolicyLengthRuleImpl extends Object implements PasswordPolicyRule
| Modifier and Type | Field and Description |
|---|---|
static String |
placeholder |
| Constructor and Description |
|---|
PasswordPolicyLengthRuleImpl(int minLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(String password)
Checks the given password against this rule.
|
Map<String,String> |
getParameter()
Additional parameter that can be used by the front end to display a
meaningful description.
|
String |
getPlaceholder()
String that can be used by a front end to display a description of this
rule.
|
public static final String placeholder
public String getPlaceholder()
PasswordPolicyRulegetPlaceholder in interface PasswordPolicyRulepublic Map<String,String> getParameter()
PasswordPolicyRulegetParameter in interface PasswordPolicyRulepublic boolean execute(String password)
PasswordPolicyRuleexecute in interface PasswordPolicyRulepassword - the string that should be checkedtrue if the given password matches this rule.
false if the given password is not compliant with this
rule.Copyright © 2013–2019 camunda services GmbH. All rights reserved.