|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.auth.PasswordStore
com.ehsbe.commons.gui.util.PreferencePasswordStore
public class PreferencePasswordStore
A simple alternative to store passwords. This is a very trivial store and the password is easy to decrypt. So usually one should avoid using this store for password storing. However, since people do not want always to type in there password, no matter, what security impact it has, this class is provided for customer satisfaction ...
| Constructor Summary | |
|---|---|
PreferencePasswordStore()
Default constructor. |
|
| Method Summary | |
|---|---|
char[] |
get(String username,
String server)
|
Class<?> |
getAppClassForPreferences()
|
void |
removeUserPassword(String username)
|
boolean |
set(String username,
String server,
char[] password)
|
void |
setAppClassForPreferences(Class<?> appClassForPreferences)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreferencePasswordStore()
| Method Detail |
|---|
public boolean set(String username,
String server,
char[] password)
set in class org.jdesktop.swingx.auth.PasswordStore
public char[] get(String username,
String server)
get in class org.jdesktop.swingx.auth.PasswordStorepublic Class<?> getAppClassForPreferences()
public void setAppClassForPreferences(Class<?> appClassForPreferences)
appClassForPreferences - The appNameForPreferences to set.public void removeUserPassword(String username)
removeUserPassword in class org.jdesktop.swingx.auth.PasswordStore
|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||