Class PasswordGenerator
java.lang.Object
io.leandev.appfuse.auth.PasswordGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionPasswordGenerator(int length) PasswordGenerator(int length, boolean allowSymbol) -
Method Summary
Modifier and TypeMethodDescriptiongenerate()intvoidsetAllowLetter(boolean allowLetter) voidsetAllowSymbol(boolean allowSymbol) voidsetLength(int length)
-
Constructor Details
-
PasswordGenerator
public PasswordGenerator() -
PasswordGenerator
public PasswordGenerator(int length) -
PasswordGenerator
public PasswordGenerator(int length, boolean allowSymbol)
-
-
Method Details
-
setLength
public void setLength(int length) -
getLength
public int getLength() -
generate
-
setAllowSymbol
public void setAllowSymbol(boolean allowSymbol) -
setAllowLetter
public void setAllowLetter(boolean allowLetter)
-