@Embeddable public class Password extends Object
Modifier | Constructor and Description |
---|---|
protected |
Password()
Deprecated.
|
|
Password(String password)
Creates a new password.
|
(package private) |
Password(String password,
boolean encrypted)
Creates a new password.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEncrypted()
Returns whether the password is encrypted.
|
String |
toString() |
@Deprecated protected Password()
public Password(String password)
password
- the password string, must not be null or empty.Password(String password, boolean encrypted)
encrypted
parameter.password
- the password string, must not be null or empty.encrypted
- whether the password is already encryptedCopyright © 2014 Pivotal Software, Inc.. All rights reserved.