Class BlankForbiddenPasswordRule

  • All Implemented Interfaces:
    PasswordRule

    public class BlankForbiddenPasswordRule
    extends AbstractPasswordRule
    Blank forbidden in password. User: Yohann Chastagnier Date: 07/01/13
    • Constructor Detail

      • BlankForbiddenPasswordRule

        public BlankForbiddenPasswordRule()
        Default constructor.
    • Method Detail

      • getValue

        public Boolean 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