Class PasswordPolicyUserDataRuleImpl
java.lang.Object
org.operaton.bpm.engine.impl.identity.PasswordPolicyUserDataRuleImpl
- All Implemented Interfaces:
PasswordPolicyRule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks the given password against this rule.booleanChecks the given password and the user against this rule.Placeholder string that can be used to display a description of this rule.booleanisNotBlank(String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.operaton.bpm.engine.identity.PasswordPolicyRule
getParameters
-
Field Details
-
PLACEHOLDER
- See Also:
-
-
Constructor Details
-
PasswordPolicyUserDataRuleImpl
public PasswordPolicyUserDataRuleImpl()
-
-
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.
-
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.
-
execute
Description copied from interface:PasswordPolicyRuleChecks the given password and the user against this rule.- Specified by:
executein interfacePasswordPolicyRule- Parameters:
candidatePassword- which is checked against a password policyuser- to be taken into account when checking the candidate password. Can benullwhenIdentityService.checkPassword(String, String)is called.- Returns:
trueif the given password matches this rule.falseif the given password is not compliant with this rule.
-
upperCase
-
isNotBlank
-