public class UserInfo extends Object implements Cloneable
| Constructor and Description |
|---|
UserInfo()
Deprecated.
Default constructor, intializes the member variables.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Deprecated.
clone
|
boolean |
comparePasswords(String aPassword)
Deprecated.
This method compares two encrypted strings for equality
|
static String |
encryptPassword(String aPassword)
Deprecated.
This method encrypts the password using MD5 hashing.
|
String |
getFullName()
Deprecated.
Returns the full name of this user
|
NotificationInfo |
getNotificationInfo()
Deprecated.
Returns the notification information for this user
|
String |
getPassword()
Deprecated.
Returns the password for this user
|
String |
getUserComments()
Deprecated.
Returns the user comments for this user
|
String |
getUserId()
Deprecated.
Returns the user id for this user
|
void |
setEncryptedPassword(String aPassword)
Deprecated.
Sets the password for this user, assuming that the value passed in is
already encrypted properly
|
void |
setFullName(String aFullName)
Deprecated.
Sets the full name for this user
|
void |
setNotificationInfo(NotificationInfo someInfo)
Deprecated.
Sets the notificaton information for this user
|
void |
setUnencryptedPassword(String aPassword)
Deprecated.
Sets the password for this user, first encrypting it
|
void |
setUserComments(String someUserComments)
Deprecated.
Sets the user comments for this user
|
void |
setUserId(String aUserId)
Deprecated.
Sets the user id for this user
|
String |
toString()
Deprecated.
Returns a String representation of the user info, used primarily for
debugging purposes.
|
public UserInfo()
public Object clone()
clone
public NotificationInfo getNotificationInfo()
public void setNotificationInfo(NotificationInfo someInfo)
someInfo - the notification infopublic void setUserId(String aUserId)
aUserId - the user idpublic String getUserId()
public void setFullName(String aFullName)
aFullName - the full namepublic String getFullName()
public void setUserComments(String someUserComments)
someUserComments - the user commentspublic String getUserComments()
public void setEncryptedPassword(String aPassword)
aPassword - the encrypted passwordpublic void setUnencryptedPassword(String aPassword) throws IllegalStateException
aPassword - the passwordIllegalStateException - if any.public static String encryptPassword(String aPassword) throws IllegalStateException
aPassword - the password to encryptIllegalStateException - if any.public boolean comparePasswords(String aPassword)
aPassword - the password to check for equalitypublic String getPassword()
Copyright © 2022. All rights reserved.