
Documentation for Crowd 2.0.x. Documentation for other versions of Crowd is available too.
This page provides details of Crowd's behaviour when there is more than one directory mapped to an application.
Note: This information is relevant to only those configurations that have duplicate usernames across directories and multiple directories mapped to a single application. In most cases, you do not need to know Crowd's behaviour to the level described on this page.
In summary: Most operations execute in an iterative manner across all directories assigned to an application.
The table below describes the behaviour of the individual operations.
操作 |
Behaviour |
|---|---|
findUserByName, findGroupByName |
Finds the first user/group by matching the desired name in the ordered list of directories assigned to the application. The match is case insensitive. |
authenticate |
Authenticates against the user returned by findUserByName. |
addUser, addGroup |
Adds the user/group to all directories mapped to the application where the application has permission to add the entity. |
updateUser, updateGroup, removeUser, removeGroup |
Updates/removes the user/group in all directories mapped to the application in which the entity exists and where the application has permission to update/remove the entity. |
searchUsers, searchGroups |
Finds the users/groups matching the search criteria by searching all directories mapped to the application. Returns an amalgamated result. |
findUserMembersOfGroup |
Finds the user members of the specific group in all directories mapped to the application. Returns an amalgamated result. |
findGroupMembershipsOfUser |
Finds the group memberships of the specified user in all directories mapped to the application. Returns an amalgamated result. |
isUserGroupMember |
Determines if the user is a member of the group in any of the directories mapped to the application. |
addUserToGroup, removeUserFromGroup |
Adds/removes the user to/from the group in any of the directories mapped to the application in which both the user and group exist, and where the application has the permissions to update the group. |
Mapping a Directory to an Application
Specifying the Directory Order for an Application