com.elasticpath.commons.util
Interface PasswordGenerator
- All Known Implementing Classes:
- PasswordGeneratorImpl
public interface PasswordGenerator
A password generator can generate random passwords.
Field Summary |
static int |
DEFAULT_LENGTH
Minimum length for a decent password. |
Method Summary |
java.lang.String |
getPassword()
Return a random password with the default length. |
DEFAULT_LENGTH
static final int DEFAULT_LENGTH
- Minimum length for a decent password.
- See Also:
- Constant Field Values
getPassword
java.lang.String getPassword()
- Return a random password with the default length.
- Returns:
- a random password with default length.