public class CmsDefaultPasswordGenerator extends java.lang.Object implements I_CmsPasswordGenerator
| Constructor and Description |
|---|
CmsDefaultPasswordGenerator() |
| Modifier and Type | Method and 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.
|
public CmsDefaultPasswordGenerator()
public static java.lang.String getRandomPWD()
public static java.lang.String getRandomPWD(int countTotal, int countCapitals, int countSpecials)
countTotal - Desired password lengthcountCapitals - minimal count of Capital letterscountSpecials - count of special charspublic java.lang.String getRandomPassword()
I_CmsPasswordGeneratorgetRandomPassword in interface I_CmsPasswordGeneratorI_CmsPasswordGenerator.getRandomPassword()public java.lang.String getRandomPassword(int countTotal, int countCapitals, int countSpecials)
countTotal - Total password lengthcountCapitals - Minimal count of capitalscountSpecials - count of special chars