WhiteSource provides an open source security and license compliance management platform for organizations to manage their open source assets (see https://www.whitesourcesoftware.com/). You can protect access to WhiteSource by integrating WhiteSource with Identity as a Service. Once integrated, users can use single sign-on to log in to their WhiteSource account through Identity as a Service.
Note: This integration was tested using Identity as a Service version 5.11 and Whitesource version 20.8.2.3.Other versions of WhiteSource may require integration and configuration steps that differ from those documented in this procedure. For other versions of WhiteSource, this integration guide may be used as an initial approach for integrating WhiteSource. In the event of other issues, contact support@entrust.com for assistance.
To integrate WhiteSource with Identity as a Service, you must do the following:
Download the WhiteSource metadata file. You use this file when you Add WhiteSource to Identity as a Service.
Log in to WhiteSource.
Under WhiteSource Documentation, click go to WhiteSource SAML 2.0 Integration.
Click SAML Configuration in Your Organization's IDP. The SAML Configuration in Your Organization's IDP page appears.
Copy the Sample Metadata for WhiteSource and paste it into a text editor such as Notepad.
Replace Location="https://saas.whitesourcesoftware.com/saml/SSO"
with
Location="https://<Base URL>/saml/SSO"
Save the metadata file as whitesource_metadata.xml. You need to upload this in Step 2: Add Whitesource to Identity as a Service.
Add WhiteSource as an application to Identity as a Service
Log into your Identity as a Service administrator account.
Click
> Security > Applications. The Applications Lists page appears.
Click Add. The Select an Application Template page appears.
Do one of the following:
Select SAML Cloud Integrations from the search drop-down list and scroll to find the application you want to add to IDaaS.
- or -
In the Search bar, enter a search option to filter for the application you want to add to IDaaS.
Click WhiteSource. The Add WhiteSource page appears.
Enter an Application Name.
Enter an Application Description.
Optional. Add a custom application logo.
Click
next to Application Logo. The Upload Logo dialog box appears.
Click
to select an image file to upload.
Browse to select your file and click Open. The Upload Logo dialog box reappears showing your selected image.
If required, resize your image.
Click OK.
Select the Authentication Flow that appears to users during login.
Click Next. The General page appears.
Click
to the Upload Metadata XML and browse to the location of the metadata file you downloaded. The Metadata Configuration dialog box appears.
If required, click Merge with existing values to merge new values with existing values for Alternative Assertion Consumer Services URLs and SAML attribute names.
Click Save.
Optional. Enter the SAML Username Parameter Name used to identity the user ID being requested for authentication. The user ID can then be passed as a parameter, for example, Username=jdoe. Alternately, if the SAML username is NameID, the SAML Request XML NameID element value is used to the identify the IDaaS userID.
Enter the SAML Session Timeout to the time when the SAML Assertion times out. The maximum is 720 minutes.
Enter the Max Authentication Age (seconds) to set the maximum amount of time that can elapse before a user is required to reauthenticate during a new login attempt. This applies for both SP-initiated and IDP-initiated login. Set this field to -1 to disable this feature.
From the SAML NameID Attribute drop-down list, select Email.
Select the SAML Signing Certificate from the drop-down list.
Deselect Enable Go Back Button if you do not want users to be able to go back to the Whitesource login page to log in.
Select Show Default Assertion Consumer URL Service in the My Profile. When selected, the Default Assertion Consumer URL appears in a user's My Profile page in addition to relay states and Alternative Assertion Consumer URLs.
Optional. Add Alternative Assertion Consumer Service URLs, as follows:
Click Add.
Enter a Name.
Enter a URL Value.
Select Show in My Profile to display the Alternative Consumer Service URL in a user's My profile page.
Optional. Add an Application Logo.
Click Add.
Repeat these steps to add more Alternative Assertion Consumer Service URLs.
Click Submit.
Download the Metadata file from Identity as a Service
In Identity as a Service, click
> Security > Applications. The Applications List page appears.
Do one of the following:
Click
next to the application you are integrating with Identity as a Service.
–or–
Click
next to the application you are integrating with Identity as a Service and select SAML IDP Metadata.
The SAML Application Metadata dialog box appears.
Select the certificate to include in the SAML IDP Metadata file from the drop-down list.
If applicable, Select the domain to include in the SAML IDP Metadata file from the drop-down list.
Enter the Lifetime, in days, for the SAML IDP Metadata file. The value must be between 2 and 730.
Do one of the following, as required:
Copy the Public Endpoint to paste into your SAML application being used Identity Provider authentication.
Click Download.
Note: If you are using multiple domains, you must download each domain's metadata file separately because the values in the metadata file vary for each domain.
Open the file in a text editor, such as Notepad.
Remove the line <?xml version="1.0" encoding="UTF-8"?>.
Save the file.
Copy the SAML Configuration from Identity as a Service
Log into your Identity as a Service administrator account.
Click
> Security > Applications. The Applications Lists page appears.
Under SAML Cloud Integrations, click SAML Configuration. The SAML Configuration dialog box appears.
This dialog box contains information you need to configure your SAML application for Identity as a Service authentication.
Do one of the following:
Leave this dialog box open to reference later in this procedure.
Copy the Entity ID, Single Sign-on URL, and Single Logout URL to a text file and save it to reference later in this procedure.
Note: Depending on the integration you are performing, you may not need all three of these SAML configuration values.
Log in to WhiteSource.
Click Organizations and select your organization from the drop-down list.
Click Admin.
Under Integration, click SAML Integration. The SAML Integration page appears.
In the SAML Entity ID field, paste the Entity ID you copied in Step 5: Copy the SAML Configuration from Identity as a Service.
Click Metadata file.
Browse to select the metadata file you downloaded in Step 4: Download the metadata file from Identity as a Service.
Click
Update.
Step 7: Test the integrationStep 7: Test the integration
Testing Service Provider Login
Open a Web browser and enter the URL for your WhiteSource account. You are directed to Identity as a Service.
Enter your WhiteSource account User ID and click Next.
Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to WhiteSource.
Testing Identity as a Service redirect log in
Log in to your Identity as a Service account.
Go to your My Profile page if you are not already there.
Under Applications, click WhiteSource .
Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to WhiteSource.