Class JXLoginPane.NullPasswordStore
java.lang.Object
org.jdesktop.swingx.auth.PasswordStore
org.jdesktop.swingx.JXLoginPane.NullPasswordStore
- Enclosing class:
JXLoginPane
Simple PasswordStore that does not remember passwords
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchar[]Fetches the password for a given server and username.inthashCode()voidremoveUserPassword(String username) This should attempt to remove the given username from the password store, as well as any associated password.booleanSaves a password for future use.
-
Constructor Details
-
NullPasswordStore
private NullPasswordStore()
-
-
Method Details
-
set
Description copied from class:PasswordStoreSaves a password for future use.- Specified by:
setin classPasswordStore- Parameters:
username- username used to authenticate.server- server used for authenticationpassword- password to save. Password can't be null. Use empty array for empty password.
-
get
Description copied from class:PasswordStoreFetches the password for a given server and username.- Specified by:
getin classPasswordStore- Parameters:
username- usernameserver- server- Returns:
nullif not found, a character array representing the password otherwise. Returned array can be empty if the password is empty.
-
removeUserPassword
Description copied from class:PasswordStoreThis should attempt to remove the given username from the password store, as well as any associated password.- Specified by:
removeUserPasswordin classPasswordStore- Parameters:
username- The username to remove
-
equals
-
hashCode
-