Class Password.UnencryptedPassword
java.lang.Object
org.salespointframework.useraccount.Password
org.salespointframework.useraccount.Password.UnencryptedPassword
- All Implemented Interfaces:
org.jmolecules.ddd.types.ValueObject
- Enclosing class:
- Password
public static class Password.UnencryptedPassword
extends Password
implements org.jmolecules.ddd.types.ValueObject
An unencrypted password.
- Author:
- Oliver Drotbohm
-
Nested Class Summary
Nested classes/interfaces inherited from class org.salespointframework.useraccount.Password
Password.EncryptedPassword, Password.UnencryptedPassword
-
Method Summary
-
Method Details
-
of
Creates a new unencrypted password.- Parameters:
password
- must not be null or empty.- Returns:
- will never be null.
-
getLength
public int getLength()Returns the length of the password.- Returns:
- a positive integer.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-