Interface LowerCasePasswordPolicy

All Superinterfaces:
PasswordPolicy
All Known Implementing Classes:
DefaultLowerCasePasswordPolicy

public interface LowerCasePasswordPolicy extends PasswordPolicy
Defines a password policy based on the required minimum number of lowercase characters.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the unique identifier of this policy, used to look up its configuration.
    default boolean
    Returns 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

  • Method Details

    • getPolicyId

      default String getPolicyId()
      Description copied from interface: PasswordPolicy
      Returns the unique identifier of this policy, used to look up its configuration. The corresponding enabled setting is user.password.<policyId>.enabled.
      Specified by:
      getPolicyId in interface PasswordPolicy
      Returns:
      the policy identifier
    • isEnabledByDefault

      default boolean isEnabledByDefault()
      Description copied from interface: PasswordPolicy
      Returns whether this policy is enabled by default when no explicit configuration is found. Policies that are opt-in should override this to return false.
      Specified by:
      isEnabledByDefault in interface PasswordPolicy
      Returns:
      true if this policy is active by default