|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.admin.users.parsers.UserInfo
public class UserInfo
This is a data class for storing the information on a user. This information is stored in the users.xml file and is manipulated via the "Users, Groups and Views" screen.
| Constructor Summary | |
|---|---|
UserInfo()
Deprecated. Default constructor, intializes the member variables. |
|
| Method Summary | |
|---|---|
Object |
clone()
Deprecated. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UserInfo()
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic 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 password
public void setUnencryptedPassword(String aPassword)
throws IllegalStateException
aPassword - the password
IllegalStateException
public static String encryptPassword(String aPassword)
throws IllegalStateException
aPassword - the password to encrypt
IllegalStateExceptionpublic boolean comparePasswords(String aPassword)
aPassword - the password to check for equality
public String getPassword()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||