Class User
java.lang.Object
com.netscape.cmscore.usrgrp.User
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant for userEmailstatic final StringConstant for userFullNamestatic final StringConstant for userIdstatic final StringConstant for userNamestatic final StringConstant for userPasswordstatic final StringConstant for userScopestatic final StringConstant for userStatestatic final StringConstant for usertypestatic final StringConstant for usertypestatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanstatic UserGet certificate DNgetEmail()Gets user email address.Retrieves user full name.getName()Deprecated.Retrieves user password.getPhone()Retrieves user phonenumber.getState()Retrieves user stateGet TPS profilesRetrieves user LDAP DNRetrieves user identifier.Get user typeGets list of certificates from this userinthashCode()static voidvoidvoidSet certificate DNvoidSets user email address.voidsetFullName(String name) Sets user full name.voidsetPassword(String password) Sets user password.voidSets user phonenumbervoidSets user statevoidsetTpsProfiles(List<String> tpsProfiles) Set TPS profilesvoidSets user LDAP DN.voidvoidsetUserType(String userType) Sets user typevoidsetX509Certificates(X509Certificate[] certs) Sets list of certificates in this usertoJSON()
-
Field Details
-
ATTR_SCOPE
-
ATTR_NAME
-
ATTR_ID
-
ATTR_FULLNAME
-
ATTR_PASSWORD
-
ATTR_STATE
-
ATTR_EMAIL
-
ATTR_USERTYPE
-
ATTR_TPS_PROFILES
-
ATTR_X509_CERTIFICATES
- See Also:
-
-
Constructor Details
-
User
public User()Constructs a user. -
User
Deprecated.
-
-
Method Details
-
getTpsProfiles
-
setTpsProfiles
-
getName
Deprecated.Retrieves the name of this identity.- Returns:
- user name
-
getUserID
-
setUserID
-
getFullName
-
setFullName
-
getUserDN
-
setUserDN
-
getUserType
-
setUserType
-
getPassword
-
setPassword
Sets user password.- Parameters:
password- the given password
-
getEmail
-
setEmail
Sets user email address.- Parameters:
email- the given email address
-
getPhone
-
getState
-
setPhone
-
setState
-
getX509Certificates
Gets list of certificates from this user- Returns:
- list of certificates
-
setX509Certificates
Sets list of certificates in this user- Parameters:
certs- list of certificates
-
getCertDN
-
setCertDN
-
set
- Throws:
EBaseException
-
get
- Throws:
EBaseException
-
delete
- Throws:
EBaseException
-
getElements
-
toJSON
-
fromJSON
-
hashCode
-
equals
-
main
-