Interface PasswordGenerator
- All Known Implementing Classes:
DefaultPasswordGenerator
public interface PasswordGenerator
Can be used for generating passwords.
-
Method Summary
Modifier and TypeMethodDescriptionGenerates a secure plaintext password value.
-
Method Details
-
generateSecurePassword
String generateSecurePassword()Generates a secure plaintext password value. The implementation does not store or use this value in any way.Implementations should ensure the result will pass
PasswordRequestValidator.validate(String)
.- Returns:
- a random plaintext password value
-