it.eng.rdlab.um.ldap.user.bean
Class LdapUserModel
java.lang.Object
it.eng.rdlab.um.beans.GenericModel
it.eng.rdlab.um.user.beans.UserModel
it.eng.rdlab.um.ldap.user.bean.LdapUserModel
- All Implemented Interfaces:
- LdapModelConstants
public class LdapUserModel
- extends it.eng.rdlab.um.user.beans.UserModel
- implements LdapModelConstants
An user is an Ldap leaf with the following features:
ObjectClass at least "person" (probably with the extra fields provided by "inetOrgPerson" class
Fields unique and in string format
The fullName of an element is the DN and the id is the uuid element
The other parameters are:
-- cn (common name) - mandatory
-- sn (surname) - mandatory
- Author:
- Ciro Formisano
| Methods inherited from class it.eng.rdlab.um.user.beans.UserModel |
getFullname, getPassword, getUserId, setFullname, setPassword, setUserId |
| Methods inherited from class it.eng.rdlab.um.beans.GenericModel |
addObject, getId, getObject, getObjectMap, getStringObject, setId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_CLASS_PERSON
public static final String OBJECT_CLASS_PERSON
- See Also:
- Constant Field Values
OBJECT_CLASS_INETORGPERSON
public static final String OBJECT_CLASS_INETORGPERSON
- See Also:
- Constant Field Values
OBJECT_CLASS_ORGANIZATIONALPERSON
public static final String OBJECT_CLASS_ORGANIZATIONALPERSON
- See Also:
- Constant Field Values
COMMON_NAME
public static final String COMMON_NAME
- See Also:
- Constant Field Values
SURNAME
public static final String SURNAME
- See Also:
- Constant Field Values
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
UID
public static final String UID
- See Also:
- Constant Field Values
EMAIL
public static final String EMAIL
- See Also:
- Constant Field Values
CERTIFICATE
public static final String CERTIFICATE
- See Also:
- Constant Field Values
ENCRYPTED_PASSWORD_LABEL
public static final String ENCRYPTED_PASSWORD_LABEL
- See Also:
- Constant Field Values
LdapUserModel
public LdapUserModel()
LdapUserModel
public LdapUserModel(String uuid,
String dn,
List<String> objectClasses)
setCN
public void setCN(String cn)
setSN
public void setSN(String sn)
getCN
public String getCN()
getSN
public String getSN()
getObjectClasses
public List<String> getObjectClasses()
addObjectClass
public void addObjectClass(String objectClassName)
setEncryptedPasswordLabel
public void setEncryptedPasswordLabel()
addExtraAttribute
public void addExtraAttribute(String name,
String value)
Copyright © 2013. All Rights Reserved.