Package org.netxms.client.users
Class User
- java.lang.Object
-
- org.netxms.client.users.AbstractUserObject
-
- org.netxms.client.users.User
-
public class User extends AbstractUserObject
NetXMS user object
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTH_CERTIFICATEstatic intAUTH_CERTIFICATE_OR_PASSWORDstatic intAUTH_CERTIFICATE_OR_RADIUSstatic intAUTH_NETXMS_PASSWORDstatic intAUTH_RADIUSstatic intMAP_CERT_BY_CNstatic intMAP_CERT_BY_PUBKEYstatic intMAP_CERT_BY_SUBJECT-
Fields inherited from class org.netxms.client.users.AbstractUserObject
CANNOT_CHANGE_PASSWORD, CHANGE_PASSWORD, CLOSE_OTHER_SESSIONS, customAttributes, DELETED, description, DISABLED, flags, guid, id, INTRUDER_LOCKOUT, LDAP_USER, ldapDn, ldapId, 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, type, USERDB_TYPE_GROUP, USERDB_TYPE_USER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()voidfillMessage(org.netxms.base.NXCPMessage msg)Fill NXCP message with object dataintgetAuthFailures()intgetAuthMethod()StringgetCertMappingData()intgetCertMappingMethod()DategetDisabledUntil()StringgetFullName()long[]getGroups()DategetLastLogin()DategetLastPasswordChange()intgetMinPasswordLength()StringgetXmppId()voidsetAuthMethod(int authMethod)voidsetCertMappingData(String certMappingData)voidsetCertMappingMethod(int certMappingMethod)voidsetDisabledUntil(Date disabledUntil)voidsetFullName(String fullName)voidsetGroups(long[] groups)voidsetMinPasswordLength(int minPasswordLength)voidsetXmppId(String xmppId)-
Methods inherited from class org.netxms.client.users.AbstractUserObject
getCreationTime, getCustomAttribute, getDescription, getFlags, getGuid, getId, getLdapDn, getLdapId, getName, getSystemRights, isDeleted, isDisabled, isPasswordChangeForbidden, isPasswordChangeNeeded, setCustomAttribute, setDescription, setFlags, setId, setName, setSystemRights
-
-
-
-
Field Detail
-
AUTH_NETXMS_PASSWORD
public static final int AUTH_NETXMS_PASSWORD
- See Also:
- Constant Field Values
-
AUTH_RADIUS
public static final int AUTH_RADIUS
- See Also:
- Constant Field Values
-
AUTH_CERTIFICATE
public static final int AUTH_CERTIFICATE
- See Also:
- Constant Field Values
-
AUTH_CERTIFICATE_OR_PASSWORD
public static final int AUTH_CERTIFICATE_OR_PASSWORD
- See Also:
- Constant Field Values
-
AUTH_CERTIFICATE_OR_RADIUS
public static final int AUTH_CERTIFICATE_OR_RADIUS
- See Also:
- Constant Field Values
-
MAP_CERT_BY_SUBJECT
public static final int MAP_CERT_BY_SUBJECT
- See Also:
- Constant Field Values
-
MAP_CERT_BY_PUBKEY
public static final int MAP_CERT_BY_PUBKEY
- See Also:
- Constant Field Values
-
MAP_CERT_BY_CN
public static final int MAP_CERT_BY_CN
- See Also:
- Constant Field Values
-
-
Method Detail
-
fillMessage
public void fillMessage(org.netxms.base.NXCPMessage msg)
Fill NXCP message with object data- Overrides:
fillMessagein classAbstractUserObject- Parameters:
msg- NXCP message
-
getAuthMethod
public int getAuthMethod()
- Returns:
- the authMethod
-
setAuthMethod
public void setAuthMethod(int authMethod)
- Parameters:
authMethod- the authMethod to set
-
getCertMappingMethod
public int getCertMappingMethod()
- Returns:
- the certMappingMethod
-
setCertMappingMethod
public void setCertMappingMethod(int certMappingMethod)
- Parameters:
certMappingMethod- the certMappingMethod to set
-
getCertMappingData
public String getCertMappingData()
- Returns:
- the certMappingData
-
setCertMappingData
public void setCertMappingData(String certMappingData)
- Parameters:
certMappingData- the certMappingData to set
-
getFullName
public String getFullName()
- Returns:
- the fullName
-
setFullName
public void setFullName(String fullName)
- Parameters:
fullName- the fullName to set
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clonein classAbstractUserObject- Throws:
CloneNotSupportedException
-
getMinPasswordLength
public int getMinPasswordLength()
- Returns:
- the minPasswordLength
-
setMinPasswordLength
public void setMinPasswordLength(int minPasswordLength)
- Parameters:
minPasswordLength- the minPasswordLength to set
-
getDisabledUntil
public Date getDisabledUntil()
- Returns:
- the disabledUntil
-
setDisabledUntil
public void setDisabledUntil(Date disabledUntil)
- Parameters:
disabledUntil- the disabledUntil to set
-
getLastLogin
public Date getLastLogin()
- Returns:
- the lastLogin
-
getLastPasswordChange
public Date getLastPasswordChange()
- Returns:
- the lastPasswordChange
-
getAuthFailures
public int getAuthFailures()
- Returns:
- the authFailures
-
getXmppId
public String getXmppId()
- Returns:
- the xmppId
-
setXmppId
public void setXmppId(String xmppId)
- Parameters:
xmppId- the xmppId to set
-
getGroups
public long[] getGroups()
- Returns:
- the groups
-
setGroups
public void setGroups(long[] groups)
- Parameters:
groups- the groups to set
-
-