To connect Nexus to Atlassian’s Crowd, you will need to configure Nexus as an application in Crowd. To do this, login to Crowd as a user with Administrative rights, and click on the Applications tab. Once you click on this tab, you should see two options under the Applications tab: Search Applications and Add Application. Click on Add Application to display the form shown in Figure 19.8, “Creating a Nexus Crowd Application”, and create a new application with the following values in the Details tab of the Add Application form:
- Application Type: Generic Application
- Name: nexus
- Description: Sonatype Nexus Professional
Choose a password for this application. Nexus will use this password to authenticate with the Crowd server. Click on the Next button.
Clicking on Next will advance the form to the Connection tab shown in Figure 19.9, “Creating a Nexus Crowd Application Connection”. In this tab you need to supply the URL Nexus and the remote IP address for Nexus. Figure 19.9, “Creating a Nexus Crowd Application Connection”, shows the Connection form configured for a local instance of Nexus. If you were configuring Crowd and Nexus in a production environment, you would supply the URL that users would use to load Nexus in a web browser and you would supply the IP address that Nexus will be connecting from. Once you have completed the Connection form, click on Next to advance to the Directories form.
Clicking on Next advances to the Directories form shown in Figure 19.10, “Creating a Nexus Crowd Application Directories”. In this example, the Nexus application in Crowd is going to use the default "User Management" directory. Click on the Next button to advance to the "Authorisation" form.
Clicking on the Next button advances to the "Authorisation" form shown in Figure 19.11, “Creating a Nexus Crowd Application Authorization”. If any of the directories selected in the previous form contain groups, each group is displayed on this form next to a checkbox. You can select "Allow all users" for a directory, or you can select specific groups which are allowed to authenticate to Crowd through Nexus. This option would be used if you wanted to limit Nexus access to specific subgroups within a larger Crowd directory. If your entire organization is stored in a single Crowd directory, you may want to limit Nexus access to a group that contains only Developers and Administrators.