Class AtLeastXLowercasePasswordRule

  • All Implemented Interfaces:
    PasswordRule

    public class AtLeastXLowercasePasswordRule
    extends AbstractPasswordRule
    At least X lowercase in password. User: Yohann Chastagnier Date: 07/01/13
    • Constructor Detail

      • AtLeastXLowercasePasswordRule

        public AtLeastXLowercasePasswordRule()
        Default constructor.
    • Method Detail

      • getValue

        public Integer getValue()
        Description copied from interface: PasswordRule
        Gets the value of the parameter defined in settings for the rule.
        Returns:
      • check

        public boolean check​(String password)
        Description copied from interface: PasswordRule
        Checks the given password.
        Returns:
      • random

        public String random()
        Description copied from interface: PasswordRule
        Generates a random password part according to the nature of the rule.
        Returns:
        the random part of a password