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_PUBKEY |
static int |
MAP_CERT_BY_SUBJECT |
CANNOT_CHANGE_PASSWORD, CHANGE_PASSWORD, customAttributes, DELETED, description, DISABLED, flags, guid, id, INTRUDER_LOCKOUT, MODIFIED, name, PASSWORD_NEVER_EXPIRES, systemRights
Constructor and Description |
---|
User(NXCPMessage msg)
Create user object from NXCP message
|
User(java.lang.String name)
Default constructor
|
User(User src)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
fillMessage(NXCPMessage msg)
Fill NXCP message with object data
|
int |
getAuthFailures() |
int |
getAuthMethod() |
java.lang.String |
getCertMappingData() |
int |
getCertMappingMethod() |
java.util.Date |
getDisabledUntil() |
java.lang.String |
getFullName() |
java.util.Date |
getLastLogin() |
java.util.Date |
getLastPasswordChange() |
int |
getMinPasswordLength() |
void |
setAuthMethod(int authMethod) |
void |
setCertMappingData(java.lang.String certMappingData) |
void |
setCertMappingMethod(int certMappingMethod) |
void |
setDisabledUntil(java.util.Date disabledUntil) |
void |
setFullName(java.lang.String fullName) |
void |
setMinPasswordLength(int minPasswordLength) |
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 User(java.lang.String name)
public User(User src)
public User(NXCPMessage msg)
public void fillMessage(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 java.lang.String getCertMappingData()
public void setCertMappingData(java.lang.String certMappingData)
certMappingData
- the certMappingData to setpublic java.lang.String getFullName()
public void setFullName(java.lang.String fullName)
fullName
- the fullName to setpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractUserObject
java.lang.CloneNotSupportedException
public int getMinPasswordLength()
public void setMinPasswordLength(int minPasswordLength)
minPasswordLength
- the minPasswordLength to setpublic java.util.Date getDisabledUntil()
public void setDisabledUntil(java.util.Date disabledUntil)
disabledUntil
- the disabledUntil to setpublic java.util.Date getLastLogin()
public java.util.Date getLastPasswordChange()
public int getAuthFailures()
Copyright © 2013. All Rights Reserved.