aclColumn, CLASS_, CLOSE_PAREN, comma, correlation, dot, idColumn, nameColumn, OPEN_PAREN, passwordColumn, queryAll, urlValueColumn, usernameColumn, valueColumn, whereAll| Constructor and Description |
|---|
PluginDir(ICS ics) |
PluginDir(ICS ics,
boolean bEditAttributes) |
PluginDir(ICS ics,
IDir idir) |
PluginDir(ICS ics,
IDir dir,
boolean bEditAttributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttrs(ICS ics,
IName dn,
Attributes attributes)
Add attributes to an existing entry.
|
void |
addGroupMember(ICS ics,
IName group,
IName member)
Add a user to a group.
|
Collection |
andSearch(ICS ics,
Attributes matchingAttributes)
Simple search returns all entries with matching attributes
(AND); searches under Properties.baseDN
|
Collection |
andSearch(ICS ics,
IName parent,
Attributes matchingAttributes)
Simple search returns all entries with matching attributes
(AND)
|
void |
create(ICS ics,
IName entry,
Attributes attributes)
Create an object.
|
void |
delete(ICS ics,
IName dn)
Delete the specified entry.
|
void |
deleteAttrs(ICS ics,
IName dn,
Attributes attributes)
Delete the specified attributes from the specified entry.
|
Attributes |
getAttrs(ICS ics,
IName dn,
String[] attrIds)
Retrieve the specified attributes from the specified entry.
|
Collection |
groupMembers(ICS ics,
IName group)
List all direct members (users and groups) of the specified group
|
Collection |
groupMemberships(ICS ics,
IName dn)
List all groups to which the specified entry directly belongs.
|
protected String |
INameToPluginID(ICS ics,
IName dn) |
Collection |
listUsers(ICS ics)
Lists all users (descendants of Properties.peopleParent)
|
Collection |
orSearch(ICS ics,
Attributes matchingAttributes)
Simple search returns all entries with attributes matching any of
those specified (OR); searches under Properties.baseDN
|
Collection |
orSearch(ICS ics,
IName parent,
Attributes matchingAttributes)
Simple search returns all entries attributes matching any of
those specified (OR)
|
void |
removeGroupMember(ICS ics,
IName group,
IName member)
Remove a user from a group.
|
void |
replaceAttrs(ICS ics,
IName dn,
Attributes attributes)
Replace the existing attribute value(s) with the specified
value(s).
|
addAttrs, children, deleteAttrs, doGroupSearch, doUserSearch, getGroupName, getID, getRequiredColumn, getSpecialAtts, getSystemUserAttrs, groupHierarchicalMembers, groupHierarchicalMemberships, listGroups, listGroups, listUsers, restoreVar, setVar, verifyIListclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgroupHierarchicalMembers, groupHierarchicalMemberships, listGroups, listGroups, listUserspublic PluginDir(ICS ics)
public PluginDir(ICS ics, boolean bEditAttributes)
public void create(ICS ics, IName entry, Attributes attributes) throws DirectoryException
IDircreate in interface IDircreate in class CSDirentry - Distinguished name of entry to be created.attributes - Attribute(s) to create for this entry. If
null, creates entry with no attributes.DirectoryExceptionpublic void delete(ICS ics, IName dn) throws DirectoryException
IDirdelete in interface IDirdelete in class CSDirdn - Distinguished name of entry to be deleted.DirectoryExceptionpublic Collection andSearch(ICS ics, Attributes matchingAttributes) throws DirectoryException
IDirandSearch in interface IDirandSearch in class CSDirmatchingAttributes - The name value pairs to matchDirectoryExceptionpublic Collection andSearch(ICS ics, IName parent, Attributes matchingAttributes) throws DirectoryException
IDirandSearch in interface IDirandSearch in class CSDirparent - The entry under which to searchmatchingAttributes - The name value pairs to matchDirectoryExceptionpublic Collection orSearch(ICS ics, Attributes matchingAttributes) throws DirectoryException
IDirorSearch in interface IDirorSearch in class CSDirmatchingAttributes - The name value pairs to matchDirectoryExceptionpublic Collection orSearch(ICS ics, IName parent, Attributes matchingAttributes) throws DirectoryException
IDirorSearch in interface IDirorSearch in class CSDirparent - The entry under which to searchmatchingAttributes - The name value pairs to matchDirectoryExceptionpublic void addAttrs(ICS ics, IName dn, Attributes attributes) throws DirectoryException
IDiraddAttrs in interface IDiraddAttrs in class CSDirdn - The distinguished name of the entry to which
attributes are added.attributes - Attributes to be added.DirectoryExceptionpublic void replaceAttrs(ICS ics, IName dn, Attributes attributes) throws DirectoryException
IDirreplaceAttrs in interface IDirreplaceAttrs in class CSDirdn - The distinguished name of the entry for which
attributes are being replaced.attributes - Attributes to be replaced.DirectoryExceptionpublic void deleteAttrs(ICS ics, IName dn, Attributes attributes) throws DirectoryException
IDirdeleteAttrs in interface IDirdeleteAttrs in class CSDirattributes - Attributes to be removed.DirectoryExceptionpublic void addGroupMember(ICS ics, IName group, IName member) throws DirectoryException
IUserDiraddGroupMember in interface IUserDiraddGroupMember in class CSDirics - The current ICS contextgroup - The distinguished name of the group.member - The distinguished name of the user.DirectoryException - If there is an error.public void removeGroupMember(ICS ics, IName group, IName member) throws DirectoryException
IUserDirremoveGroupMember in interface IUserDirremoveGroupMember in class CSDirics - The current ICS contextgroup - The distinguished name of the group.member - The distinguished name of the user.DirectoryException - If there is an error.public Collection listUsers(ICS ics) throws DirectoryException
IUserDirlistUsers in interface IUserDirlistUsers in class CSDirics - The current ICS contextDirectoryException - If there is an error.public Collection groupMembers(ICS ics, IName group) throws DirectoryException
IUserDirgroupMembers in interface IUserDirgroupMembers in class CSDirics - The current ICS contextgroup - The distinguished name of the group.
If the common name is used and is not unique, the
Properties.groupParent property is used to distinguish
the name.DirectoryException - If there is an error.public Attributes getAttrs(ICS ics, IName dn, String[] attrIds) throws DirectoryException
IDirgetAttrs in interface IDirgetAttrs in class CSDirdn - The distinguished name of the entry for which
attributes are being retrieved.attrIds - The identifiers of the attributes to
retrieve. null indicates that all attributes should be
retrieved; an empty array indicates that none should be
retrieved.DirectoryExceptionpublic Collection groupMemberships(ICS ics, IName dn) throws DirectoryException
IUserDirgroupMemberships in interface IUserDirgroupMemberships in class CSDirics - The current ICS contextdn - The distinguished name of the entry.
If the common name is used and is not unique, the
Properties.groupParent property is used to distinguish
the name.DirectoryException - If there is an error.protected String INameToPluginID(ICS ics, IName dn) throws DirectoryException
DirectoryException