public abstract class LDAPGroup extends LDAPEntry
This abstract class represents an LDAP group entry. It is
subclassed by Group class.
The class provides some general LDAP methods to be performed on a group entry.
| Modifier and Type | Method and Description |
|---|---|
void |
addUniquemember(javax.naming.directory.DirContext ctx,
java.lang.String dn)
Adds the DN as a uniquemember of this group
|
java.lang.String[] |
getAllUniquemembers(javax.naming.directory.DirContext ctx)
Returns a String array of DN's of all the users who are
uniquemembers of this group.
|
boolean |
isUniquemember(javax.naming.directory.DirContext ctx,
java.lang.String memberDN)
Determines if the given DN is a uniquemember of this group
|
void |
removeUniquemember(javax.naming.directory.DirContext ctx,
java.lang.String dn)
Removes the DN as a uniquemember of this group
|
getDN, getProperties, resolve, setPropertiespublic java.lang.String[] getAllUniquemembers(javax.naming.directory.DirContext ctx)
throws UtilException
ctx - a valid DirContextUtilExceptionpublic boolean isUniquemember(javax.naming.directory.DirContext ctx,
java.lang.String memberDN)
throws UtilException
memberDN - a valid DNUtilExceptionpublic void addUniquemember(javax.naming.directory.DirContext ctx,
java.lang.String dn)
throws UtilException
ctx - a valid DirContextdn - the DN representing the object to be addedUtilExceptionpublic void removeUniquemember(javax.naming.directory.DirContext ctx,
java.lang.String dn)
throws UtilException
ctx - a valid DirContextdn - the DN representing the object to be addedUtilException