Package com.netscape.cmscore.usrgrp
Class User
java.lang.Object
com.netscape.cmscore.usrgrp.User
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Constant for userEmailstatic final String
Constant for userFullNamestatic final String
Constant for userIdstatic final String
Constant for userNamestatic final String
Constant for userPasswordstatic final String
Constant for userScopestatic final String
Constant for userStatestatic final String
Constant for usertypestatic final String
Constant for usertypestatic final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
static User
Get 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 userint
hashCode()
static void
void
void
Set certificate DNvoid
Sets user email address.void
setFullName
(String name) Sets user full name.void
setPassword
(String password) Sets user password.void
Sets user phonenumbervoid
Sets user statevoid
setTpsProfiles
(List<String> tpsProfiles) Set TPS profilesvoid
Sets user LDAP DN.void
void
setUserType
(String userType) Sets user typevoid
setX509Certificates
(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
-