public class UserCredentials
extends java.lang.Object
Constructor and Description |
---|
UserCredentials() |
Modifier and Type | Method and Description |
---|---|
char[] |
getPassword()
Returns a password associated with this set of credentials.
|
java.lang.String |
getPasswordAsString()
Returns a String containing the password associated with this set of
credentials.
|
java.lang.String |
getUserName()
Returns the name of the user that these credentials relate to.
|
boolean |
isPasswordPersistent()
Determines whether or not the password associated with this credentials
object is to be stored persistently (insecure!) or not.
|
void |
setPassword(char[] passwd)
Sets a password associated with this set of credentials.
|
void |
setPasswordPersistent(boolean storePassword)
Specifies whether or not the password associated with this credentials
object is to be stored persistently (insecure!) or not.
|
void |
setUserName(java.lang.String userName)
Sets the name of the user that these credentials relate to.
|
public void setUserName(java.lang.String userName)
userName
- the name of the user that these credentials relate to.public java.lang.String getUserName()
public void setPassword(char[] passwd)
passwd
- the password associated with this set of credentials.public char[] getPassword()
public java.lang.String getPasswordAsString()
public void setPasswordPersistent(boolean storePassword)
storePassword
- indicates whether passwords contained by this
credentials object are to be stored persistently.public boolean isPasswordPersistent()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.