Authentication

Control Hub can authenticate users using the built-in Control Hub authentication method or a Security Assertion Markup Language (SAML) identity provider.

Each authentication method requires that users have a Control Hub user account. To log in to Control Hub and to all Data Collectors registered with the organization, users enter the user ID for their Control Hub account using the following format:

<ID>@<organization ID>

If the organization uses Control Hub authentication, Control Hub requests the user's password, and then authenticates the user using their Control Hub credentials. The user is then successfully logged in to Control Hub or a Data Collector registered with the organization.

If the organization uses SAML authentication, Control Hub sends the authentication request to the SAML identity provider (IdP). If the user does not have an existing session, the SAML IdP authenticates the user using the credentials stored in the IdP. The IdP returns a SAML assertion back to Control Hub confirming that the user is authenticated. If the user does have an existing session, the IdP simply returns a SAML assertion back to Control Hub. When Control Hub receives a SAML assertion, it verifies that the authenticated user is a registered Control Hub user and then grants the user access to Control Hub or a Data Collector registered with the organization.

Control Hub Authentication

Control Hub authenticates user credentials using the username and password stored in Control Hub. Control Hub uses single sign on authentication so that users can log in to Control Hub and registered Data Collectors using a single Control Hub user account.

Control Hub authentication is the default authentication method. To use Control Hub authentication, simply create a Control Hub user account for each user that needs to access Control Hub or a registered Data Collector.

SAML Authentication

If your company uses a SAML IdP, you can use the IdP to authenticate Control Hub users.

SAML authenticates a user using the credentials stored in the IdP. SAML uses single sign on authentication so that users can log in to Control Hub and registered Data Collectors using the same credentials that they use for other web applications within your corporate network.

SAML provides single sign on for web applications. SAML single sign on transfers the user’s identity from one place (the identity provider or IdP) to another (the service provider or SP). Control Hub acts as the SAML service provider that works with the SAML IdP that you specify. The IdP can be in the cloud or on-premises. As the service provider, Control Hub does not directly access the IdP. Instead, all communication between Control Hub and the IdP is managed by the web browser.

When SAML authentication is enabled, users still require a Control Hub user account to log in to Control Hub or a registered Data Collector. After users enter their user account name, Control Hub sends the authentication request to the SAML IdP.
Important: SAML authentication provides single sign on for web applications. As a result, the Data Collector command line interface cannot use SAML authentication. If you enable SAML authentication, only users with the Organization Administrator role can use the Data Collector command line interface.

Control Hub SAML integration supports SAML 2.0 and supports SAML sessions initiated by the service provider only. It does not support sessions initiated by the identity provider.

As a service provider, Control Hub sends SAML AuthnRequest messages to the IdP Single Sign On (SSO) endpoint using SAML HTTP-Redirect and HTTP-POST bindings. The Assertion Consumer Service (ACS) endpoint used by Control Hub supports SAML HTTP-POST binding.

Signed Messages and Assertions

Control Hub supports signed SAML messages and SAML assertions that are signed and encrypted. If the IdP is configured to use SAML message signing and SAML assertion signing and encryption, then Control Hub enforces them also.

SAML message signing is verified using the key information defined for the organization in Control Hub. Any key information that exists in the message is ignored.

By default, each Control Hub organization is configured to use SAML message signing and SAML assertion signing and encryption. If the IdP is not configured to use these, then you must disable message signing and assertion signing and encryption when you configure SAML authentication for your organization.

Organization Administrators and SAML Authentication

When SAML authentication is enabled, users with the Organization Administrator role can be authenticated by the SAML IdP using IdP credentials or by Control Hub using Control Hub credentials.

In most cases, users with the Organization Administrator role will log in just like any other user in the organization and will be authenticated by the SAML IdP.

However, if the IdP is incorrectly configured within Control Hub, users cannot log in using SAML authentication. Users with the Organization Administrator role can use their Control Hub credentials to log in to an administrative login page to re-enable access to Control Hub.

As an organization administrator, use the following URL to log in to Control Hub using your Control Hub credentials:
https://cloud.streamsets.com/security/dpmlogin

In the login page, enter your user ID and password for your Control Hub account.

If a Data Collector runs in disconnected mode, users cannot log in to the Data Collector using their SAML credentials. Only users with the Organization Administrator role can use their Control Hub credentials to directly log in to the disconnected Data Collector.

Enabling SAML Authentication

The process that you use to enable SAML authentication depends on the SAML IdP that you use. Refer to the IdP documentation for the detailed steps.

Complete the following general steps to enable SAML authentication:
  1. Register Control Hub as a service provider with the IdP of your choice.
  2. Within Control Hub, configure SAML authentication for your organization.
  3. Within Control Hub, map Control Hub user accounts to IdP user accounts.

Step 1. Register Control Hub as a Service Provider

