|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.security.UserProperties
This class represents a user in MDM. A user can belong to one or more roles.
RoleProperties| Field Summary | |
static UserId |
ADMINISTRATOR_USER_ID
The administrator user Id. |
| Constructor Summary | |
UserProperties()
|
|
UserProperties(UserProperties other)
Copy c'tor. |
|
| Method Summary | |
Object |
clone()
|
boolean |
equals(Object obj)
|
String |
getDescription()
Returns the description for the user. |
String[] |
getEmails()
Returns the list of email addresses for the user. |
int |
getFailedPasswordAttempts()
Returns the number of failed password attempts. |
String |
getFullName()
Returns the full name for the user. |
UserId |
getId()
Returns the user ID. |
String |
getName()
Returns the user name. |
String |
getPassword()
Returns the user password. |
RoleId[] |
getRoleIds()
Returns the list of roles the user belongs to. |
int |
hashCode()
|
boolean |
isLocked()
Returns true if the user account is locked, otherwise false. |
boolean |
isLoggedIn()
Deprecated. This information is not correctly returned by the server when LDAP is used. It had been changed to always return false. |
boolean |
isPassword()
For internal use only. |
boolean |
isPasswordChangeRequired()
Returns true if the user requires to change the password as
soon as the user logs in, otherwise false. |
boolean |
isPasswordNeverExpires()
Returns true if the password will never expire, otherwise
false. |
void |
setDescription(String description)
Sets the description for the user. |
void |
setEmails(String[] emails)
Sets the list of email addresses for the user. |
void |
setFailedPasswordAttempts(int failedPasswordAttempts)
Sets the number of failed password attempts before the account is locked. |
void |
setFullName(String fullName)
Sets the full name for the user. |
void |
setId(UserId id)
Sets the user ID. |
void |
setLocked(boolean locked)
Sets whether the user account is locked or not. |
void |
setLoggedIn(boolean isLoggedIn)
Deprecated. see isLoggedIn() |
void |
setName(String name)
Sets the user name. |
void |
setPassword(String password)
Sets the user password. |
void |
setPasswordChangeRequired(boolean passwordChangeRequired)
Sets whether a user requires to change the password as soon as the user logs in. |
void |
setPasswordNeverExpires(boolean passwordNeverExpires)
Sets whether the password will expire or not. |
void |
setRoleIds(RoleId[] roleIds)
Sets the list of roles the user belongs to. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final UserId ADMINISTRATOR_USER_ID
| Constructor Detail |
public UserProperties()
public UserProperties(UserProperties other)
UserProperties object.
other - Object to copy| Method Detail |
public String getDescription()
public void setDescription(String description)
description - The description to set.public String[] getEmails()
public void setEmails(String[] emails)
emails - The emails to set.public String getFullName()
public void setFullName(String fullName)
fullName - The full name to set.public UserId getId()
public void setId(UserId id)
Note: The UserProperties.setId and
UserProperties.setName should always be set to meaningful values
when this data structure is use for modifying a user or for deleting a user.
id - The id to set.public boolean isLoggedIn()
false.
GetRepositoryLoginListCommandpublic void setLoggedIn(boolean isLoggedIn)
isLoggedIn()
isLoggedIn - whether the user is logged in.public String getName()
public void setName(String name)
Note: The UserProperties.setId and
UserProperties.setName should always be set to meaningful values
when this data structure is use for modifying a user or for deleting a user.
name - The name to set.public RoleId[] getRoleIds()
public void setRoleIds(RoleId[] roleIds)
roleIds - The roleIds to set.public String getPassword()
public void setPassword(String password)
password - The password to set.public boolean isPassword()
public int hashCode()
public boolean equals(Object obj)
public String toString()
public int getFailedPasswordAttempts()
public void setFailedPasswordAttempts(int failedPasswordAttempts)
failedPasswordAttempts - the number of failed password attemptspublic boolean isLocked()
true if the user account is locked, otherwise false. An account lock is
temporary and is automatically unlocked after some amount of time.
true if the user account is locked, otherwise falsepublic void setLocked(boolean locked)
Note: This method can be use to unlock an account. It cannot be use to lock an account though.
locked - true if the user account is locked, otherwise falsepublic boolean isPasswordChangeRequired()
true if the user requires to change the password as
soon as the user logs in, otherwise false.
true if the user needs to change the password as
soon as the user logs in, otherwise falsepublic void setPasswordChangeRequired(boolean passwordChangeRequired)
passwordChangeRequired - public boolean isPasswordNeverExpires()
true if the password will never expire, otherwise
false.
true if the password will never expire, otherwise
falsepublic void setPasswordNeverExpires(boolean passwordNeverExpires)
passwordNeverExpires - true if the password will never expire,
otherwise falsepublic Object clone()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.