it.eng.rdlab.um.ldap.group.bean
Class LdapGroupModel
java.lang.Object
it.eng.rdlab.um.beans.GenericModel
it.eng.rdlab.um.group.beans.GroupModel
it.eng.rdlab.um.ldap.group.bean.LdapGroupModel
- All Implemented Interfaces:
- LdapModelConstants
public class LdapGroupModel
- extends it.eng.rdlab.um.group.beans.GroupModel
- implements LdapModelConstants
An group is an Ldap leaf with the following features:
ObjectClass at least "posixGroup" or "groupOfNames" or "groupOfUniqueNames"
The id of the group is the DN and the common name (CN) is mandatory
Specific classes are implemented for posixGroup, groupOfNames and groupOfUniqueNames
- Author:
- Ciro Formisano
| Methods inherited from class it.eng.rdlab.um.group.beans.GroupModel |
getDescription, getGroupId, getGroupName, getParentGroupId, setDescription, setGroupId, setGroupName, setParentGroupId |
| 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_GROUP
public static final String OBJECT_CLASS_GROUP
- See Also:
- Constant Field Values
MEMBERS_DN
public static final String MEMBERS_DN
- See Also:
- Constant Field Values
GROUP_CN
public static final String GROUP_CN
- See Also:
- Constant Field Values
DESCRIPTION
public static final String DESCRIPTION
- See Also:
- Constant Field Values
ROLE
public static final String ROLE
- See Also:
- Constant Field Values
LdapGroupModel
public LdapGroupModel()
LdapGroupModel
public LdapGroupModel(it.eng.rdlab.um.group.beans.GroupModel groupModel)
LdapGroupModel
public LdapGroupModel(String groupDN,
String groupCN,
String description,
List<String> objectClasses)
setDN
public void setDN(String groupDN)
getDN
public String getDN()
getRole
public static String getRole()
setRole
public void setRole(String role)
getObjectClasses
public List<String> getObjectClasses()
addObjectClass
public void addObjectClass(String objectClassName)
addMemberDN
public void addMemberDN(String memberDn)
getMemberDNS
public List<String> getMemberDNS()
addExtraAttribute
public void addExtraAttribute(String name,
String value)
Copyright © 2013. All Rights Reserved.