Class PasswordPolicySpecialCharacterRuleImpl
java.lang.Object
org.camunda.bpm.engine.impl.identity.PasswordPolicySpecialCharacterRuleImpl
- All Implemented Interfaces:
PasswordPolicyRule
- Author:
- Miklas Boskamp
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks the given password against this rule.Additional parameter that can be used to display a meaningful description.Placeholder string that can be used to display a description of this rule.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.identity.PasswordPolicyRule
execute
-
Field Details
-
SPECIALCHARACTERS
- See Also:
-
PLACEHOLDER
- See Also:
-
minSpecial
protected int minSpecial
-
-
Constructor Details
-
PasswordPolicySpecialCharacterRuleImpl
public PasswordPolicySpecialCharacterRuleImpl(int minSpecial)
-
-
Method Details
-
getPlaceholder
Description copied from interface:PasswordPolicyRulePlaceholder string that can be used to display a description of this rule. The actual description text must be managed on the calling side.- Specified by:
getPlaceholderin interfacePasswordPolicyRule- Returns:
- the placeholder for the description text.
-
getParameters
Description copied from interface:PasswordPolicyRuleAdditional parameter that can be used to display a meaningful description.- Specified by:
getParametersin interfacePasswordPolicyRule- Returns:
- a map of parameters
-
execute
Description copied from interface:PasswordPolicyRuleChecks the given password against this rule.Heads-up: The return value is not respected when
PasswordPolicyRule.execute(String, User)is implemented.- Specified by:
executein interfacePasswordPolicyRule- Parameters:
password- which is checked against a password policy- Returns:
trueif the given password matches this rule.falseif the given password is not compliant with this rule.
-