
Documentation for Crowd 1.3. Documentation for other versions of Crowd is available too.
When you map multiple directories to an application, you also need to define the directory order. This is important in case the same user exists in multiple directories. When a user attempts to access an application, Crowd will search the directories in the order you specified, and will use the credentials (password, etc) of the first occurrence of the user to validate the login attempt (see diagram below).
To specify the directory order,
Screenshot: 'Application---Mapped Directories'
How it works
Let's assume that JIRA has been set up as a Crowd application, and has been mapped to two directories, 'Partners' and 'Customers', in that order (as shown in the above screenshot).
Here is what happens when a user attempts to log in to JIRA:
When granting the user access to an application, Crowd amalgamates the group memberships in the directories, as described in 4.07 Editing a User's Group and Role Membership.