|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.samskivert.servlet.user.Password
public class Password
Represents an encrypted password. Currently only used when creating user accounts.
| Field Summary | |
|---|---|
protected String |
_cleartext
|
protected String |
_encrypted
|
| Constructor Summary | |
|---|---|
protected |
Password(String cleartext,
String encrypted)
Creates a password instance. |
| Method Summary | |
|---|---|
String |
getCleartext()
Returns the clear password text. |
String |
getEncrypted()
Returns the encrypted password text. |
static Password |
makeFromClear(String password)
Creates a password instance from the supplied plaintext. |
static Password |
makeFromCrypto(String encrypted)
Creates a password instance from the supplied already encrypted text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String _cleartext
protected String _encrypted
| Constructor Detail |
|---|
protected Password(String cleartext,
String encrypted)
| Method Detail |
|---|
public String getCleartext()
public String getEncrypted()
public static Password makeFromClear(String password)
public static Password makeFromCrypto(String encrypted)
UserUtil.encryptPassword(java.lang.String).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||