To register Control Hub as a service provider with an IdP, download the Control Hub SAML metadata and keys, and then use that information to register Control Hub with the IdP.

  1. In the Control Hub Navigation panel, click Administration > Organizations.
  2. Hover over the organization name, and then click the Configuration icon: .
    The Organization Configuration window displays.
  3. Click the SAML IdP Metadata tab.
  4. Locate the Control Hub SAML Downloads section in the bottom of the window.

  5. Click the following links to download the Control Hub SAML metadata and keys:
    • Metadata
    • Signature Public Key
    • Encryption Public Key

    The information is saved to your default downloads directory. The metadata is saved as an XML file, while the keys are saved as PEM files.

  6. Log in to the IdP and use the required method for that provider to register Control Hub as a service provider.
    For the required steps, see the IdP documentation. If using Microsoft Azure Active Directory (AD), OneLogin, Salesforce, or SSOCircle as the IdP, configure Control Hub as an application to register it as a service provider. If using Salesforce, be sure to grant the corresponding Salesforce users permission to access the Control Hub application in Salesforce.

    For some IdPs, you can simply upload the Control Hub SAML metadata and keys. For other providers, you must configure individual properties such as the service provider Entity ID or the Assertion Consumer Service URL. View the downloaded Control Hub SAML metadata file to find the values of these properties for Control Hub.

    For example, the service provider Entity ID for Control Hub is defined in the entityID attribute of the XML file as follows:
    <md:EntityDescriptor entityID="uri:https://cloud.streamsets.com/security" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata">
  7. Within the IdP, download the IdP metadata XML file.
    For the required steps, see the IdP documentation.

    You'll use the IdP metadata XML file in our next step.

Step 2. Configure SAML Authentication for the Organization

To configure SAML authentication for the organization, upload the IdP metadata XML file to the organization and configure individual properties as required by the IdP. As a last step, enable SAML integration for the organization.

  1. In the Control Hub Navigation panel, click Administration > Organizations.
  2. Hover over the organization name, and then click the Configuration icon: .
    The Organization Configuration window displays.
  3. In the SAML IdP Metadata tab, upload the IdP metadata XML file that you downloaded from the IdP.

    Uploading the IdP metadata XML file configures most of the required properties that Control Hub needs to connect to the IdP. However, for some IdPs, you must configure individual properties in the SAML IdP Options tab.

  4. Click the SAML IdP Options tab and review the IdP documentation for the required properties.

    For example, if using one of the following IdPs, you might need to make the following configurations on the SAML IdP Options tab:
    IdP Required Configurations
    Azure Active Directory (AD)

    or

    Active Directory Federation Services (ADFS)

    • Set the IdP AuthnContext Class property to: urn:oasis:names:tc:SAML:2.0:ac:classes:Password
    • Set the Assertion Element to Extract UserName From property to: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
    • Set the IdP AuthnContext Comparison property to: exact
    • Clear the Wants SAML Assertions Encrypted property.
    • Clear the Wants SAML Messages Signed property.
    OneLogin Clear the Wants SAML Assertions Signed property.
    SailPoint IdentityNow Clear the Wants SAML Assertions Encrypted property.
    Salesforce None
    SSOCircle
    • Clear the Wants SAML Assertions Encrypted property.
    • Clear the Wants SAML Messages Signed property.
    Note: When you use both tabs to configure the IdP, the properties configured on the options tab override any of the metadata uploaded to the metadata tab.
  5. Click Save.
  6. Click the organization name to display the organization details.
  7. Select the SAML Integration Enabled property.

    Tip: If you need to temporarily disable SAML authentication for the organization, you can simply clear this property.
  8. Click Save.

Step 3. Map Control Hub Users to Identity Provider Users

When you enable SAML authentication, users still require a Control Hub user account to log in to Control Hub or a registered Data Collector. You must map each Control Hub user account to a SAML IdP user account.

Note: Control Hub user accounts require a password. However, when you enable SAML authentication, the Control Hub passwords are not used to authenticate the user. Instead, the SAML IdP authenticates the user.
  1. In the Navigation panel, click Administration > Users.
  2. Click the Add User icon to create a new user. Or, click the name of an existing user account to display the account details.
  3. In the SAML User Name property, enter the IdP user account to map to this Control Hub user account.
    Default is the email address associated with the user account:

  4. Click Save.
  5. Repeat for each user account.

Troubleshooting

Use the following tips for help with SAML authentication:

How do I review error messages to figure out why a user cannot log in using SAML authentication?
For security reasons, SAML messages include minimal information about login failures. As a result, to troubleshoot SAML login issues, you must review the logs or consoles of both the SAML identity provider (IdP) and Control Hub.
Control Hub reports SAML issues as failed logins in the Login Audit. The audit entries include the error code produced by the SAML IdP or Control Hub, and a reason for the failure.
To access the login audit entries, click Administration > Login Audit in the Navigation panel. Select one of the failed logins to view the details about the failure.
After we enabled SAML authentication for our organization, all users who try to log into Control Hub receive a 500 internal server error - even our organization administrator.
If the IdP is incorrectly configured within Control Hub, users will not be able to log in using SAML authentication. However, users with the Organization Administrator role can use their Control Hub credentials to log into an administrative login page to re-enable access to Control Hub.
As an organization administrator, use the following URL to log in to Control Hub using your Control Hub credentials:
https://cloud.streamsets.com/security/dpmlogin

In the login page, enter your user ID and password for your Control Hub account.

After logging in, review and correct the IdP configurations made for the organization.