Class PasswordRandomizer

All Implemented Interfaces:
Randomizer<String>

public class PasswordRandomizer extends FakerBasedRandomizer<String>
A Randomizer that generates random passwords.
Author:
https://github.com/JJ1216
  • Constructor Details

    • PasswordRandomizer

      public PasswordRandomizer()
      Create a new PasswordRandomizer.
    • PasswordRandomizer

      public PasswordRandomizer(long seed)
      Create a new PasswordRandomizer.
      Parameters:
      seed - the initial seed
    • PasswordRandomizer

      public PasswordRandomizer(long seed, Locale locale)
      Create a new PasswordRandomizer.
      Parameters:
      seed - the initial seed
      locale - the locale to use
    • PasswordRandomizer

      public PasswordRandomizer(long seed, int min, int max)
      Create a new PasswordRandomizer.
      Parameters:
      seed - the initial seed
      min - the minimum number of characters of passwords
      max - the maximum number of characters of passwords
    • PasswordRandomizer

      public PasswordRandomizer(long seed, int min, int max, boolean includeUppercase)
      Create a new PasswordRandomizer.
      Parameters:
      seed - the initial seed
      min - the minimum number of characters of passwords
      max - the maximum number of characters of passwords
      includeUppercase - true to generate passwords containing Uppercase Characters, false otherwise
    • PasswordRandomizer

      public PasswordRandomizer(long seed, int min, int max, boolean includeUppercase, boolean includeSpecial)
      Create a new PasswordRandomizer.
      Parameters:
      seed - the initial seed
      min - the minimum number of characters of passwords
      max - the maximum number of characters of passwords
      includeUppercase - true to generate passwords containing Uppercase Characters , false otherwise
      includeSpecial - true to generate passwords containing Special Characters, false otherwise
  • Method Details

    • getRandomValue

      public String getRandomValue()