Package com.axelor.auth.password.policy
Interface DigitsPasswordPolicy
- All Superinterfaces:
PasswordPolicy
- All Known Implementing Classes:
DefaultDigitsPasswordPolicy
Defines a password policy based on the required minimum number of digit characters.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the unique identifier of this policy, used to look up its configuration.default booleanReturns whether this policy is enabled by default when no explicit configuration is found.Methods inherited from interface com.axelor.auth.password.PasswordPolicy
getDescription, isMandatory, validate
-
Field Details
-
ID
- See Also:
-
-
Method Details
-
getPolicyId
Description copied from interface:PasswordPolicyReturns the unique identifier of this policy, used to look up its configuration. The corresponding enabled setting isuser.password.<policyId>.enabled.- Specified by:
getPolicyIdin interfacePasswordPolicy- Returns:
- the policy identifier
-
isEnabledByDefault
default boolean isEnabledByDefault()Description copied from interface:PasswordPolicyReturns whether this policy is enabled by default when no explicit configuration is found. Policies that are opt-in should override this to returnfalse.- Specified by:
isEnabledByDefaultin interfacePasswordPolicy- Returns:
trueif this policy is active by default
-