|
swingx Version 2005-08-19 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.auth.PasswordStore
public abstract class PasswordStore
PasswordStore specifies a mechanism to store passwords used to authenticate using the LoginService. The actual mechanism used to store the passwords is left up to the implementation.
Constructor Summary | |
---|---|
PasswordStore()
|
Method Summary | |
---|---|
abstract char[] |
get(String username,
String server)
Fetches the password for a given server and username |
abstract boolean |
set(String username,
String server,
char[] password)
Saves a password for future use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasswordStore()
Method Detail |
---|
public abstract boolean set(String username, String server, char[] password)
username
- username used to authenticate.server
- server used for authenticationpassword
- password to savepublic abstract char[] get(String username, String server)
username
- usernameserver
- server
|
swingx Version 2005-08-19 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |