Interface PasswordRule

    • Method Detail

      • isRequired

        boolean isRequired()
        Indicates if the rule is required.
        Returns:
      • isCombined

        boolean isCombined()
        Indicates if the rule is combined one.
        Returns:
      • getValue

        <T> T getValue()
        Gets the value of the parameter defined in settings for the rule.
        Type Parameters:
        T -
        Returns:
      • random

        String random()
        Generates a random password part according to the nature of the rule.
        Returns:
        the random part of a password
      • check

        boolean check​(String password)
        Checks the given password.
        Returns:
      • getDescription

        String getDescription​(String language)
        Gets the description of the rule according to a language.
        Parameters:
        language -
        Returns: