Class CmsDefaultPasswordGenerator

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRandomPassword()
      Returns random password.
      java.lang.String getRandomPassword​(int countTotal, int countCapitals, int countSpecials)
      Generates a random password.
      static java.lang.String getRandomPWD()
      Get a random password.
      static java.lang.String getRandomPWD​(int countTotal, int countCapitals, int countSpecials)
      Get a random password.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRandomPWD

        public static java.lang.String getRandomPWD()
        Get a random password.

        Returns:
        random password
      • getRandomPWD

        public static java.lang.String getRandomPWD​(int countTotal,
                                                    int countCapitals,
                                                    int countSpecials)
        Get a random password.

        Parameters:
        countTotal - Desired password length
        countCapitals - minimal count of Capital letters
        countSpecials - count of special chars
        Returns:
        random password
      • getRandomPassword

        public java.lang.String getRandomPassword​(int countTotal,
                                                  int countCapitals,
                                                  int countSpecials)
        Generates a random password.

        Parameters:
        countTotal - Total password length
        countCapitals - Minimal count of capitals
        countSpecials - count of special chars
        Returns:
        random password