|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sshtools.ui.swing.PasswordPair
public class PasswordPair
PasswordPair pairs a PasswordKey with the actual password
| Constructor Summary | |
|---|---|
PasswordPair(PasswordKey key,
java.lang.String userPassword,
boolean persistant,
boolean encrypted)
Creates a new PasswordPair object. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
PasswordKey |
getKey()
Get the key for the password pair |
java.lang.String |
getUserPassword()
Get the password for the password pair |
boolean |
isEncrypted()
Get whether the password pair is encrypted |
boolean |
isPersistant()
Get whether the password pair should be saved permanently. |
void |
setEncrypted(boolean encrypted)
Set whether the password pair is encrypted |
void |
setKey(PasswordKey key)
Set the key for this password pair |
void |
setPersistant(boolean persistant)
Set whether the password pair should be saved permanently. |
void |
setUserPassword(java.lang.String userPassword)
Set the password for the password pair |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordPair(PasswordKey key,
java.lang.String userPassword,
boolean persistant,
boolean encrypted)
key - keyuserPassword - passwordpersistant - save the password permanently| Method Detail |
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic void setKey(PasswordKey key)
key - keypublic PasswordKey getKey()
public void setUserPassword(java.lang.String userPassword)
userPassword - passwordpublic java.lang.String getUserPassword()
public void setPersistant(boolean persistant)
persistant - save password permanentlypublic boolean isPersistant()
public void setEncrypted(boolean encrypted)
encrypted - encryptedpublic boolean isEncrypted()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||