Class AtLeastXUppercasePasswordRule

  • All Implemented Interfaces:
    PasswordRule

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

      • AtLeastXUppercasePasswordRule

        public AtLeastXUppercasePasswordRule()
        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