Class SecureRandomPasswordGenerator
java.lang.Object
dev.getelements.elements.security.SecureRandomPasswordGenerator
- All Implemented Interfaces:
PasswordGenerator
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecureRandomPasswordGenerator
public SecureRandomPasswordGenerator()
-
-
Method Details
-
generate
Description copied from interface:PasswordGenerator
Generates the password and returns it.- Specified by:
generate
in interfacePasswordGenerator
- Returns:
- the password
-
getLength
public int getLength() -
setLength
@Inject public void setLength(@Named("dev.getelements.elements.mock.generated.password.length") int length)
-