public class User extends AbstractUserObject
Modifier and Type | Field and Description |
---|---|
static int |
AUTH_CERTIFICATE |
static int |
AUTH_CERTIFICATE_OR_PASSWORD |
static int |
AUTH_CERTIFICATE_OR_RADIUS |
static int |
AUTH_NETXMS_PASSWORD |
static int |
AUTH_RADIUS |
static int |
MAP_CERT_BY_CN |
static int |
MAP_CERT_BY_PUBKEY |
static int |
MAP_CERT_BY_SUBJECT |
CANNOT_CHANGE_PASSWORD, CHANGE_PASSWORD, CLOSE_OTHER_SESSIONS, customAttributes, DELETED, description, DISABLED, flags, guid, id, INTRUDER_LOCKOUT, LDAP_USER, MODIFIED, MODIFY_ACCESS_RIGHTS, MODIFY_AUTH_METHOD, MODIFY_CERT_MAPPING, MODIFY_CUSTOM_ATTRIBUTES, MODIFY_DESCRIPTION, MODIFY_FLAGS, MODIFY_FULL_NAME, MODIFY_GROUP_MEMBERSHIP, MODIFY_LOGIN_NAME, MODIFY_MEMBERS, MODIFY_PASSWD_LENGTH, MODIFY_TEMP_DISABLE, MODIFY_XMPP_ID, name, PASSWORD_NEVER_EXPIRES, SYNC_EXCEPTION, systemRights
Constructor and Description |
---|
User(org.netxms.base.NXCPMessage msg)
Create user object from NXCP message
|
User(String name)
Default constructor
|
User(User src)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
fillMessage(org.netxms.base.NXCPMessage msg)
Fill NXCP message with object data
|
int |
getAuthFailures() |
int |
getAuthMethod() |
String |
getCertMappingData() |
int |
getCertMappingMethod() |
Date |
getDisabledUntil() |
String |
getFullName() |
long[] |
getGroups() |
Date |
getLastLogin() |
Date |
getLastPasswordChange() |
int |
getMinPasswordLength() |
String |
getXmppId() |
void |
setAuthMethod(int authMethod) |
void |
setCertMappingData(String certMappingData) |
void |
setCertMappingMethod(int certMappingMethod) |
void |
setDisabledUntil(Date disabledUntil) |
void |
setFullName(String fullName) |
void |
setGroups(long[] groups) |
void |
setMinPasswordLength(int minPasswordLength) |
void |
setXmppId(String xmppId) |
getCustomAttribute, getDescription, getFlags, getGuid, getId, getName, getSystemRights, isDeleted, isDisabled, isPasswordChangeForbidden, isPasswordChangeNeeded, setCustomAttribute, setDescription, setFlags, setId, setName, setSystemRights
public static final int AUTH_NETXMS_PASSWORD
public static final int AUTH_RADIUS
public static final int AUTH_CERTIFICATE
public static final int AUTH_CERTIFICATE_OR_PASSWORD
public static final int AUTH_CERTIFICATE_OR_RADIUS
public static final int MAP_CERT_BY_SUBJECT
public static final int MAP_CERT_BY_PUBKEY
public static final int MAP_CERT_BY_CN
public User(String name)
public User(User src)
public User(org.netxms.base.NXCPMessage msg)
public void fillMessage(org.netxms.base.NXCPMessage msg)
fillMessage
in class AbstractUserObject
public int getAuthMethod()
public void setAuthMethod(int authMethod)
authMethod
- the authMethod to setpublic int getCertMappingMethod()
public void setCertMappingMethod(int certMappingMethod)
certMappingMethod
- the certMappingMethod to setpublic String getCertMappingData()
public void setCertMappingData(String certMappingData)
certMappingData
- the certMappingData to setpublic String getFullName()
public void setFullName(String fullName)
fullName
- the fullName to setpublic Object clone() throws CloneNotSupportedException
clone
in class AbstractUserObject
CloneNotSupportedException
public int getMinPasswordLength()
public void setMinPasswordLength(int minPasswordLength)
minPasswordLength
- the minPasswordLength to setpublic Date getDisabledUntil()
public void setDisabledUntil(Date disabledUntil)
disabledUntil
- the disabledUntil to setpublic Date getLastLogin()
public Date getLastPasswordChange()
public int getAuthFailures()
public String getXmppId()
public void setXmppId(String xmppId)
xmppId
- the xmppId to setpublic long[] getGroups()
public void setGroups(long[] groups)
groups
- the groups to setCopyright © 2016. All rights reserved.