| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
aclColumn |
protected static java.lang.String |
CLASS_ |
protected static char |
CLOSE_PAREN |
protected static char |
comma |
protected static char |
correlation |
protected static char |
dot |
protected static java.lang.String |
idColumn |
protected static java.lang.String |
nameColumn |
protected static char |
OPEN_PAREN |
protected static java.lang.String |
passwordColumn |
protected static java.lang.String |
queryAll |
protected static java.lang.String |
urlValueColumn |
protected static java.lang.String |
usernameColumn |
protected static java.lang.String |
valueColumn |
protected static char |
whereAll |
| Constructor and Description |
|---|
CSDir(COM.FutureTense.Interfaces.ICS ics) |
CSDir(COM.FutureTense.Interfaces.ICS ics,
IDir idir) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
Add attributes to an existing entry.
|
void |
addAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes,
java.lang.Object oBatchContext) |
void |
addGroupMember(COM.FutureTense.Interfaces.ICS ics,
IName group,
IName member)
Add a user to a group.
|
java.util.Collection |
andSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes)
Simple search returns all entries with matching attributes
(AND); searches under Properties.baseDN
|
java.util.Collection |
andSearch(COM.FutureTense.Interfaces.ICS ics,
IName parent,
Attributes matchingAttributes)
Simple search returns all entries with matching attributes
(AND)
|
java.util.Collection |
children(COM.FutureTense.Interfaces.ICS ics,
IName dn)
Retrieves the immediate child entries of the specified parent.
|
void |
create(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
Create an object.
|
void |
delete(COM.FutureTense.Interfaces.ICS ics,
IName dn)
Delete the specified entry.
|
void |
deleteAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
Delete the specified attributes from the specified entry.
|
void |
deleteAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes,
java.lang.Object oBatchContext) |
protected java.util.Collection |
doGroupSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes,
boolean bAnd) |
protected java.util.Collection |
doUserSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes,
boolean bAnd) |
Attributes |
getAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
java.lang.String[] attrIds)
Retrieve the specified attributes from the specified entry.
|
protected java.lang.String |
getGroupName(COM.FutureTense.Interfaces.ICS ics,
IName dn) |
protected java.lang.String |
getID(COM.FutureTense.Interfaces.ICS ics,
IName dn) |
protected java.lang.String |
getRequiredColumn(COM.FutureTense.Interfaces.ICS ics,
COM.FutureTense.Interfaces.IList list,
java.lang.String colName,
java.lang.String METHOD) |
protected void |
getSpecialAtts(Attributes atts,
COM.FutureTense.Interfaces.ICS ics,
java.lang.String id,
java.lang.String[] attrIds) |
protected Attributes |
getSystemUserAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
java.lang.String[] attrIds) |
java.util.Collection |
groupHierarchicalMembers(COM.FutureTense.Interfaces.ICS ics,
IName dn)
List all user members, direct and inherited, of the specified group.
|
java.util.Collection |
groupHierarchicalMemberships(COM.FutureTense.Interfaces.ICS ics,
IName dn)
List all groups to which the specified entry belongs, directly or inherited.
|
java.util.Collection |
groupMembers(COM.FutureTense.Interfaces.ICS ics,
IName group)
List all direct members (users and groups) of the specified group
|
java.util.Collection |
groupMemberships(COM.FutureTense.Interfaces.ICS ics,
IName dn)
List all groups to which the specified entry directly belongs.
|
java.util.Collection |
listGroups(COM.FutureTense.Interfaces.ICS ics)
Lists all groups (descendants of Properties.groupParent)
|
java.util.Collection |
listGroups(COM.FutureTense.Interfaces.ICS ics,
IName commonAncestor)
Lists all groups descended from a specified node.
|
java.util.Collection |
listUsers(COM.FutureTense.Interfaces.ICS ics)
Lists all users (descendants of Properties.peopleParent)
|
java.util.Collection |
listUsers(COM.FutureTense.Interfaces.ICS ics,
IName commonAncestor)
Lists all users descended from a specified node.
|
java.util.Collection |
orSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes)
Simple search returns all entries with attributes matching any of
those specified (OR); searches under Properties.baseDN
|
java.util.Collection |
orSearch(COM.FutureTense.Interfaces.ICS ics,
IName parent,
Attributes matchingAttributes)
Simple search returns all entries attributes matching any of
those specified (OR)
|
void |
removeGroupMember(COM.FutureTense.Interfaces.ICS ics,
IName group,
IName member)
Remove a user from a group.
|
void |
replaceAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
Replace the existing attribute value(s) with the specified
value(s).
|
protected void |
restoreVar(COM.FutureTense.Interfaces.ICS ics,
java.lang.String varName,
java.lang.String oldValue) |
protected java.lang.String |
setVar(COM.FutureTense.Interfaces.ICS ics,
java.lang.String varName,
java.lang.String newValue) |
protected boolean |
verifyIList(COM.FutureTense.Interfaces.ICS ics,
COM.FutureTense.Interfaces.IList list,
java.lang.String METHOD) |
protected static final java.lang.String CLASS_
protected static final java.lang.String usernameColumn
protected static final java.lang.String passwordColumn
protected static final java.lang.String aclColumn
protected static final java.lang.String idColumn
protected static final java.lang.String nameColumn
protected static final java.lang.String valueColumn
protected static final java.lang.String urlValueColumn
protected static final java.lang.String queryAll
protected static final char comma
protected static final char whereAll
protected static final char correlation
protected static final char dot
protected static final char OPEN_PAREN
protected static final char CLOSE_PAREN
public CSDir(COM.FutureTense.Interfaces.ICS ics)
public CSDir(COM.FutureTense.Interfaces.ICS ics,
IDir idir)
public void create(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
throws DirectoryException
IDircreate in interface IDirdn - 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(COM.FutureTense.Interfaces.ICS ics,
IName dn)
throws DirectoryException
IDirdelete in interface IDirdn - Distinguished name of entry to be deleted.DirectoryExceptionpublic java.util.Collection andSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes)
throws DirectoryException
IDirandSearch in interface IDirmatchingAttributes - The name value pairs to matchDirectoryExceptionpublic java.util.Collection andSearch(COM.FutureTense.Interfaces.ICS ics,
IName parent,
Attributes matchingAttributes)
throws DirectoryException
IDirandSearch in interface IDirparent - The entry under which to searchmatchingAttributes - The name value pairs to matchDirectoryExceptionpublic java.util.Collection orSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes)
throws DirectoryException
IDirorSearch in interface IDirmatchingAttributes - The name value pairs to matchDirectoryExceptionpublic java.util.Collection orSearch(COM.FutureTense.Interfaces.ICS ics,
IName parent,
Attributes matchingAttributes)
throws DirectoryException
IDirorSearch in interface IDirparent - The entry under which to searchmatchingAttributes - The name value pairs to matchDirectoryExceptionprotected java.util.Collection doGroupSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes,
boolean bAnd)
throws DirectoryException
DirectoryExceptionprotected java.util.Collection doUserSearch(COM.FutureTense.Interfaces.ICS ics,
Attributes matchingAttributes,
boolean bAnd)
throws DirectoryException
DirectoryExceptionpublic java.util.Collection listUsers(COM.FutureTense.Interfaces.ICS ics)
throws DirectoryException
IUserDirlistUsers in interface IUserDirics - The current ICS contextDirectoryException - If there is an error.public java.util.Collection listUsers(COM.FutureTense.Interfaces.ICS ics,
IName commonAncestor)
throws DirectoryException
IUserDirlistUsers in interface IUserDirics - The current ICS contextcommonAncestor - The node from which to list descendant usersDirectoryException - If there is an error.public java.util.Collection listGroups(COM.FutureTense.Interfaces.ICS ics)
throws DirectoryException
IUserDirlistGroups in interface IUserDirics - The current ICS contextDirectoryException - If there is an error.public java.util.Collection listGroups(COM.FutureTense.Interfaces.ICS ics,
IName commonAncestor)
throws DirectoryException
IUserDirlistGroups in interface IUserDirics - The current ICS contextcommonAncestor - The node from which to list descendant groupsDirectoryException - If there is an error.public java.util.Collection children(COM.FutureTense.Interfaces.ICS ics,
IName dn)
throws DirectoryException
IDirchildren in interface IDirdn - The distinguished name of the entry for which
children are to be found.DirectoryExceptionpublic void addAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
throws DirectoryException
IDiraddAttrs in interface IDirdn - The distinguished name of the entry to which
attributes are added.attributes - Attributes to be added.DirectoryExceptionpublic void addAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes,
java.lang.Object oBatchContext)
throws DirectoryException
DirectoryExceptionpublic void replaceAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
throws DirectoryException
IDirreplaceAttrs in interface IDirdn - The distinguished name of the entry for which
attributes are being replaced.attributes - Attributes to be replaced.DirectoryExceptionpublic void deleteAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes)
throws DirectoryException
IDirdeleteAttrs in interface IDirattributes - Attributes to be removed.DirectoryExceptionpublic void deleteAttrs(COM.FutureTense.Interfaces.ICS ics,
IName dn,
Attributes attributes,
java.lang.Object oBatchContext)
throws DirectoryException
DirectoryExceptionpublic Attributes getAttrs(COM.FutureTense.Interfaces.ICS ics, IName dn, java.lang.String[] attrIds) throws DirectoryException
IDirgetAttrs in interface IDirdn - 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.DirectoryExceptionprotected Attributes getSystemUserAttrs(COM.FutureTense.Interfaces.ICS ics, IName dn, java.lang.String[] attrIds) throws DirectoryException
DirectoryExceptionprotected void getSpecialAtts(Attributes atts, COM.FutureTense.Interfaces.ICS ics, java.lang.String id, java.lang.String[] attrIds) throws DirectoryException
DirectoryExceptionpublic void addGroupMember(COM.FutureTense.Interfaces.ICS ics,
IName group,
IName member)
throws DirectoryException
IUserDiraddGroupMember in interface IUserDirics - 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(COM.FutureTense.Interfaces.ICS ics,
IName group,
IName member)
throws DirectoryException
IUserDirremoveGroupMember in interface IUserDirics - The current ICS contextgroup - The distinguished name of the group.member - The distinguished name of the user.DirectoryException - If there is an error.public java.util.Collection groupMembers(COM.FutureTense.Interfaces.ICS ics,
IName group)
throws DirectoryException
IUserDirgroupMembers in interface IUserDirics - 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 java.util.Collection groupHierarchicalMembers(COM.FutureTense.Interfaces.ICS ics,
IName dn)
throws DirectoryException
IUserDirgroupHierarchicalMembers in interface IUserDirics - The current ICS contextdn - 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 java.util.Collection groupMemberships(COM.FutureTense.Interfaces.ICS ics,
IName dn)
throws DirectoryException
IUserDirgroupMemberships in interface IUserDirics - 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.public java.util.Collection groupHierarchicalMemberships(COM.FutureTense.Interfaces.ICS ics,
IName dn)
throws DirectoryException
IUserDirgroupHierarchicalMemberships in interface IUserDirics - 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 java.lang.String getID(COM.FutureTense.Interfaces.ICS ics,
IName dn)
throws DirectoryException
DirectoryExceptionprotected java.lang.String getGroupName(COM.FutureTense.Interfaces.ICS ics,
IName dn)
throws DirectoryException
DirectoryExceptionprotected java.lang.String setVar(COM.FutureTense.Interfaces.ICS ics,
java.lang.String varName,
java.lang.String newValue)
protected void restoreVar(COM.FutureTense.Interfaces.ICS ics,
java.lang.String varName,
java.lang.String oldValue)
protected boolean verifyIList(COM.FutureTense.Interfaces.ICS ics,
COM.FutureTense.Interfaces.IList list,
java.lang.String METHOD)
throws DirectoryException
DirectoryExceptionprotected java.lang.String getRequiredColumn(COM.FutureTense.Interfaces.ICS ics,
COM.FutureTense.Interfaces.IList list,
java.lang.String colName,
java.lang.String METHOD)
throws DirectoryException
DirectoryException